Exemple #1
0
 public Task ClientPuppy(TestContext ctx, CancellationToken cancellationToken,
                         InstrumentationConnectionProvider provider,
                         GenericConnectionInstrumentParameters parameters,
                         GenericConnectionInstrumentTestRunner runner)
 {
     return(runner.Run(ctx, cancellationToken));
 }
Exemple #2
0
 public Task TestInvalidCertificates(TestContext ctx, CancellationToken cancellationToken,
                                     InstrumentationConnectionProvider provider,
                                     GenericConnectionInstrumentParameters parameters,
                                     GenericConnectionInstrumentTestRunner runner)
 {
     return(runner.Run(ctx, cancellationToken));
 }
Exemple #3
0
 public async Task TestConnection(TestContext ctx, CancellationToken cancellationToken,
                                  InstrumentationConnectionProvider provider,
                                  GenericConnectionInstrumentParameters parameters,
                                  GenericConnectionInstrumentTestRunner runner)
 {
     await runner.Run(ctx, cancellationToken);
 }
Exemple #4
0
		public Task Test (TestContext ctx, CancellationToken cancellationToken,
			InstrumentationConnectionProvider provider,
			GenericConnectionInstrumentParameters parameters,
			GenericConnectionInstrumentTestRunner runner)
		{
			return runner.Run (ctx, cancellationToken);
		}
		public async Task TestServer (TestContext ctx, CancellationToken cancellationToken,
			InstrumentationConnectionProvider provider,
			GenericConnectionInstrumentParameters parameters,
			GenericConnectionInstrumentTestRunner runner)
		{
			await runner.Run (ctx, cancellationToken);
		}
        GenericConnectionInstrumentTestRunner CreateInstance(
            TestContext ctx, IServer server, IClient client,
            InstrumentationConnectionProvider provider, GenericConnectionInstrumentParameters parameters)
        {
            if (!GenericConnectionInstrumentTestRunner.IsSupported(parameters, client.Provider.Type, server.Provider.Type))
            {
                ctx.IgnoreThisTest();
            }

            return(new GenericConnectionInstrumentTestRunner(server, client, provider, parameters));
        }