File tree Expand file tree Collapse file tree 3 files changed +45
-2
lines changed
TestUnitTestingAndTraitsWithNuGet/UnitTestProject1 Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Original file line number Diff line number Diff line change 1+ using System ;
2+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
3+
4+ namespace MultiTest
5+ {
6+ [ TestClass ]
7+ public class AsyncMS
8+ {
9+ [ TestCategory ( "Async" ) ]
10+ [ TestMethod ]
11+ public async void AsyncTestMS1 ( )
12+ {
13+ Assert . IsTrue ( true ) ;
14+ }
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
3+
4+ namespace DerivedClassTestMS
5+ {
6+ [ TestClass ]
7+ abstract public class MSUnitTestBase
8+ {
9+ [ TestMethod ]
10+ public void BaseTestMethod1 ( )
11+ {
12+ Assert . IsTrue ( true ) ;
13+ }
14+ }
15+
16+ [ TestClass ]
17+ public class MSUnitTestDerived : MSUnitTestBase
18+ {
19+ [ TestMethod ]
20+ public void DerivedTestMethod ( )
21+ {
22+ Assert . IsTrue ( true ) ;
23+ }
24+ }
25+
26+
27+ }
Original file line number Diff line number Diff line change 124124 <Compile Include =" MSTest1.cs" />
125125 <Compile Include =" Properties\AssemblyInfo.cs" />
126126 <Compile Include =" MbUnitTest.cs" />
127- <Compile Include =" UnitTest1 .cs" />
128- <Compile Include =" UnitTest2 .cs" />
127+ <Compile Include =" DerivedClassTestMS .cs" />
128+ <Compile Include =" AsyncMSTest .cs" />
129129 <Compile Include =" XUnitTest.cs" />
130130 <Compile Include =" XUnitTest1.cs" />
131131 </ItemGroup >
You can’t perform that action at this time.
0 commit comments