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/DictionaryCompatibilityTests.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/DictionaryCompatibilityTests.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers.Test/Compatibility/DictionaryCompatibilityTests.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/Compatibility/DictionaryCompatibilityTests.cs b/csharp/src/ProtocolBuffers.Test/Compatibility/DictionaryCompatibilityTests.cs index 73037cce..f555b101 100644 --- a/csharp/src/ProtocolBuffers.Test/Compatibility/DictionaryCompatibilityTests.cs +++ b/csharp/src/ProtocolBuffers.Test/Compatibility/DictionaryCompatibilityTests.cs @@ -1,13 +1,10 @@ using System;
using System.Collections.Generic;
-using System.IO;
-using System.Text;
using Google.ProtocolBuffers.Serialization;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
+using Xunit;
namespace Google.ProtocolBuffers.Compatibility
{
- [TestClass]
public class DictionaryCompatibilityTests : CompatibilityTests
{
protected override object SerializeMessage<TMessage, TBuilder>(TMessage message)
@@ -28,7 +25,7 @@ namespace Google.ProtocolBuffers.Compatibility IDictionary<string, object> left = (IDictionary<string, object>)lhs;
IDictionary<string, object> right = (IDictionary<string, object>)rhs;
- Assert.AreEqual(
+ Assert.Equal(
String.Join(",", new List<string>(left.Keys).ToArray()),
String.Join(",", new List<string>(right.Keys).ToArray())
);
|