This commit is contained in:
Terje Sandstrom 2014-04-06 01:11:19 +02:00
Родитель 99e4a1baa8
Коммит ce91e1fb1c
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -3,7 +3,7 @@
<Identifier Id="NUnitTestAdapterInstall..7c53286e-ac4f-485f-915c-5ec5a4c47b0c">
<Name>NUnit Test Adapter</Name>
<Author>Charlie Poole</Author>
<Version>1.0.0.10</Version>
<Version>1.0.0.30</Version>
<Description xml:space="preserve">NUnit adapter for integrated test execution under Visual Studio 2012 (all updates),and Visual Studio 2013 (all updates). Compatible with NUnit 2.0 through 2.6.3.</Description>
<Locale>1033</Locale>
<MoreInfoUrl>http://nunit.org/index.php?p=vsTestAdapter&amp;r=2.6.2</MoreInfoUrl>

Просмотреть файл

@ -30,7 +30,7 @@ namespace NUnit.VisualStudio.TestAdapter.Tests
// Load the NUnit mock-assembly.dll once for this test, saving
// the list of test cases sent to the discovery sink
nunittestDiscoverer = ((ITestDiscoverer)new NUnitTestDiscoverer());
nunittestDiscoverer.DiscoverTests(new[] { mockAssemblyPath }, null, this, this);
nunittestDiscoverer.DiscoverTests(new[] { MockAssemblyPath}, null, this, this);
}
[Test]

Просмотреть файл

@ -22,6 +22,7 @@ namespace NUnit.VisualStudio.TestAdapter.Tests
private List<TestResult> testResults;
private FakeFrameworkHandle testLog;
private static ITestExecutor executor;
ResultSummary Summary { get; set; }
[TestFixtureSetUp]
@ -37,8 +38,8 @@ namespace NUnit.VisualStudio.TestAdapter.Tests
// Load the NUnit mock-assembly.dll once for this test, saving
// the list of test cases sent to the discovery sink
executor = ((ITestExecutor) new NUnitTestExecutor());
executor.RunTests(new[] { mockAssemblyPath }, context, testLog);
this.summary = new ResultSummary(testResults);
executor.RunTests(new[] { MockAssemblyPath }, Context, testLog);
this.Summary = new ResultSummary(testResults);
}
[Test]