DirectoryAssert
Asserts on Directories
public static void AreEqual(DirectoryInfo expected, DirectoryInfo actual, string message, object[] args)
Verifies that two directories are equal. Two directories are considered
equal if both are null, or if both point to the same directory.
If they are not equal an AssertionException is thrown.
Verifies that two directories are equal. Two directories are considered
equal if both are null, or if both point to the same directory.
If they are not equal an AssertionException is thrown.
public static void AreNotEqual(DirectoryInfo expected, DirectoryInfo actual, string message, object[] args)
Asserts that two directories are not equal. If they are equal
an AssertionException is thrown.
Asserts that two directories are not equal. If they are equal
an AssertionException is thrown.
Asserts that the directory does not exist. If it does exist
an AssertionException is thrown.
Asserts that the directory does not exist. If it does exist
an AssertionException is thrown.
Asserts that the directory does not exist. If it does exist
an AssertionException is thrown.
Asserts that the directory does not exist. If it does exist
an AssertionException is thrown.
DO NOT USE! Use DirectoryAssert.AreEqual(...) instead.
The Equals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.
Asserts that the directory exists. If it does not exist
an AssertionException is thrown.
Asserts that the directory exists. If it does not exist
an AssertionException is thrown.
Asserts that the directory exists. If it does not exist
an AssertionException is thrown.
Asserts that the directory exists. If it does not exist
an AssertionException is thrown.
DO NOT USE!
The ReferenceEquals method throws an InvalidOperationException. This is done
to make sure there is no mistake by calling this function.