Beispiel #1
0
 public Task Start(ILoopServices services)
 {
     Runner = new TestRunner {
         Services = services, Logger = Logger
     };
     Runner.Start();
     return(Task.CompletedTask);
 }
Beispiel #2
0
        public ITest[] BuildTests(ILoopServices services)
        {
            var testServices = new TestServices()
            {
                Logger   = Logger,
                Services = services,
            };
            var testClass = new WhisperTests()
            {
                Services = testServices
            };

            return(GetAttributes(new[] { testClass }).Select(x => x as ITest).ToArray());
        }
 public Task Stop()
 {
     _services = null;
     _clipboardStream?.Dispose();
     return(Task.CompletedTask);
 }
 public Task Start(ILoopServices services)
 {
     _services = services;
     ClipboardStream();
     return(Task.CompletedTask);
 }