Example #1
0
 public GridDataTest(TestMethodFixture testMethod, BrokerFixture broker)
 {
     _testMethod      = testMethod.MethodInfo;
     _broker          = broker;
     _sessionProvider = new RSessionProvider();
     _session         = _sessionProvider.GetOrCreate(Guid.NewGuid(), _broker.BrokerConnector);
 }
Example #2
0
        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, () => { });
        }
Example #4
0
 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>();
 }
Example #6
0
 public PackageInstallTest(REditorMefCatalogFixture catalog, BrokerFixture broker) : base(catalog)
 {
     _broker = broker;
 }
Example #7
0
 public SignatureTest(REditorApplicationMefCatalogFixture catalogFixture, BrokerFixture broker, EditorHostMethodFixture editorHost)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _broker         = broker;
     _editorHost     = editorHost;
 }
Example #8
0
 public HelpOnCurrentTest(BrokerFixture broker) : base(broker.BrokerConnector)
 {
 }
Example #9
0
 public HelpWindowTest(BrokerFixture broker) : base(broker.BrokerConnector)
 {
 }
 public RPeekableItemSourceTest(REditorMefCatalogFixture catalog, BrokerFixture broker)
 {
     _exportProvider = catalog.CreateExportProvider();
     _broker         = broker;
 }
Example #11
0
 public EncodingsTest(BrokerFixture broker)
 {
     _broker          = broker;
     _sessionProvider = VsAppShell.Current.ExportProvider.GetExportedValue <IRSessionProvider>();
 }
Example #12
0
 public VariableGridTest(TestFilesFixture files, BrokerFixture broker)
 {
     _files      = files;
     _broker     = broker;
     _hostScript = new VariableRHostScript(SessionProvider, _broker.BrokerConnector);
 }
Example #13
0
 public VariableExplorerTest(TestFilesFixture files, BrokerFixture brokerFixture) :
     base(brokerFixture.BrokerConnector)
 {
     _files = files;
 }