C# 클래스 NUnit.VisualStudio.TestAdapter.TestLogger

TestLogger wraps an IMessageLogger and adds various utility methods for sending messages. Since the IMessageLogger is only provided when the discovery and execution objects are called, we use two-phase construction. Until Initialize is called, the logger simply swallows all messages without sending them anywhere.
상속: IMessageLogger
파일 보기 프로젝트 열기: nunit/nunit-vs-adapter 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AssemblyNotSupportedWarning ( string sourceAssembly ) : void
DependentAssemblyNotFoundWarning ( string dependentAssembly, string sourceAssembly ) : void
Initialize ( IMessageLogger messageLoggerParam ) : void
LoadingAssemblyFailedWarning ( string dependentAssembly, string sourceAssembly ) : void
NoNUnit2TestsFoundIn ( string sourceAssembly ) : void
SendDebugMessage ( string message ) : void
SendErrorMessage ( string message ) : void
SendErrorMessage ( string message, Exception ex ) : void
SendInformationalMessage ( string message ) : void
SendMessage ( TestMessageLevel testMessageLevel, string message ) : void
SendWarningMessage ( string message ) : void
SendWarningMessage ( string message, Exception ex ) : void
TestLogger ( ) : System
TestLogger ( int verbosity ) : System
UnsupportedFrameworkWarning ( string assembly ) : void

메소드 상세

AssemblyNotSupportedWarning() 공개 메소드

public AssemblyNotSupportedWarning ( string sourceAssembly ) : void
sourceAssembly string
리턴 void

DependentAssemblyNotFoundWarning() 공개 메소드

public DependentAssemblyNotFoundWarning ( string dependentAssembly, string sourceAssembly ) : void
dependentAssembly string
sourceAssembly string
리턴 void

Initialize() 공개 메소드

public Initialize ( IMessageLogger messageLoggerParam ) : void
messageLoggerParam IMessageLogger
리턴 void

LoadingAssemblyFailedWarning() 공개 메소드

public LoadingAssemblyFailedWarning ( string dependentAssembly, string sourceAssembly ) : void
dependentAssembly string
sourceAssembly string
리턴 void

NoNUnit2TestsFoundIn() 공개 메소드

public NoNUnit2TestsFoundIn ( string sourceAssembly ) : void
sourceAssembly string
리턴 void

SendDebugMessage() 공개 메소드

public SendDebugMessage ( string message ) : void
message string
리턴 void

SendErrorMessage() 공개 메소드

public SendErrorMessage ( string message ) : void
message string
리턴 void

SendErrorMessage() 공개 메소드

public SendErrorMessage ( string message, Exception ex ) : void
message string
ex System.Exception
리턴 void

SendInformationalMessage() 공개 메소드

public SendInformationalMessage ( string message ) : void
message string
리턴 void

SendMessage() 공개 메소드

public SendMessage ( TestMessageLevel testMessageLevel, string message ) : void
testMessageLevel TestMessageLevel
message string
리턴 void

SendWarningMessage() 공개 메소드

public SendWarningMessage ( string message ) : void
message string
리턴 void

SendWarningMessage() 공개 메소드

public SendWarningMessage ( string message, Exception ex ) : void
message string
ex System.Exception
리턴 void

TestLogger() 공개 메소드

public TestLogger ( ) : System
리턴 System

TestLogger() 공개 메소드

public TestLogger ( int verbosity ) : System
verbosity int
리턴 System

UnsupportedFrameworkWarning() 공개 메소드

public UnsupportedFrameworkWarning ( string assembly ) : void
assembly string
리턴 void