DirectoryAssert
Summary description for DirectoryAssert
protected DirectoryAssert()
We don't actually want any instances of this object, but some people
like to inherit from it to add other static methods. Hence, the
protected constructor disallows any instances of this object.
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 have the same value byte for byte.
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 have the same value byte for byte.
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 have the same value byte for byte.
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 have the same value byte for byte.
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 have the same value byte for byte.
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 have the same value byte for byte.
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 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 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.
The Equals method throws an AssertionException. This is done
to make sure there is no mistake by calling this function.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is empty. If it is not empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
Asserts that the directory is not empty. If it is empty
an AssertionException is thrown.
public static void IsNotWithin(DirectoryInfo directory, DirectoryInfo actual, string message, object[] args)
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
Asserts that path does not contain actual as a subdirectory or
an AssertionException is thrown.
public static void IsWithin(DirectoryInfo directory, DirectoryInfo actual, string message, object[] args)
Asserts that path contains actual as a subdirectory or
an AssertionException is thrown.
Asserts that path contains actual as a subdirectory or
an AssertionException is thrown.
Asserts that path contains actual as a subdirectory or
an AssertionException is thrown.
Asserts that path contains actual as a subdirectory or
an AssertionException is thrown.
Asserts that path contains actual as a subdirectory or
an AssertionException is thrown.
Asserts that path contains actual as a subdirectory or
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.