diff options
author | Jon Skeet <jonskeet@google.com> | 2016-05-11 18:07:03 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-05-11 18:07:03 +0100 |
commit | 7cc9cb407b52565b49c9d813188d144de5f7843e (patch) | |
tree | 7808610ec715f6d978fade327b2dc22f4867737b /csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs | |
parent | cca2d44ef10bc338e59884d0918c42e05b02d4bd (diff) | |
download | protobuf-7cc9cb407b52565b49c9d813188d144de5f7843e.tar.gz protobuf-7cc9cb407b52565b49c9d813188d144de5f7843e.tar.bz2 protobuf-7cc9cb407b52565b49c9d813188d144de5f7843e.zip |
Move test for standalone BoolValue to JsonParserTest
Also added a standalone formatter test, for confidence.
Have validated that undoing the change in 835fb947 breaks the tests
(i.e. we are still testing that the change is required).
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs')
-rw-r--r-- | csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs b/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs index 18d18be3..5b7185dc 100644 --- a/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs +++ b/csharp/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs @@ -417,12 +417,5 @@ namespace Google.Protobuf.WellKnownTypes TestWellKnownTypes.Descriptor.Fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.Clear(message); Assert.IsNull(message.StringField); } - - [Test] - public void GivenBoolValueWhenPerformingRoundTripEncodingViaJsonThenShouldNotExpectObjectAtTopLevel() - { - var value = new BoolValue { Value = true }; - Assert.AreEqual(value, JsonParser.Default.Parse<BoolValue>(JsonFormatter.Default.Format(value))); - } } } |