C# Class Microsoft.AspNet.SignalR.Tests.Common.Infrastructure.HostedTestFactory

Afficher le fichier Open project: SignalR/SignalR Class Usage Examples

Méthodes publiques

Méthode Description
CreateClientTraceWriter ( string testName ) : StreamWriter
CreateHost ( HostType hostType, TransportType transportType, string testName, string url = null ) : ITestHost
CreateHost ( string hostTypeName, string transportName, string testName, string url = null ) : ITestHost
CreateTransport ( TransportType transportType ) : IClientTransport
CreateTransport ( TransportType transportType, IHttpClient client ) : IClientTransport
EnableTracing ( string testName, string logBasePath ) : TextWriterTraceListener

Private Methods

Méthode Description
StartHttpSysTracing ( string path ) : IDisposable

Method Details

CreateClientTraceWriter() public static méthode

public static CreateClientTraceWriter ( string testName ) : StreamWriter
testName string
Résultat System.IO.StreamWriter

CreateHost() public static méthode

public static CreateHost ( HostType hostType, TransportType transportType, string testName, string url = null ) : ITestHost
hostType HostType
transportType TransportType
testName string
url string
Résultat ITestHost

CreateHost() public static méthode

public static CreateHost ( string hostTypeName, string transportName, string testName, string url = null ) : ITestHost
hostTypeName string
transportName string
testName string
url string
Résultat ITestHost

CreateTransport() public static méthode

public static CreateTransport ( TransportType transportType ) : IClientTransport
transportType TransportType
Résultat IClientTransport

CreateTransport() public static méthode

public static CreateTransport ( TransportType transportType, IHttpClient client ) : IClientTransport
transportType TransportType
client IHttpClient
Résultat IClientTransport

EnableTracing() public static méthode

public static EnableTracing ( string testName, string logBasePath ) : TextWriterTraceListener
testName string
logBasePath string
Résultat System.Diagnostics.TextWriterTraceListener