2017-03-02 21:04:03 -08: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 20:10:18 +05:30
|
|
|
|
|
|
|
|
|
namespace TestNamespace
|
|
|
|
|
{
|
|
|
|
|
[TestClass]
|
|
|
|
|
public class VSTestTests
|
|
|
|
|
{
|
|
|
|
|
[TestMethod]
|
|
|
|
|
public void VSTestPassTest()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestMethod]
|
|
|
|
|
public void VSTestFailTest()
|
|
|
|
|
{
|
|
|
|
|
Assert.Fail();
|
|
|
|
|
}
|
2016-11-02 01:56:42 +05:30
|
|
|
|
|
|
|
|
|
#if DESKTOP
|
|
|
|
|
[TestMethod]
|
2016-10-25 20:10:18 +05:30
|
|
|
|
public void VSTestPassTestDesktop()
|
|
|
|
|
{
|
|
|
|
|
}
|
2016-11-02 01:56:42 +05:30
|
|
|
|
#else
|
|
|
|
|
[TestMethod]
|
2016-10-25 20:10:18 +05:30
|
|
|
|
public void VSTestFailTestNetCoreApp()
|
|
|
|
|
{
|
|
|
|
|
Assert.Fail();
|
|
|
|
|
}
|
2016-11-02 01:56:42 +05:30
|
|
|
|
#endif
|
2016-10-25 20:10:18 +05:30
|
|
|
|
}
|
2017-03-02 20:35:20 -08:00
|
|
|
|
}
|