FileAssert
Summary description for FileAssert.
protected FileAssert()
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.
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 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.
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 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 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.
The Equals method throws an AssertionException. This is done
to make sure there is no mistake by calling this function.
override the default ReferenceEquals to throw an AssertionException. This
implementation makes sure there is no mistake in calling this function
as part of Assert.