diff options
author | Jon Skeet <jonskeet@google.com> | 2015-04-30 11:05:36 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-04-30 11:29:35 +0100 |
commit | c56475088d2d36d29a2640f35b9a8621796c051c (patch) | |
tree | eee4106598d0faf92b566f7e03930f25df38a56c /csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs | |
parent | ce97e686826147e2a071fd2321555f7d40ec5d93 (diff) | |
download | protobuf-c56475088d2d36d29a2640f35b9a8621796c051c.tar.gz protobuf-c56475088d2d36d29a2640f35b9a8621796c051c.tar.bz2 protobuf-c56475088d2d36d29a2640f35b9a8621796c051c.zip |
Change to using xUnit for all unit tests, and fetch that via NuGet.
This includes fetching the VS unit test runner package, so that tests can be run from Visual Studio's Test Explorer.
Diffstat (limited to 'csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs b/csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs index c2eaadf6..2d74cf9f 100644 --- a/csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs +++ b/csharp/src/ProtocolBuffers.Test/Compatibility/TextCompatibilityTests.cs @@ -1,10 +1,8 @@ -using System.ComponentModel;
using System.IO;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
+using Xunit;
namespace Google.ProtocolBuffers.Compatibility
{
- [TestClass]
public class TextCompatibilityTests : CompatibilityTests
{
protected override object SerializeMessage<TMessage, TBuilder>(TMessage message)
@@ -20,14 +18,14 @@ namespace Google.ProtocolBuffers.Compatibility return builder;
}
//This test can take a very long time to run.
- [TestMethod]
+ [Fact]
public override void RoundTripMessage2OptimizeSize()
{
//base.RoundTripMessage2OptimizeSize();
}
//This test can take a very long time to run.
- [TestMethod]
+ [Fact]
public override void RoundTripMessage2OptimizeSpeed()
{
//base.RoundTripMessage2OptimizeSpeed();
|