예제 #1
0
 public async Task TestClient(TestContext ctx, CancellationToken cancellationToken,
                              InstrumentationConnectionProvider provider,
                              RenegotiationInstrumentParameters parameters,
                              RenegotiationInstrumentTestRunner runner)
 {
     await runner.Run(ctx, cancellationToken);
 }
예제 #2
0
		public async Task TestClient (TestContext ctx, CancellationToken cancellationToken,
			InstrumentationConnectionProvider provider,
			RenegotiationInstrumentParameters parameters,
			RenegotiationInstrumentTestRunner runner)
		{
			await runner.Run (ctx, cancellationToken);
		}
예제 #3
0
        public IEnumerable <RenegotiationInstrumentParameters> GetParameters(TestContext ctx, string filter)
        {
            if (filter != null)
            {
                throw new NotImplementedException();
            }

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

            var parameters = RenegotiationInstrumentTestRunner.GetParameters(ctx, category);

            if (Type != null)
            {
                return(parameters.Where(p => p.Type == Type));
            }

            return(parameters);
        }