FileAssert
Asserts on Files
Verifies that two Streams are equal. Two Streams 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 Streams are equal. Two Streams 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 files are equal. Two files 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 files are equal. Two files 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 files are equal. Two files 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 files are equal. Two files 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.
Asserts that two Streams are not equal. If they are equal
an AssertionException is thrown.
Asserts that two Streams are not equal. If they are equal
an AssertionException is thrown.
Asserts that two files are not equal. If they are equal
an AssertionException is thrown.
Asserts that two files are not equal. If they are equal
an AssertionException is thrown.
Asserts that two files are not equal. If they are equal
an AssertionException is thrown.
Asserts that two files are not equal. If they are equal
an AssertionException is thrown.
Asserts that the file does not exist. If it does exist
an AssertionException is thrown.
Asserts that the file does not exist. If it does exist
an AssertionException is thrown.
Asserts that the file does not exist. If it does exist
an AssertionException is thrown.
Asserts that the file does not exist. If it does exist
an AssertionException is thrown.
DO NOT USE! Use FileAssert.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 file exists. If it does not exist
an AssertionException is thrown.
Asserts that the file exists. If it does not exist
an AssertionException is thrown.
Asserts that the file exists. If it does not exist
an AssertionException is thrown.
Asserts that the file 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.