public void Init()
        {
            testRun = new TestRun
                          {
                              Parameters = new TestRunParameters
                                               {
                                                   MaximumAgentsCount = 1000,
                                                   SpecialHandlings = new List<TestRunFailureSpecialHandling>()
                                               }
                          };
            unitsFixture = new TestUnitsFixture(testRun);
            resultsfactory = new TestResultsFixture();

            collectionMock = Substitute.For<ITestUnitsCollection>();

            reprocessor = new TestReprocessor(collectionMock, new ConsoleLog(), null);
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestReprocessor"/> class.
 /// </summary>
 /// <param name="collection">The collection.</param>
 /// <param name="log">The log.</param>
 /// <param name="requests">The requests.</param>
 public TestReprocessor(ITestUnitsCollection collection, ILog log, RequestsStorage requests)
 {
     this.collection = collection;
     this.log = log;
     this.requests = requests;
 }