public async Task TestConnection(TestContext ctx, CancellationToken cancellationToken, InstrumentationConnectionProvider provider, CipherInstrumentParameters parameters, CipherInstrumentTestRunner runner) { await runner.Run(ctx, cancellationToken); }
public async Task TestClientTls12 (TestContext ctx, CancellationToken cancellationToken, InstrumentationConnectionProvider provider, [CipherSuite] CipherSuiteCode cipher, CipherInstrumentParameters parameters, CipherInstrumentTestRunner runner) { await runner.Run (ctx, cancellationToken); }
public IEnumerable <CipherInstrumentParameters> GetParameters(TestContext ctx, string filter) { if (filter != null) { throw new NotImplementedException(); } var category = ctx.GetParameter <InstrumentationCategory> (); var parameters = CipherInstrumentTestRunner.GetParameters(ctx, category); if (Type != null) { return(parameters.Where(p => p.Type == Type)); } return(parameters); }