C# Class SharpUnit.UnityTestCase

Inheritance: UnityEngine.MonoBehaviour, ITestCase
Afficher le fichier Open project: acidlemon/SharpUnit Class Usage Examples

Protected Properties

Свойство Type Description
_Exception TestException
_Failed bool

Méthodes publiques

Méthode Description
GetTestResult ( ) : TestResult
Run ( TestResult result ) : IEnumerator
SetTestMethod ( string method ) : void
SetUp ( ) : void
TearDown ( ) : void

Méthodes protégées

Méthode Description
DoneTesting ( ) : void
MarkAsFailure ( TestException e ) : void

Method Details

DoneTesting() protected méthode

protected DoneTesting ( ) : void
Résultat void

GetTestResult() public méthode

public GetTestResult ( ) : TestResult
Résultat TestResult

MarkAsFailure() protected méthode

protected MarkAsFailure ( TestException e ) : void
e TestException
Résultat void

Run() public méthode

public Run ( TestResult result ) : IEnumerator
result TestResult
Résultat IEnumerator

SetTestMethod() public méthode

public SetTestMethod ( string method ) : void
method string
Résultat void

SetUp() public méthode

public SetUp ( ) : void
Résultat void

TearDown() public méthode

public TearDown ( ) : void
Résultat void

Property Details

_Exception protected_oe property

protected TestException _Exception
Résultat TestException

_Failed protected_oe property

protected bool _Failed
Résultat bool