public GridDataTest(TestMethodFixture testMethod, BrokerFixture broker) { _testMethod = testMethod.MethodInfo; _broker = broker; _sessionProvider = new RSessionProvider(); _session = _sessionProvider.GetOrCreate(Guid.NewGuid(), _broker.BrokerConnector); }
public ViewersTest(BrokerFixture broker) { _sessionProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRSessionProvider>(); _aggregator = VsAppShell.Current.ExportProvider.GetExportedValue <IObjectDetailsViewerAggregator>(); _workflow = VsAppShell.Current.ExportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate(); _broker = broker; }
public CurrentDirectoryTest(BrokerFixture broker) { _broker = broker; _sessionProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRSessionProvider>(); var connectionsProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IConnectionManagerProvider>(); var historyProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRHistoryProvider>(); var packagesProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRPackageManagerProvider>(); var plotsProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRPlotManagerProvider>(); var activeTextViewTracker = new ActiveTextViewTrackerMock(string.Empty, string.Empty); var debuggerModeTracker = new TestDebuggerModeTracker(); _interactiveWorkflow = new RInteractiveWorkflow( _sessionProvider, connectionsProvider, historyProvider, packagesProvider, plotsProvider, activeTextViewTracker, debuggerModeTracker, _broker.BrokerConnector, VsAppShell.Current, RToolsSettings.Current, null, () => { }); }
public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, BrokerFixture broker, EditorHostMethodFixture editorHost) : base(catalog) { _editorHost = editorHost; _broker = broker; _sessionProvider = _exportProvider.GetExportedValue <IRSessionProvider>(); }
public EvaluationWrapperTest(BrokerFixture broker) { _broker = broker; _sessionProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRSessionProvider>(); }
public PackageInstallTest(REditorMefCatalogFixture catalog, BrokerFixture broker) : base(catalog) { _broker = broker; }
public SignatureTest(REditorApplicationMefCatalogFixture catalogFixture, BrokerFixture broker, EditorHostMethodFixture editorHost) { _exportProvider = catalogFixture.CreateExportProvider(); _broker = broker; _editorHost = editorHost; }
public HelpOnCurrentTest(BrokerFixture broker) : base(broker.BrokerConnector) { }
public HelpWindowTest(BrokerFixture broker) : base(broker.BrokerConnector) { }
public RPeekableItemSourceTest(REditorMefCatalogFixture catalog, BrokerFixture broker) { _exportProvider = catalog.CreateExportProvider(); _broker = broker; }
public EncodingsTest(BrokerFixture broker) { _broker = broker; _sessionProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRSessionProvider>(); }
public VariableGridTest(TestFilesFixture files, BrokerFixture broker) { _files = files; _broker = broker; _hostScript = new VariableRHostScript(SessionProvider, _broker.BrokerConnector); }
public VariableExplorerTest(TestFilesFixture files, BrokerFixture brokerFixture) : base(brokerFixture.BrokerConnector) { _files = files; }