Пример #1
0
        protected override ITestRunner CreateTestRunner(IProject project)
        {
            MockTestRunner testRunner = new MockTestRunner();

            TestRunnersCreated.Add(testRunner);
            return(testRunner);
        }
        public ITestRunner CreateTestDebugger()
        {
            MockTestRunner testRunner = new MockTestRunner();

            testDebuggersCreated.Add(testRunner);
            return(testRunner);
        }
Пример #3
0
		public ITestRunner CreateTestDebugger()
		{
			MockTestRunner testRunner = new MockTestRunner();
			testDebuggersCreated.Add(testRunner);
			return testRunner;
		}
		public void Init()
		{
			testRunner = new MockTestRunner();
		}
		protected override ITestRunner CreateTestRunner(IProject project)
		{
			MockTestRunner testRunner = new MockTestRunner();
			TestRunnersCreated.Add(testRunner);
			return testRunner;
		}
		public void TestRunnersCreatedAreSaved()
		{
			MockTestRunner testRunner = runTestCommand.CallCreateTestRunner(null) as MockTestRunner;
			MockTestRunner[] expectedTestRunners = new MockTestRunner[] { testRunner };
			Assert.AreEqual(expectedTestRunners, runTestCommand.TestRunnersCreated.ToArray());
		}