Метод | Описание | |
---|---|---|
CloseLog ( ) : void |
|
|
EndTest ( ) : void |
Specifies that a test is ending
|
|
LogComment ( object comment ) : void |
Add a comment to the test summary
|
|
LogComment ( string format ) : void |
Add a comment to the test summary
|
|
LogError ( |
Report that the test had an error
|
|
LogError ( string errorMessage ) : void |
Report that the test had an error
|
|
LogPass ( ) : void |
|
|
LogUnexpectedError ( |
|
|
MonitorProcess ( |
Some frameworks such as Piper will kill a process if it is closed incorrectly and hangs around. If the framework does not support this, it will NOP out there
|
|
ReportResults ( ) : void |
Returns a report summary
|
|
SetLogger ( string logFile ) : void |
Call to set the specific logger. There are some default loggers already defined. Use the LogTypes class for a list of them.
|
|
StartTest ( string testName ) : void |
Specifies that a test is starting
|
Метод | Описание | |
---|---|---|
IsRunningUnderWTT ( ) : bool |
TODO$: ClientTestRuntime should be able to do this in the future
|
|
SetLoggerType ( string filename ) : ILogger |
Loads a logger DLL binary that impements WUIALogging interface. If you specify the LogTypes.DefaultLogger, then WttLogger will be loaded if the executable has INTERNAL in the name, else PIper logger will be loaded
|
|
ValidateLogger ( ) : void |
|
public static LogComment ( object comment ) : void | ||
comment | object | |
Результат | void |
public static LogComment ( string format ) : void | ||
format | string | The format string |
Результат | void |
public static LogError ( |
||
exception | ||
TBD | bool | |
Результат | void |
public static LogError ( string errorMessage ) : void | ||
errorMessage | string | |
Результат | void |
public static LogUnexpectedError ( |
||
exception | ||
displayTrace | bool | |
Результат | void |
public static MonitorProcess ( |
||
process | ||
Результат | void |
static public SetLogger ( string logFile ) : void | ||
logFile | string | Ful path and name of the log file |
Результат | void |
public static StartTest ( string testName ) : void | ||
testName | string | |
Результат | void |