C# 클래스 NUnit.Framework.DirectoryAssert

Summary description for DirectoryAssert
파일 보기 프로젝트 열기: nunit/nunit

공개 메소드들

메소드 설명
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