Esempio n. 1
0
            public static void Run(string ipcPortName, Guid linkId)
            {
                LoaderManager.InitializeAndSetupRuntimeIfNeeded();
                // note: after this point we can reference Gallio types.

                ShimWithRuntime.Run(ipcPortName, linkId);
            }
Esempio n. 2
0
        public GallioAdapter()
        {
            LoaderManager.InitializeAndSetupRuntimeIfNeeded();

            testIdProperty = TestProperty.Register("Gallio.TestId", "Test id", typeof(string), typeof(TestCase));

            testCaseFactory        = new TestCaseFactory(testIdProperty);
            cachingTestCaseFactory = new CachingTestCaseFactory(testCaseFactory, testIdProperty);
            testResultFactory      = new TestResultFactory();

            testExplorer = new TestExplorer(cachingTestCaseFactory);
            testRunner   = new TestRunner(cachingTestCaseFactory, testResultFactory, testIdProperty);
        }
Esempio n. 3
0
 static GallioAction()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Esempio n. 4
0
 private static void SetupRuntime()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Esempio n. 5
0
 protected void Application_Start()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
     FullStart();
 }
 public GallioAdapter()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Esempio n. 7
0
 static GallioTestProvider()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Esempio n. 8
0
 static AnnotationDaemonStage()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Esempio n. 9
0
 /// <summary>
 /// Gets the factory for constructing the target of the proxy.
 /// </summary>
 /// <returns>The target factory.</returns>
 public static IProxyTargetFactory GetTargetFactory()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
     return(LoaderManager.Loader.Resolve <IProxyHandler>().TargetFactory);
 }