Exemple #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);
            }
Exemple #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);
        }
 static GallioAction()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Exemple #4
0
 private static void SetupRuntime()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Exemple #5
0
 protected void Application_Start()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
     FullStart();
 }
 public GallioAdapter()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
 static GallioTestProvider()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Exemple #8
0
 static AnnotationDaemonStage()
 {
     LoaderManager.InitializeAndSetupRuntimeIfNeeded();
 }
Exemple #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);
 }