C# Class System.Xml.Tests.ExceptionVerifier

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
ConstructExpectedMessage ( object IdsAndParams ) : string
ExceptionVerifier ( string assemblyName, ExceptionVerificationFlags flags, ITestOutputHelper output ) : System.Linq
ExceptionVerifier ( string assemblyName, ITestOutputHelper output ) : System.Linq
IsExceptionOk ( Exception e, object IdsAndParams ) : void
IsExceptionOk ( Exception e, string expectedResId ) : void
IsExceptionOk ( Exception e, string expectedResId, string paramValues ) : void
IsExceptionOk ( Exception e, string expectedResId, string paramValues, LineInfo lineInfo ) : void
ReturnAllMatchingResIds ( string message ) : string[]

Private Methods

Méthode Description
CheckNull ( Exception e ) : void
CompareMessages ( ) : void
ExceptionInfoOutput ( ) : void
GetRuntimeInstallDir ( ) : string
MakeEscapes ( string str ) : string

Method Details

ConstructExpectedMessage() public méthode

public ConstructExpectedMessage ( object IdsAndParams ) : string
IdsAndParams object
Résultat string

ExceptionVerifier() public méthode

public ExceptionVerifier ( string assemblyName, ExceptionVerificationFlags flags, ITestOutputHelper output ) : System.Linq
assemblyName string
flags ExceptionVerificationFlags
output ITestOutputHelper
Résultat System.Linq

ExceptionVerifier() public méthode

public ExceptionVerifier ( string assemblyName, ITestOutputHelper output ) : System.Linq
assemblyName string
output ITestOutputHelper
Résultat System.Linq

IsExceptionOk() public méthode

public IsExceptionOk ( Exception e, object IdsAndParams ) : void
e System.Exception
IdsAndParams object
Résultat void

IsExceptionOk() public méthode

public IsExceptionOk ( Exception e, string expectedResId ) : void
e System.Exception
expectedResId string
Résultat void

IsExceptionOk() public méthode

public IsExceptionOk ( Exception e, string expectedResId, string paramValues ) : void
e System.Exception
expectedResId string
paramValues string
Résultat void

IsExceptionOk() public méthode

public IsExceptionOk ( Exception e, string expectedResId, string paramValues, LineInfo lineInfo ) : void
e System.Exception
expectedResId string
paramValues string
lineInfo LineInfo
Résultat void

ReturnAllMatchingResIds() public méthode

public ReturnAllMatchingResIds ( string message ) : string[]
message string
Résultat string[]