public TestInvocationManager(RedisResultCollection results, MachineRepository machines, TestPlanRepository tpr, TestDriverManager testDriverManager)
 {
     this.results = results;
     this.machines = machines;
     this.testPlans = tpr;
     this.testDriverManager = testDriverManager;
     worker = new Thread(Run);
 }
Exemple #2
0
 public TestProvider(IEnumerable<IMachine> machines, IEnumerable<ITestDriver> drivers, RedisResultCollection results, string runId)
 {
     this.results = results;
     this.runId = runId;
     this.machines = machines;
     this.drivers = drivers;
 }
Exemple #3
0
        void InitTestPlans()
        {
            var client = new RedisClient(TestVisorService.RedisUri);

            tpr = new TestPlanRepository(client, baseDirectory + "/TestPlans", "TestPlans");
            ResultsDirectory = baseDirectory + "/TestResults";
            results = new RedisResultCollection(client, ResultsDirectory);

            tim = new TestInvocationManager(results, machines, tpr, testDriverManager);
            tim.Start();
        }