Skip to content

Commit f4c0361

Browse files
author
Terje Sandstrom
committed
file renaming
1 parent 2fa2c1c commit f4c0361

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
}

TestUnitTestingAndTraitsWithNuGet/UnitTestProject1/MultiTest.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@
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>

0 commit comments

Comments
 (0)