public PackageManagerIntegrationTest(IServiceContainer services, TestMethodFixture testMethod, TestFilesFixture testFiles) { _services = services; _workflowProvider = _services.GetService <TestRInteractiveWorkflowProvider>(); _repoPath = TestRepositories.GetRepoPath(testFiles); _libPath = Path.Combine(testFiles.LibraryDestinationPath, testMethod.MethodInfo.Name); _lib2Path = Path.Combine(testFiles.Library2DestinationPath, testMethod.MethodInfo.Name); Directory.CreateDirectory(_libPath); Directory.CreateDirectory(_lib2Path); }
public PackageManagerIntegrationTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); _workflowProvider = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); _testMethod = testMethod.MethodInfo; _repoPath = TestRepositories.GetRepoPath(testFiles); _libPath = Path.Combine(testFiles.LibraryDestinationPath, _testMethod.Name); _lib2Path = Path.Combine(testFiles.Library2DestinationPath, _testMethod.Name); Directory.CreateDirectory(_libPath); Directory.CreateDirectory(_lib2Path); }