aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2015-07-25 07:13:08 +0100
committerJon Skeet <skeet@pobox.com>2015-07-25 07:13:08 +0100
commitedff88886b03055f8dff0c0dad61d9450b59a23e (patch)
tree39861cf2bc38c9379144a9291bab10a0c565ca4f /csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
parentbea87743e09b62f58e4cddead09e9170ee7d5d9a (diff)
parent3b8c83eff151aaf1e3d931b2dc9c98684211cde1 (diff)
downloadprotobuf-edff88886b03055f8dff0c0dad61d9450b59a23e.tar.gz
protobuf-edff88886b03055f8dff0c0dad61d9450b59a23e.tar.bz2
protobuf-edff88886b03055f8dff0c0dad61d9450b59a23e.zip
Merge pull request #641 from jtattermusch/csharp_descriptor_database
Expose original binary data for file descriptor
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs')
-rw-r--r--csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
index 5b6dc0fb..e84a0727 100644
--- a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
+++ b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
@@ -82,6 +82,8 @@ namespace Google.Protobuf.Reflection
{
Assert.AreEqual(i, file.EnumTypes[i].Index);
}
+
+ Assert.AreEqual(10, file.SerializedData[0]);
}
[Test]