public Task TestWeb( TestContext ctx, CancellationToken cancellationToken, [ConnectionTestProvider("BoringTLS")] ConnectionTestProvider provider, HttpsTestParameters parameters, HttpsTestRunner runner) { return(runner.Run(ctx, cancellationToken)); }
public IEnumerable <HttpsTestParameters> GetParameters(TestContext ctx, string filter) { if (filter != null) { throw new NotImplementedException(); } var category = ctx.GetParameter <ConnectionTestCategory> (); if (Type != null) { yield return(HttpsTestRunner.GetParameters(ctx, category, Type.Value)); } foreach (var type in ConnectionTestRunner.GetConnectionTestTypes(ctx, category)) { yield return(HttpsTestRunner.GetParameters(ctx, category, type)); } }
public async Task TestCertificateStore(TestContext ctx, CancellationToken cancellationToken, ConnectionTestProvider provider, HttpsTestParameters parameters, HttpsTestRunner runner) { await runner.Run(ctx, cancellationToken); }
public async Task TestTrustedRoots(TestContext ctx, CancellationToken cancellationToken, ConnectionTestProvider provider, HttpsTestParameters parameters, HttpsTestRunner runner) { await runner.Run(ctx, cancellationToken); }
public async Task TestDotNetConnection (TestContext ctx, CancellationToken cancellationToken, ConnectionTestProvider provider, HttpsTestParameters parameters, HttpsTestRunner runner) { await runner.Run (ctx, cancellationToken); }
public void Stop() { runner.Stop(); runner = null; }
public void Start() { runner = new HttpsTestRunner(); runner.Start(); }