C# Class SharpUnit.UnityTestCase

Inheritance: UnityEngine.MonoBehaviour, ITestCase
Datei anzeigen Open project: acidlemon/SharpUnit Class Usage Examples

Protected Properties

Property Type Description
_Exception TestException
_Failed bool

Public Methods

Method Description
GetTestResult ( ) : TestResult
Run ( TestResult result ) : IEnumerator
SetTestMethod ( string method ) : void
SetUp ( ) : void
TearDown ( ) : void

Protected Methods

Method Description
DoneTesting ( ) : void
MarkAsFailure ( TestException e ) : void

Method Details

DoneTesting() protected method

protected DoneTesting ( ) : void
return void

GetTestResult() public method

public GetTestResult ( ) : TestResult
return TestResult

MarkAsFailure() protected method

protected MarkAsFailure ( TestException e ) : void
e TestException
return void

Run() public method

public Run ( TestResult result ) : IEnumerator
result TestResult
return IEnumerator

SetTestMethod() public method

public SetTestMethod ( string method ) : void
method string
return void

SetUp() public method

public SetUp ( ) : void
return void

TearDown() public method

public TearDown ( ) : void
return void

Property Details

_Exception protected_oe property

protected TestException _Exception
return TestException

_Failed protected_oe property

protected bool _Failed
return bool