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.
The Equals method throws an AssertionException. 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.
override the default ReferenceEquals to throw an AssertionException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.