dotnet-installer/TestAssets/TestProjects/XunitMulti/UnitTest1.cs

36 lines
693 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 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:26:42 +00:00
#if DESKTOP
[Fact]
public void VSTestXunitPassTestDesktop()
{
}
2016-11-01 20:26:42 +00:00
#else
[Fact]
public void VSTestXunitFailTestNetCoreApp()
{
2016-11-01 20:26:42 +00:00
Assert.Equal(1, 2);
}
2016-11-01 20:26:42 +00:00
#endif
}
}