C# Класс NUnit.Framework.DirectoryAssert

Summary description for DirectoryAssert
Показать файл Открыть проект

Открытые методы

Метод Описание
AreEqual ( DirectoryInfo expected, DirectoryInfo actual ) : void

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.

AreEqual ( DirectoryInfo expected, DirectoryInfo actual, string message ) : void

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.

AreNotEqual ( DirectoryInfo expected, DirectoryInfo actual ) : void

Asserts that two directories are not equal. If they are equal an AssertionException is thrown.

AreNotEqual ( DirectoryInfo expected, DirectoryInfo actual, string message ) : void

Asserts that two directories are not equal. If they are equal an AssertionException is thrown.

DoesNotExist ( DirectoryInfo actual ) : void

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.

DoesNotExist ( DirectoryInfo actual, string message ) : void

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.

DoesNotExist ( string actual ) : void

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.

DoesNotExist ( string actual, string message ) : void

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.

Exists ( DirectoryInfo actual ) : void

Asserts that the directory exists. If it does not exist an AssertionException is thrown.

Exists ( DirectoryInfo actual, string message ) : void

Asserts that the directory exists. If it does not exist an AssertionException is thrown.

Exists ( string actual ) : void

Asserts that the directory exists. If it does not exist an AssertionException is thrown.

Exists ( string actual, string message ) : void

Asserts that the directory exists. If it does not exist an AssertionException is thrown.

Приватные методы

Метод Описание
Equals ( object a, object b ) : bool
ReferenceEquals ( object a, object b ) : void

Описание методов

AreEqual() статический публичный Метод

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.
static public AreEqual ( DirectoryInfo expected, DirectoryInfo actual ) : void
expected System.IO.DirectoryInfo A directory containing the value that is expected
actual System.IO.DirectoryInfo A directory containing the actual value
Результат void

AreEqual() статический публичный Метод

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.
static public AreEqual ( DirectoryInfo expected, DirectoryInfo actual, string message ) : void
expected System.IO.DirectoryInfo A directory containing the value that is expected
actual System.IO.DirectoryInfo A directory containing the actual value
message string The message to display if the directories are not equal
Результат void

AreNotEqual() статический публичный Метод

Asserts that two directories are not equal. If they are equal an AssertionException is thrown.
static public AreNotEqual ( DirectoryInfo expected, DirectoryInfo actual ) : void
expected System.IO.DirectoryInfo A directory containing the value that is expected
actual System.IO.DirectoryInfo A directory containing the actual value
Результат void

AreNotEqual() статический публичный Метод

Asserts that two directories are not equal. If they are equal an AssertionException is thrown.
static public AreNotEqual ( DirectoryInfo expected, DirectoryInfo actual, string message ) : void
expected System.IO.DirectoryInfo A directory containing the value that is expected
actual System.IO.DirectoryInfo A directory containing the actual value
message string The message to display if directories are not equal
Результат void

DoesNotExist() статический публичный Метод

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
static public DoesNotExist ( DirectoryInfo actual ) : void
actual System.IO.DirectoryInfo A directory containing the actual value
Результат void

DoesNotExist() статический публичный Метод

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
static public DoesNotExist ( DirectoryInfo actual, string message ) : void
actual System.IO.DirectoryInfo A directory containing the actual value
message string The message to display if directories are not equal
Результат void

DoesNotExist() статический публичный Метод

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
static public DoesNotExist ( string actual ) : void
actual string The path to a directory containing the actual value
Результат void

DoesNotExist() статический публичный Метод

Asserts that the directory does not exist. If it does exist an AssertionException is thrown.
static public DoesNotExist ( string actual, string message ) : void
actual string The path to a directory containing the actual value
message string The message to display if directories are not equal
Результат void

Exists() статический публичный Метод

Asserts that the directory exists. If it does not exist an AssertionException is thrown.
static public Exists ( DirectoryInfo actual ) : void
actual System.IO.DirectoryInfo A directory containing the actual value
Результат void

Exists() статический публичный Метод

Asserts that the directory exists. If it does not exist an AssertionException is thrown.
static public Exists ( DirectoryInfo actual, string message ) : void
actual System.IO.DirectoryInfo A directory containing the actual value
message string The message to display if directories are not equal
Результат void

Exists() статический публичный Метод

Asserts that the directory exists. If it does not exist an AssertionException is thrown.
static public Exists ( string actual ) : void
actual string The path to a directory containing the actual value
Результат void

Exists() статический публичный Метод

Asserts that the directory exists. If it does not exist an AssertionException is thrown.
static public Exists ( string actual, string message ) : void
actual string The path to a directory containing the actual value
message string The message to display if directories are not equal
Результат void