2016-11-01 20:15:44 +00:00
|
|
|
using System;
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
namespace TestNamespace
|
|
|
|
{
|
|
|
|
public class VSTestXunitTests
|
|
|
|
{
|
|
|
|
[Fact]
|
|
|
|
public void VSTestXunitPassTest()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[Fact]
|
|
|
|
public void VSTestXunitFailTest()
|
|
|
|
{
|
2016-11-01 20:26:42 +00:00
|
|
|
Assert.Equal(1, 2);
|
2016-11-01 20:15:44 +00:00
|
|
|
}
|
2016-11-01 20:26:42 +00:00
|
|
|
|
|
|
|
#if DESKTOP
|
|
|
|
[Fact]
|
2016-11-01 20:15:44 +00:00
|
|
|
public void VSTestXunitPassTestDesktop()
|
|
|
|
{
|
|
|
|
}
|
2016-11-01 20:26:42 +00:00
|
|
|
#else
|
|
|
|
[Fact]
|
2016-11-01 20:15:44 +00:00
|
|
|
public void VSTestXunitFailTestNetCoreApp()
|
|
|
|
{
|
2016-11-01 20:26:42 +00:00
|
|
|
Assert.Equal(1, 2);
|
2016-11-01 20:15:44 +00:00
|
|
|
}
|
2016-11-01 20:26:42 +00:00
|
|
|
#endif
|
2016-11-01 20:15:44 +00:00
|
|
|
}
|
|
|
|
}
|