Exemplo n.º 1
0
        public DevOpsAccessFactory(AzureDevOpsHttpClients azureDevOpsHttpClients, Messages messages, IOutputAccess outputAccess, InputOptions options, Counter counter)
        {
            _azureDevOpsHttpClients = azureDevOpsHttpClients;

            _messages     = messages;
            _outputAccess = outputAccess;
            _options      = options;
            _counter      = counter;
        }
 public DevOpsManagerFactory(IDevOpsAccess devOpsAccess, IOutputManager outputManager, IOutputAccess outputAccess, ITestCaseAccess testCaseAccess, Counter counter, Messages messages = null)
 {
     _counter        = counter;
     _devOpsAccess   = devOpsAccess;
     _outputAccess   = outputAccess;
     _outputManager  = outputManager;
     _testCaseAccess = testCaseAccess;
     _messages       = messages ?? new Messages();
 }
Exemplo n.º 3
0
        private static void InitializeAccesses()
        {
            _commandLineAccess = CreateCommandLineAccess(_isLocal, _messages, _azureDevOpsColors);
            _fileAccess        = CreateFileAccess();

            var httpClients = RetrieveHttpClients(CreateVssConnection());

            ValidateDevOpsCredentials(httpClients.TestManagementHttpClient);
            _devOpsAccess = new AzureDevOpsAccess(httpClients, _messages, _commandLineAccess, _inputOptions, _counter);
        }
 public CommandLineArgumentsParser(IOutputAccess commandlineAccess, Messages messages)
 {
     _commandLineAccess = commandlineAccess;
     _messages          = messages;
 }
Exemplo n.º 5
0
 public FileManager(Messages messages, IFileAccess fileAccess, IOutputAccess outputAccess)
 {
     _messages     = messages;
     _fileAccess   = fileAccess;
     _outputAccess = outputAccess;
 }
 public OutputManagerFactory(Messages messages, IOutputAccess outputAccess, Counter counter = null)
 {
     _messages     = messages;
     _outputAccess = outputAccess;
     _counter      = counter ?? new Counter();
 }
 public OutputManager(Messages messages, IOutputAccess outputAccess, Counter.Counter counter)
 {
     _counter      = counter;
     _messages     = messages;
     _outputAccess = outputAccess;
 }
Exemplo n.º 8
0
 public FileManagerFactory(IFileAccess fileAccess, IOutputAccess outputAccess)
 {
     _fileAccess   = fileAccess;
     _outputAccess = outputAccess;
     _messages     = new Messages();
 }