public IntellisenseTest(REditorApplicationMefCatalogFixture catalog, EditorHostMethodFixture editorHost) : base(catalog) { _editorHost = editorHost; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(IntellisenseTest)); _sessionProvider = _exportProvider.GetExportedValue <IRSessionProvider>(); }
public Output(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionTest) + nameof(Output)); _session = new RSession(0, _brokerConnector, () => { }); }
public IdeGraphicsDeviceTest(GraphicsDeviceTestFilesFixture files, TestMethodFixture testMethod) { _files = files; _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(IdeGraphicsDeviceTest)); }
public BlobsTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(BlobsTest)); _sessionProvider = new RSessionProvider(); _session = _sessionProvider.GetOrCreate(Guid.NewGuid(), _brokerConnector); }
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 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(); }
private void SwitchBroker(IConnection connection) { ActiveConnection = connection; SaveActiveConnectionToSettings(); if (connection.IsRemote) { _brokerConnector.SwitchToRemoteBroker(connection.Id); } else { _brokerConnector.SwitchToLocalBroker(connection.Name, connection.Path); } }
public BrokerFixture() { BrokerConnector = new RHostBrokerConnector(); BrokerConnector.SwitchToLocalBroker(this.GetType().Name); }
public RSessionTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionTest)); }
public XamlGraphicsDeviceTest(TestMethodFixture testMethod) { _testMethod = testMethod.MethodInfo; _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(XamlGraphicsDeviceTest)); }
public RSessionProviderTest() { _brokerConnector = new RHostBrokerConnector(); _brokerConnector.SwitchToLocalBroker(nameof(RSessionProviderTest)); }