GetRepoPath() public static method

public static GetRepoPath ( TestFilesFixture testFiles ) : string
testFiles TestFilesFixture
return string
コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }