C# 클래스 Fan.Sys.Test

Test is the base class of unit tests.
상속: FanObj
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_curTestMethod Method
verbose bool
verifyCount int

공개 메소드들

메소드 설명
@typeof ( ) : Type
curTestMethod ( ) : Method
fail ( ) : void
fail ( string msg ) : void
make_ ( Test t ) : void
setup ( ) : void
teardown ( ) : void
tempDir ( ) : File
verify ( bool cond ) : void
verify ( bool cond, string msg ) : void
verifyEq ( object expected, object actual ) : void
verifyEq ( object expected, object actual, string msg ) : void
verifyErr ( Type errType, Func f ) : void
verifyErrMsg ( Type errType, string errMsg, Func f ) : void
verifyFalse ( bool cond ) : void
verifyFalse ( bool cond, string msg ) : void
verifyNotEq ( object expected, object actual ) : void
verifyNotEq ( object expected, object actual, string msg ) : void
verifyNotNull ( object a ) : void
verifyNotNull ( object a, string msg ) : void
verifyNotSame ( object expected, object actual ) : void
verifyNotSame ( object expected, object actual, string msg ) : void
verifyNull ( object a ) : void
verifyNull ( object a, string msg ) : void
verifySame ( object expected, object actual ) : void
verifySame ( object expected, object actual, string msg ) : void
verifyTrue ( bool cond ) : void
verifyTrue ( bool cond, string msg ) : void
verifyType ( object obj, Type t ) : void

비공개 메소드들

메소드 설명
err ( string msg ) : Exception
s ( object obj ) : string

메소드 상세

@typeof() 공개 메소드

public @typeof ( ) : Type
리턴 Type

curTestMethod() 공개 메소드

public curTestMethod ( ) : Method
리턴 Method

fail() 공개 메소드

public fail ( ) : void
리턴 void

fail() 공개 메소드

public fail ( string msg ) : void
msg string
리턴 void

make_() 공개 정적인 메소드

public static make_ ( Test t ) : void
t Test
리턴 void

setup() 공개 메소드

public setup ( ) : void
리턴 void

teardown() 공개 메소드

public teardown ( ) : void
리턴 void

tempDir() 공개 메소드

public tempDir ( ) : File
리턴 File

verify() 공개 메소드

public verify ( bool cond ) : void
cond bool
리턴 void

verify() 공개 메소드

public verify ( bool cond, string msg ) : void
cond bool
msg string
리턴 void

verifyEq() 공개 메소드

public verifyEq ( object expected, object actual ) : void
expected object
actual object
리턴 void

verifyEq() 공개 메소드

public verifyEq ( object expected, object actual, string msg ) : void
expected object
actual object
msg string
리턴 void

verifyErr() 공개 메소드

public verifyErr ( Type errType, Func f ) : void
errType Type
f Func
리턴 void

verifyErrMsg() 공개 메소드

public verifyErrMsg ( Type errType, string errMsg, Func f ) : void
errType Type
errMsg string
f Func
리턴 void

verifyFalse() 공개 메소드

public verifyFalse ( bool cond ) : void
cond bool
리턴 void

verifyFalse() 공개 메소드

public verifyFalse ( bool cond, string msg ) : void
cond bool
msg string
리턴 void

verifyNotEq() 공개 메소드

public verifyNotEq ( object expected, object actual ) : void
expected object
actual object
리턴 void

verifyNotEq() 공개 메소드

public verifyNotEq ( object expected, object actual, string msg ) : void
expected object
actual object
msg string
리턴 void

verifyNotNull() 공개 메소드

public verifyNotNull ( object a ) : void
a object
리턴 void

verifyNotNull() 공개 메소드

public verifyNotNull ( object a, string msg ) : void
a object
msg string
리턴 void

verifyNotSame() 공개 메소드

public verifyNotSame ( object expected, object actual ) : void
expected object
actual object
리턴 void

verifyNotSame() 공개 메소드

public verifyNotSame ( object expected, object actual, string msg ) : void
expected object
actual object
msg string
리턴 void

verifyNull() 공개 메소드

public verifyNull ( object a ) : void
a object
리턴 void

verifyNull() 공개 메소드

public verifyNull ( object a, string msg ) : void
a object
msg string
리턴 void

verifySame() 공개 메소드

public verifySame ( object expected, object actual ) : void
expected object
actual object
리턴 void

verifySame() 공개 메소드

public verifySame ( object expected, object actual, string msg ) : void
expected object
actual object
msg string
리턴 void

verifyTrue() 공개 메소드

public verifyTrue ( bool cond ) : void
cond bool
리턴 void

verifyTrue() 공개 메소드

public verifyTrue ( bool cond, string msg ) : void
cond bool
msg string
리턴 void

verifyType() 공개 메소드

public verifyType ( object obj, Type t ) : void
obj object
t Type
리턴 void

프로퍼티 상세

m_curTestMethod 공개적으로 프로퍼티

public Method,Fan.Sys m_curTestMethod
리턴 Method

verbose 공개적으로 정적으로 프로퍼티

public static bool verbose
리턴 bool

verifyCount 공개적으로 프로퍼티

public int verifyCount
리턴 int