public void SetUp() { CreateProcessExecutorMock("mockPath\\TF.exe"); mockRegistry = new RegistryStub(); historyParser = new VstsHistoryParser(); vsts = new Vsts((ProcessExecutor)mockProcessExecutor.MockInstance, historyParser, mockRegistry); vsts.Username = fakeUsername; vsts.Password = fakePassword; vsts.WorkingDirectory = DefaultWorkingDirectory; vsts.Server = fakeTfsPath; vsts.ProjectPath = fakeProjectPath; today = DateTime.Now; yesterday = today.AddDays(-1); }
public Vsts(ProcessExecutor executor, IHistoryParser parser, IRegistry registry) : base(parser, executor) { this.registry = registry; this.executor = executor; this.parser = parser as VstsHistoryParser; }