MeshBaker
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
UnityTest.TestResult Class Reference

Inherits ITestResult, and IComparable< TestResult >.

Public Types

enum  ResultType {
  ResultType.Success, ResultType.Failed, ResultType.Timeout, ResultType.NotRun,
  ResultType.FailedException, ResultType.Ignored
}
 

Public Member Functions

 TestResult (TestComponent testComponent)
 
void Update (TestResult oldResult)
 
void Reset ()
 
override int GetHashCode ()
 
int CompareTo (TestResult other)
 
override bool Equals (object obj)
 

Public Attributes

ResultType resultType = ResultType.NotRun
 
double duration
 
string messages
 
string stacktrace
 
string id
 
bool dynamicTest
 
TestComponent TestComponent
 

Properties

GameObject GameObject [get]
 
TestResultState ResultState [get]
 
string Message [get]
 
string Logs [get]
 
bool Executed [get]
 
string Name [get]
 
string Id [get]
 
bool IsSuccess [get]
 
bool IsTimeout [get]
 
double Duration [get]
 
string StackTrace [get]
 
string FullName [get]
 
bool IsIgnored [get]
 
bool IsFailure [get]
 
- Properties inherited from ITestResult
TestResultState ResultState [get]
 
string Message [get]
 
string Logs [get]
 
bool Executed [get]
 
string Name [get]
 
string FullName [get]
 
string Id [get]
 
bool IsSuccess [get]
 
double Duration [get]
 
string StackTrace [get]
 
bool IsIgnored [get]
 

Member Enumeration Documentation

§ ResultType

Enumerator
Success 
Failed 
Timeout 
NotRun 
FailedException 
Ignored 

Constructor & Destructor Documentation

§ TestResult()

UnityTest.TestResult.TestResult ( TestComponent  testComponent)

Member Function Documentation

§ CompareTo()

int UnityTest.TestResult.CompareTo ( TestResult  other)

§ Equals()

override bool UnityTest.TestResult.Equals ( object  obj)

§ GetHashCode()

override int UnityTest.TestResult.GetHashCode ( )

§ Reset()

void UnityTest.TestResult.Reset ( )

§ Update()

void UnityTest.TestResult.Update ( TestResult  oldResult)

Member Data Documentation

§ duration

double UnityTest.TestResult.duration

§ dynamicTest

bool UnityTest.TestResult.dynamicTest

§ id

string UnityTest.TestResult.id

§ messages

string UnityTest.TestResult.messages

§ resultType

ResultType UnityTest.TestResult.resultType = ResultType.NotRun

§ stacktrace

string UnityTest.TestResult.stacktrace

§ TestComponent

TestComponent UnityTest.TestResult.TestComponent

Property Documentation

§ Duration

double UnityTest.TestResult.Duration
get

§ Executed

bool UnityTest.TestResult.Executed
get

§ FullName

string UnityTest.TestResult.FullName
get

§ GameObject

GameObject UnityTest.TestResult.GameObject
get

§ Id

string UnityTest.TestResult.Id
get

§ IsFailure

bool UnityTest.TestResult.IsFailure
get

§ IsIgnored

bool UnityTest.TestResult.IsIgnored
get

§ IsSuccess

bool UnityTest.TestResult.IsSuccess
get

§ IsTimeout

bool UnityTest.TestResult.IsTimeout
get

§ Logs

string UnityTest.TestResult.Logs
get

§ Message

string UnityTest.TestResult.Message
get

§ Name

string UnityTest.TestResult.Name
get

§ ResultState

TestResultState UnityTest.TestResult.ResultState
get

§ StackTrace

string UnityTest.TestResult.StackTrace
get

The documentation for this class was generated from the following file: