C# 클래스 Open.Core.Assert

BDD style testing assertions.
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
Is ( object value ) : void

Asserts that an object is equal to another object (uses != comparison).

IsFalse ( ) : void

Asserts that an value is False.

IsNot ( object value ) : void

Asserts that an object is not equal to another object (uses != comparison).

IsNotNull ( ) : void

Asserts that an object is not null.

IsNull ( ) : void

Asserts that an object is not null.

IsTrue ( ) : void

Asserts that an value is True.

That ( object value ) : Assert

Factory method for starting an assertion.

비공개 메소드들

메소드 설명
Assert ( object subject ) : System
Format ( object value ) : string
ThrowError ( string message ) : void

메소드 상세

Is() 공개 메소드

Asserts that an object is equal to another object (uses != comparison).
public Is ( object value ) : void
value object The value to compare to.
리턴 void

IsFalse() 공개 메소드

Asserts that an value is False.
public IsFalse ( ) : void
리턴 void

IsNot() 공개 메소드

Asserts that an object is not equal to another object (uses != comparison).
public IsNot ( object value ) : void
value object The value to compare to.
리턴 void

IsNotNull() 공개 메소드

Asserts that an object is not null.
public IsNotNull ( ) : void
리턴 void

IsNull() 공개 메소드

Asserts that an object is not null.
public IsNull ( ) : void
리턴 void

IsTrue() 공개 메소드

Asserts that an value is True.
public IsTrue ( ) : void
리턴 void

That() 공개 정적인 메소드

Factory method for starting an assertion.
public static That ( object value ) : Assert
value object The value being examined.
리턴 Assert