Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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();
        }