public IdeGraphicsDeviceTest(GraphicsDeviceTestFilesFixture files, TestMethodFixture testMethod) { _files = files; _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(IdeGraphicsDeviceTest)); }
public ReadInput(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _session = new RSession(0, () => { }); _callback = new RSessionCallbackStub(); }
public CancelAll(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest) + nameof(CancelAll)); _callback = new RSessionCallbackStub(); _session = new RSession(0, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => {}); }
public ReadInput(CoreServicesFixture coreServices, TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _brokerClient = CreateLocalBrokerClient(coreServices, nameof(RSessionTest) + nameof(ReadInput)); _session = new RSession(0, testMethod.FileSystemSafeName, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); _callback = new RSessionCallbackStub(); }
public CancelAll(IServiceContainer services, TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _callback = new RSessionCallbackStub(); _brokerClient = CreateLocalBrokerClient(services, nameof(RSessionTest) + nameof(CancelAll)); _session = new RSession(0, testMethod.FileSystemSafeName, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => {}); }
public InteractionEvaluation(IServiceContainer services, TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod; _brokerClient = CreateLocalBrokerClient(services, nameof(RSessionTest) + nameof(InteractionEvaluation)); _session = new RSession(0, _testMethod.FileSystemSafeName, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); }
public RSessionTest(IServiceContainer services, TestMethodFixture testMethod) { _services = services; _testMethod = testMethod; _brokerClient = CreateLocalBrokerClient(services, nameof(RSessionTest)); _fileSystem = _services.FileSystem(); }
public ViewersTest(TestMethodFixture testMethod) { _testMethod = testMethod; _aggregator = VsAppShell.Current.ExportProvider.GetExportedValue <IObjectDetailsViewerAggregator>(); _workflow = VsAppShell.Current.ExportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate(); _sessionProvider = _workflow.RSessions; }
public RPackageManagerViewModelTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); var workflowProvider = _exportProvider.GetExportedValue<TestRInteractiveWorkflowProvider>(); _workflow = UIThreadHelper.Instance.Invoke(() => workflowProvider.GetOrCreate()); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
public RPackageManagerViewModelTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); _workflow = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>().GetOrCreate(); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
public GridDataTest(IServiceContainer services, TestMethodFixture testMethod) { _services = services; _sessionProvider = new RSessionProvider(services); _session = _sessionProvider.GetOrCreate(testMethod.FileSystemSafeName); _dataSource = new GridDataSource(_session); }
public Blobs(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest) + nameof(Blobs)); _session = new RSession(0, _brokerClient, () => { }); }
public RInteractiveWorkflowCommandTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _exportProvider = catalog.CreateExportProvider(); _workflow = _exportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate(); _componentContainerFactory = _exportProvider.GetExportedValue <IInteractiveWindowComponentContainerFactory>(); }
public ReadInput(TestMethodFixture testMethod) { _testMethodFixture = testMethod; _testMethod = testMethod.MethodInfo; _session = new RSession(0, () => { }); _callback = new RSessionCallbackStub(); }
public Output(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionTest) + nameof(Output)); _session = new RSession(0, _brokerConnector, () => { }); }
public ValuesTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _sessionProvider = new RSessionProvider(TestCoreServices.CreateReal()); _session = _sessionProvider.GetOrCreate(Guid.NewGuid()); }
public Blobs(IServiceContainer services, TestMethodFixture testMethod) { _testMethod = testMethod; _brokerClient = CreateLocalBrokerClient(services, nameof(RSessionTest) + nameof(Blobs)); _fileSystem = services.FileSystem(); _session = new RSession(0, testMethod.FileSystemSafeName, _fileSystem, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); }
public GridDataTest(TestMethodFixture testMethod, BrokerFixture broker) { _testMethod = testMethod.MethodInfo; _broker = broker; _sessionProvider = new RSessionProvider(); _session = _sessionProvider.GetOrCreate(Guid.NewGuid(), _broker.BrokerConnector); }
public ReadInput(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest) + nameof(ReadInput)); _session = new RSession(0, _brokerClient, () => { }); _callback = new RSessionCallbackStub(); }
public Blobs(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionTest) + nameof(Blobs)); _session = new RSession(0, _brokerConnector, () => { }); }
public Blobs(CoreServicesFixture coreServices, TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _coreServices = coreServices; _taskObserver = taskObserver; _testMethod = testMethod; _brokerClient = CreateLocalBrokerClient(_coreServices, nameof(RSessionTest) + nameof(Blobs)); _session = new RSession(0, testMethod.FileSystemSafeName, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); }
public BlobsTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(BlobsTest)); _sessionProvider = new RSessionProvider(); _session = _sessionProvider.GetOrCreate(Guid.NewGuid(), _brokerConnector); }
public ReadInput(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionTest) + nameof(ReadInput)); _session = new RSession(0, _brokerConnector, () => { }); _callback = new RSessionCallbackStub(); }
public RPackageManagerViewModelTest(IServiceContainer services, TestMethodFixture testMethod, TestFilesFixture testFiles) { _services = services; var workflowProvider = _services.GetService <IRInteractiveWorkflowProvider>(); _workflow = UIThreadHelper.Instance.Invoke(() => workflowProvider.GetOrCreate()); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
public RPlotIntegrationTest(IExportProvider exportProvider, TestMethodFixture testMethod, TestFilesFixture testFiles) { _workflowProvider = exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); _workflow = _workflowProvider.GetOrCreate(); _plotDeviceVisualComponentContainerFactory = exportProvider.GetExportedValue <TestRPlotDeviceVisualComponentContainerFactory>(); _plotHistoryVisualComponentContainerFactory = exportProvider.GetExportedValue <IRPlotHistoryVisualComponentContainerFactory>(); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
public PlotIntegrationTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); _workflowProvider = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); _workflow = _exportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate(); _componentContainerFactory = _exportProvider.GetExportedValue <IInteractiveWindowComponentContainerFactory>(); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
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 RPackageManagerViewModelTest(IExportProvider exportProvider, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = exportProvider; var workflowProvider = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); _workflow = UIThreadHelper.Instance.Invoke(() => workflowProvider.GetOrCreate()); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
public RPackageManagerViewModelTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); var workflowProvider = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); workflowProvider.BrokerName = nameof(RPackageManagerViewModelTest); _workflow = UIThreadHelper.Instance.Invoke(() => workflowProvider.GetOrCreate()); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; }
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); }
public RPlotIntegrationTest(IServiceContainer services, TestMethodFixture testMethod, TestFilesFixture testFiles) { _workflowProvider = services.GetService <TestRInteractiveWorkflowProvider>(); _workflow = _workflowProvider.GetOrCreate(); _plotDeviceVisualComponentContainerFactory = services.GetService <TestRPlotDeviceVisualComponentContainerFactory>(); _plotHistoryVisualComponentContainerFactory = services.GetService <IRPlotHistoryVisualComponentContainerFactory>(); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; _ui = _workflow.Shell.UI() as TestUIServices; }
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); }
public PackageManagerIntegrationTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod, TestFilesFixture testFiles) { _exportProvider = catalog.CreateExportProvider(); _workflowProvider = _exportProvider.GetExportedValue <TestRInteractiveWorkflowProvider>(); _testMethod = testMethod.MethodInfo; _testFiles = testFiles; _workflowProvider.HostClientApp = new RHostClientTestApp(); _repo1Path = _testFiles.GetDestinationPath(Path.Combine("Repos", TestRepositories.Repo1)); _libPath = Path.Combine(_testFiles.GetDestinationPath("library"), _testMethod.Name); _lib2Path = Path.Combine(_testFiles.GetDestinationPath("library2"), _testMethod.Name); Directory.CreateDirectory(_libPath); Directory.CreateDirectory(_lib2Path); }
public Output(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest) + nameof(Output)); _session = new RSession(0, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); }
public BlobsTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _sessionProvider = new RSessionProvider(TestCoreServices.CreateReal()); _session = _sessionProvider.GetOrCreate(Guid.NewGuid()); }
public InteractionEvaluation(TestMethodFixture testMethod, TaskObserverMethodFixture taskObserver) { _taskObserver = taskObserver; _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest) + nameof(InteractionEvaluation)); _session = new RSession(0, _brokerClient, new AsyncReaderWriterLock().CreateExclusiveReaderLock(), () => { }); }
public XamlGraphicsDeviceTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; }
public IdeGraphicsDeviceTest(GraphicsDeviceTestFilesFixture files, TestMethodFixture testMethod) { _files = files; _testMethod = testMethod.MethodInfo; }
public RInteractiveWorkflowCommandTest(RComponentsMefCatalogFixture catalog, TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _exportProvider = catalog.CreateExportProvider(); _workflow = _exportProvider.GetExportedValue<IRInteractiveWorkflowProvider>().GetOrCreate(); _settings = _exportProvider.GetExportedValue<IRSettings>(); }
public RSessionTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerClient = CreateLocalBrokerClient(nameof(RSessionTest)); }