C# Класс Microsoft.Test.UIAutomation.Logging.UIAVerifyLogger

Loggin object for InternalHelper
Показать файл Открыть проект

Открытые методы

Метод Описание
CloseLog ( ) : void

Last call to close the channel down to the logger. No tests should be ran after this call

EndTest ( ) : void

LogComment ( object comment ) : void

LogComment ( string format ) : void

Log comment to the output

LogError ( Exception exception ) : void

Report that the test had an error

LogPass ( ) : void

LogUnexpectedError ( Exception exception ) : void

Report an excepetion that was not expected

MonitorProcess ( Process process ) : void

ReportResults ( ) : void

SetLogger ( ILogger logger ) : void

Loads a logger DLL binary that impements UI Automation Logging interface

SetLogger ( string filename ) : void

Loads a logger DLL binary that impements UI Automation Logging interface.

StartTest ( XmlNode xmlElementIdentifier, TestCaseAttribute testAttribute, MethodInfo methodInfo ) : void

Описание методов

CloseLog() публичный статический Метод

Last call to close the channel down to the logger. No tests should be ran after this call
public static CloseLog ( ) : void
Результат void

EndTest() публичный статический Метод

public static EndTest ( ) : void
Результат void

LogComment() публичный статический Метод

public static LogComment ( object comment ) : void
comment object
Результат void

LogComment() публичный статический Метод

Log comment to the output
public static LogComment ( string format ) : void
format string The format string
Результат void

LogError() публичный статический Метод

Report that the test had an error
public static LogError ( Exception exception ) : void
exception System.Exception
Результат void

LogPass() публичный статический Метод

public static LogPass ( ) : void
Результат void

LogUnexpectedError() публичный статический Метод

Report an excepetion that was not expected
public static LogUnexpectedError ( Exception exception ) : void
exception System.Exception
Результат void

MonitorProcess() публичный статический Метод

public static MonitorProcess ( Process process ) : void
process System.Diagnostics.Process
Результат void

ReportResults() публичный статический Метод

public static ReportResults ( ) : void
Результат void

SetLogger() статический публичный Метод

Loads a logger DLL binary that impements UI Automation Logging interface
static public SetLogger ( ILogger logger ) : void
logger ILogger
Результат void

SetLogger() публичный статический Метод

Loads a logger DLL binary that impements UI Automation Logging interface.
public static SetLogger ( string filename ) : void
filename string Filename with path
Результат void

StartTest() публичный статический Метод

public static StartTest ( XmlNode xmlElementIdentifier, TestCaseAttribute testAttribute, MethodInfo methodInfo ) : void
xmlElementIdentifier System.Xml.XmlNode
testAttribute Microsoft.Test.UIAutomation.TestManager.TestCaseAttribute
methodInfo System.Reflection.MethodInfo
Результат void