示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResultsStorage"/> class.
 /// </summary>
 /// <param name="processor">The processor.</param>
 /// <param name="serializer">The serializer.</param>
 /// <param name="log">The log.</param>
 /// <param name="parameters">The parameters.</param>
 /// <param name="folderName">Name of the folder.</param>
 public ResultsStorage(TestResultsProcessor processor, ITestResultsSerializer serializer, ILog log, BootstrapperParameters parameters, string folderName)
 {
     this.processor = processor;
     this.serializer = serializer;
     this.log = log;
     this.parameters = parameters;
     this.folderName = folderName;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Client"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 /// <param name="updateReceiver">The update receiver.</param>
 /// <param name="connectionProvider">The connection provider.</param>
 /// <param name="versionProvider">The version provider.</param>
 /// <param name="parametersReader">The file reader.</param>
 /// <param name="packager">The packager.</param>
 /// <param name="resultsProcessor">The results processor.</param>
 /// <param name="serializer">The serializer.</param>
 /// <param name="log">The log.</param>
 public Client(ClientParameters options,
               IUpdateReceiver updateReceiver,
               IConnectionProvider connectionProvider,
               IVersionProvider versionProvider,
               ITestRunParametersFileReader parametersReader,
               IProjectPackager packager,
               TestResultsProcessor resultsProcessor,
               ITestResultsSerializer serializer,
               ILog log)
 {
     this.options = options;
     this.updateReceiver = updateReceiver;
     this.connectionProvider = connectionProvider;
     this.versionProvider = versionProvider;
     this.parametersReader = parametersReader;
     this.packager = packager;
     this.resultsProcessor = resultsProcessor;
     this.serializer = serializer;
     this.log = log;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RunResultsCollection"/> class.
 /// </summary>
 /// <param name="processor">The processor.</param>
 /// <param name="log">The log.</param>
 public RunResultsCollection(TestResultsProcessor processor, ILog log)
 {
     this.processor = processor;
     this.log = log;
 }
 public void Init()
 {
     data = new TestEntitiesGenerator();
     processor = new TestResultsProcessor();
 }