Beispiel #1
0
 public async Task TestMonoConnection(TestContext ctx, CancellationToken cancellationToken,
                                      [ConnectionTestProvider("MonoWithOldTLS:MonoWithOldTLS")] ConnectionTestProvider provider,
                                      SslStreamTestParameters parameters,
                                      SslStreamTestRunner runner)
 {
     await runner.Run(ctx, cancellationToken);
 }
Beispiel #2
0
        public IEnumerable <SslStreamTestParameters> GetParameters(TestContext ctx, string filter)
        {
            if (filter != null)
            {
                throw new NotImplementedException();
            }

            var category = ctx.GetParameter <ConnectionTestCategory> ();

            if (Type != null)
            {
                yield return(SslStreamTestRunner.GetParameters(ctx, category, Type.Value));
            }

            foreach (var type in ConnectionTestRunner.GetConnectionTestTypes(ctx, category))
            {
                yield return(SslStreamTestRunner.GetParameters(ctx, category, type));
            }
        }
Beispiel #3
0
 public async Task TestManualServer(TestContext ctx, CancellationToken cancellationToken,
                                    ConnectionTestProvider provider, SslStreamTestParameters parameters,
                                    SslStreamTestRunner runner)
 {
     await runner.Run(ctx, cancellationToken);
 }
Beispiel #4
0
 public async Task TestCertificateValidators(TestContext ctx, CancellationToken cancellationToken,
                                             ConnectionTestProvider provider, SslStreamTestParameters parameters,
                                             SslStreamTestRunner runner)
 {
     await runner.Run(ctx, cancellationToken);
 }
Beispiel #5
0
		public async Task TestManualServer (TestContext ctx, CancellationToken cancellationToken,
			ConnectionTestProvider provider, SslStreamTestParameters parameters,
			SslStreamTestRunner runner)
		{
			await runner.Run (ctx, cancellationToken);
		}