Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 | |
return | void |
public static LogComment ( string format ) : void | ||
format | string | The format string |
return | void |
public static LogError ( |
||
exception | ||
TBD | bool | |
return | void |
public static LogError ( string errorMessage ) : void | ||
errorMessage | string | |
return | void |
public static LogUnexpectedError ( |
||
exception | ||
displayTrace | bool | |
return | void |
public static MonitorProcess ( |
||
process | ||
return | void |
static public SetLogger ( string logFile ) : void | ||
logFile | string | Ful path and name of the log file |
return | void |
public static StartTest ( string testName ) : void | ||
testName | string | |
return | void |