dotnet-installer/TestAssets/TestProjects/VSTestDesktopAndNetCore/Tests.cs

32 lines
550 B
C#
Raw Normal View History

using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestNamespace
{
[TestClass]
public class VSTestTests
{
[TestMethod]
public void VSTestPassTest()
{
}
[TestMethod]
public void VSTestFailTest()
{
Assert.Fail();
}
2016-11-01 20:26:42 +00:00
#if DESKTOP
[TestMethod]
public void VSTestPassTestDesktop()
{
}
2016-11-01 20:26:42 +00:00
#else
[TestMethod]
public void VSTestFailTestNetCoreApp()
{
Assert.Fail();
}
2016-11-01 20:26:42 +00:00
#endif
}
}