Exemple #1
0
 public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, EditorHostMethodFixture editorHost) : base(catalog)
 {
     _editorHost      = editorHost;
     _brokerConnector = new RHostBrokerConnector();
     _brokerConnector.SwitchToLocalBroker(nameof(IntellisenseTest));
     _sessionProvider = _exportProvider.GetExportedValue <IRSessionProvider>();
 }
        public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, EditorHostMethodFixture editorHost) : base(catalog)
        {
            _editorHost = editorHost;

            var workflow = ExportProvider.GetExportedValue <IRInteractiveWorkflowProvider>().GetOrCreate();

            _sessionProvider = workflow.RSessions;
        }
 public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, BrokerFixture broker, EditorHostMethodFixture editorHost) : base(catalog)
 {
     _editorHost      = editorHost;
     _broker          = broker;
     _sessionProvider = _exportProvider.GetExportedValue <IRSessionProvider>();
 }
Exemple #4
0
 public SignatureTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorHost = editorHost;
 }
Exemple #5
0
 public SignatureTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorHost     = editorHost;
 }
 public MarkdownRCompletionTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _sessionProvider = UIThreadHelper.Instance.Invoke(() => _exportProvider.GetExportedValue<IRInteractiveWorkflowProvider>().GetOrCreate()).RSessions;
     _editorHost = editorHost;
 }
Exemple #7
0
 public OutlineTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost, EditorAppTestFilesFixture files)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorHost     = editorHost;
     _files          = files;
 }
Exemple #8
0
 public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, EditorHostMethodFixture editorHost) : base(catalog) {
     _editorHost = editorHost;
 }
Exemple #9
0
 public TypeFileTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost, EditorAppTestFilesFixture files) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorHost = editorHost;
     _files = files;
 }
Exemple #10
0
 public MarkdownRCompletionTest(REditorApplicationMefCatalogFixture catalogFixture, SessionProviderFixture sessionProviderFixture, EditorHostMethodFixture editorHost)
 {
     _exportProvider  = catalogFixture.CreateExportProvider();
     _sessionProvider = sessionProviderFixture.SessionProvider;
     _editorHost      = editorHost;
 }
Exemple #11
0
 public AutoFormatTest(REditorApplicationMefCatalogFixture catalogFixture, EditorHostMethodFixture editorHost) {
     _exportProvider = catalogFixture.CreateExportProvider();
     _editorHost = editorHost;
     _autoFormat = REditorSettings.AutoFormat;
     REditorSettings.AutoFormat = true;
 }
 public MarkdownRCompletionTest(REditorApplicationMefCatalogFixture catalogFixture, BrokerFixture broker, EditorHostMethodFixture editorHost)
 {
     _exportProvider = catalogFixture.CreateExportProvider();
     _broker         = broker;
     _editorHost     = editorHost;
 }