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

36 lines
726 B
C#
Raw Normal View History

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
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
}
}