C# 클래스 Cone.Core.ConeTestFailure

파일 보기 프로젝트 열기: drunkcod/Cone 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Context string
Errors FailedExpectation[]
ErrorsContext string
FailureType FailureType
StackFrames ConeStackFrame[]
TestName string

Private Properties

프로퍼티 타입 설명
GetNestedStackFrames IEnumerable
ShouldIncludeFrame bool

공개 메소드들

메소드 설명
ConeTestFailure ( ITestName testName, Exception error, FailureType failureType ) : System
ConeTestFailure ( ITestName testName, Exception error, FailureType failureType, bool>.Func includeFrame ) : System
ToString ( ) : string
Unwrap ( Exception error ) : Exception
WriteTo ( ISessionWriter writer ) : void

비공개 메소드들

메소드 설명
GetNestedStackFrames ( Exception e ) : IEnumerable
ShouldIncludeFrame ( StackFrame frame ) : bool

메소드 상세

ConeTestFailure() 공개 메소드

public ConeTestFailure ( ITestName testName, Exception error, FailureType failureType ) : System
testName ITestName
error System.Exception
failureType FailureType
리턴 System

ConeTestFailure() 공개 메소드

public ConeTestFailure ( ITestName testName, Exception error, FailureType failureType, bool>.Func includeFrame ) : System
testName ITestName
error System.Exception
failureType FailureType
includeFrame bool>.Func
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Unwrap() 공개 정적인 메소드

public static Unwrap ( Exception error ) : Exception
error System.Exception
리턴 System.Exception

WriteTo() 공개 메소드

public WriteTo ( ISessionWriter writer ) : void
writer ISessionWriter
리턴 void

프로퍼티 상세

Context 공개적으로 프로퍼티

public string Context
리턴 string

Errors 공개적으로 프로퍼티

public FailedExpectation[] Errors
리턴 FailedExpectation[]

ErrorsContext 공개적으로 프로퍼티

public string ErrorsContext
리턴 string

FailureType 공개적으로 프로퍼티

public FailureType FailureType
리턴 FailureType

StackFrames 공개적으로 프로퍼티

public ConeStackFrame[] StackFrames
리턴 ConeStackFrame[]

TestName 공개적으로 프로퍼티

public string TestName
리턴 string