Method | Description | |
---|---|---|
FormatMethodName ( string methodName ) : string |
Formats the name of the method for reporting.
|
|
HandleFatalException ( string stage, |
Handles the fatal exception.
|
|
RecordError ( ) : void |
Records that an error has been ocurred.
|
|
RecordError ( int errorCount ) : void |
Records that a critical error has been ocurred and specified tests will be skipped as error.
|
|
RecordFailure ( ) : void |
Records that last test has been failed.
|
|
RecordSkip ( ) : void |
Records that last test has been skipped.
|
|
RecordSuccess ( ) : void |
Records that last test has been succeeded.
|
|
SetCurrentTestClassName ( string testClassName ) : void |
Sets the name of the current test class.
|
|
TestSummaryReporter ( string testClassName, bool isAllRunMode, Result resultPrefab, |
Initializes a new instance of the TestSummaryReporter class.
|
Method | Description | |
---|---|---|
CreateNewResult ( Result resultPrefab, |
Creates the new Result object.
|
|
UpdateResult ( ) : void |
Updates the summary Result.
|
public FormatMethodName ( string methodName ) : string | ||
methodName | string | Name of the method. |
return | string |
public HandleFatalException ( string stage, |
||
stage | string | The stage of test execution for reporting. |
exception | The fatal exception. | |
resultPrefab | Result | The prefab for test result indicators. |
resultVertical | The vertical area which test result indicators to be belonging. | |
return | void |
public RecordError ( int errorCount ) : void | ||
errorCount | int | The count of tests will be skipped as error |
return | void |
public SetCurrentTestClassName ( string testClassName ) : void | ||
testClassName | string | Name of the test class. |
return | void |
public TestSummaryReporter ( string testClassName, bool isAllRunMode, Result resultPrefab, |
||
testClassName | string | Name of the test class. |
isAllRunMode | bool | |
resultPrefab | Result | The prefab for test result indicators. |
resultVertical | The vertical area which test result indicators to be belonging. | |
return | System |