상속: IRInteractiveWorkflowProvider
예제 #1
0
 public RPlotIntegrationTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) {
     _exportProvider = catalog.CreateExportProvider();
     _workflowProvider = _exportProvider.GetExportedValue<TestRInteractiveWorkflowProvider>();
     _workflow = _workflowProvider.GetOrCreate();
     _plotDeviceVisualComponentContainerFactory = _exportProvider.GetExportedValue<TestRPlotDeviceVisualComponentContainerFactory>();
     _plotHistoryVisualComponentContainerFactory = _exportProvider.GetExportedValue<IRPlotHistoryVisualComponentContainerFactory>();
     _testMethod = testMethod.MethodInfo;
     _testFiles = testFiles;
 }
 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);
 }
예제 #3
0
 public ProjectCommandsTest() {
     var connectionsProvider = VsAppShell.Current.ExportProvider.GetExportedValue<IConnectionManagerProvider>();
     var historyProvider = VsAppShell.Current.ExportProvider.GetExportedValue<IRHistoryProvider>();
     var packagesProvider = VsAppShell.Current.ExportProvider.GetExportedValue<IRPackageManagerProvider>();
     _interactiveWorkflowProvider = TestRInteractiveWorkflowProviderFactory.Create(connectionsProvider, historyProvider, packagesProvider);
 }