2017-03-03 05:04:03 +00:00
|
|
|
|
// 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;
|
2016-10-25 14:40:18 +00:00
|
|
|
|
|
|
|
|
|
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]
|
2016-10-25 14:40:18 +00:00
|
|
|
|
public void VSTestPassTestDesktop()
|
|
|
|
|
{
|
|
|
|
|
}
|
2016-11-01 20:26:42 +00:00
|
|
|
|
#else
|
|
|
|
|
[TestMethod]
|
2016-10-25 14:40:18 +00:00
|
|
|
|
public void VSTestFailTestNetCoreApp()
|
|
|
|
|
{
|
|
|
|
|
Assert.Fail();
|
|
|
|
|
}
|
2016-11-01 20:26:42 +00:00
|
|
|
|
#endif
|
2016-10-25 14:40:18 +00:00
|
|
|
|
}
|
2017-03-03 04:35:20 +00:00
|
|
|
|
}
|