IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Asserts on Directories More...
Static Public Member Functions | |
static new bool | Equals (object a, object b) |
The Equals method throws an AssertionException. This is done to make sure there is no mistake by calling this function. More... | |
static new void | ReferenceEquals (object a, object b) |
override the default ReferenceEquals to throw an AssertionException. This implementation makes sure there is no mistake in calling this function as part of Assert. More... | |
static void | AreEqual (DirectoryInfo expected, DirectoryInfo actual, string message, params 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. More... | |
static void | AreEqual (DirectoryInfo expected, DirectoryInfo actual) |
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. More... | |
static void | AreNotEqual (DirectoryInfo expected, DirectoryInfo actual, string message, params object[] args) |
Asserts that two directories are not equal. If they are equal an AssertionException is thrown. More... | |
static void | AreNotEqual (DirectoryInfo expected, DirectoryInfo actual) |
Asserts that two directories are not equal. If they are equal an AssertionException is thrown. More... | |
static void | Exists (DirectoryInfo actual, string message, params object[] args) |
Asserts that the directory exists. If it does not exist an AssertionException is thrown. More... | |
static void | Exists (DirectoryInfo actual) |
Asserts that the directory exists. If it does not exist an AssertionException is thrown. More... | |
static void | Exists (string actual, string message, params object[] args) |
Asserts that the directory exists. If it does not exist an AssertionException is thrown. More... | |
static void | Exists (string actual) |
Asserts that the directory exists. If it does not exist an AssertionException is thrown. More... | |
static void | DoesNotExist (DirectoryInfo actual, string message, params object[] args) |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown. More... | |
static void | DoesNotExist (DirectoryInfo actual) |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown. More... | |
static void | DoesNotExist (string actual, string message, params object[] args) |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown. More... | |
static void | DoesNotExist (string actual) |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown. More... | |
Asserts on Directories
|
inlinestatic |
The Equals method throws an AssertionException. This is done to make sure there is no mistake by calling this function.
a | |
b |
|
inlinestatic |
override the default ReferenceEquals to throw an AssertionException. This implementation makes sure there is no mistake in calling this function as part of Assert.
a | |
b |
|
inlinestatic |
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.
expected | A directory containing the value that is expected |
actual | A directory containing the actual value |
message | The message to display if the directories are not equal |
args | Arguments to be used in formatting the message |
Referenced by NUnit.Framework.Assertions.DirectoryAssertTests.AreEqualFailsWithDirectoryInfos(), and NUnit.Framework.Assertions.DirectoryAssertTests.AreEqualPassesWithDirectoryInfos().
|
inlinestatic |
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.
expected | A directory containing the value that is expected |
actual | A directory containing the actual value |
|
inlinestatic |
Asserts that two directories are not equal. If they are equal an AssertionException is thrown.
expected | A directory containing the value that is expected |
actual | A directory containing the actual value |
message | The message to display if directories are not equal |
args | Arguments to be used in formatting the message |
Referenced by NUnit.Framework.Assertions.DirectoryAssertTests.AreNotEqualFailsWithDirectoryInfos(), NUnit.Framework.Assertions.DirectoryAssertTests.AreNotEqualPassesIfActualIsNull(), NUnit.Framework.Assertions.DirectoryAssertTests.AreNotEqualPassesIfExpectedIsNull(), and NUnit.Framework.Assertions.DirectoryAssertTests.AreNotEqualPassesWithDirectoryInfos().
|
inlinestatic |
Asserts that two directories are not equal. If they are equal an AssertionException is thrown.
expected | A directory containing the value that is expected |
actual | A directory containing the actual value |
|
inlinestatic |
Asserts that the directory exists. If it does not exist an AssertionException is thrown.
actual | A directory containing the actual value |
message | The message to display if directories are not equal |
args | Arguments to be used in formatting the message |
Referenced by NUnit.Framework.Assertions.DirectoryAssertTests.ExistsFailsWhenDirectoryInfoDoesNotExist(), NUnit.Framework.Assertions.DirectoryAssertTests.ExistsFailsWhenDirectoryInfoIsNull(), NUnit.Framework.Assertions.DirectoryAssertTests.ExistsFailsWhenStringDoesNotExist(), NUnit.Framework.Assertions.DirectoryAssertTests.ExistsFailsWhenStringIsEmpty(), NUnit.Framework.Assertions.DirectoryAssertTests.ExistsFailsWhenStringIsNull(), NUnit.Framework.Assertions.DirectoryAssertTests.ExistsPassesWhenDirectoryInfoExists(), and NUnit.Framework.Assertions.DirectoryAssertTests.ExistsPassesWhenStringExists().
|
inlinestatic |
Asserts that the directory exists. If it does not exist an AssertionException is thrown.
actual | A directory containing the actual value |
|
inlinestatic |
Asserts that the directory exists. If it does not exist an AssertionException is thrown.
actual | The path to a directory containing the actual value |
message | The message to display if directories are not equal |
args | Arguments to be used in formatting the message |
|
inlinestatic |
Asserts that the directory exists. If it does not exist an AssertionException is thrown.
actual | The path to a directory containing the actual value |
|
inlinestatic |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
actual | A directory containing the actual value |
message | The message to display if directories are not equal |
args | Arguments to be used in formatting the message |
Referenced by NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistFailsWhenDirectoryInfoExists(), NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistFailsWhenDirectoryInfoIsNull(), NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistFailsWhenStringExists(), NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistFailsWhenStringIsEmpty(), NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistFailsWhenStringIsNull(), NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistPassesWhenDirectoryInfoDoesNotExist(), and NUnit.Framework.Assertions.DirectoryAssertTests.DoesNotExistPassesWhenStringDoesNotExist().
|
inlinestatic |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
actual | A directory containing the actual value |
|
inlinestatic |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
actual | The path to a directory containing the actual value |
message | The message to display if directories are not equal |
args | Arguments to be used in formatting the message |
|
inlinestatic |
Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
actual | The path to a directory containing the actual value |