aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@google.com>2015-07-24 20:27:35 -0700
committerJan Tattermusch <jtattermusch@google.com>2015-07-24 20:27:35 -0700
commit3b8c83eff151aaf1e3d931b2dc9c98684211cde1 (patch)
tree39861cf2bc38c9379144a9291bab10a0c565ca4f /csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
parentbea87743e09b62f58e4cddead09e9170ee7d5d9a (diff)
downloadprotobuf-3b8c83eff151aaf1e3d931b2dc9c98684211cde1.tar.gz
protobuf-3b8c83eff151aaf1e3d931b2dc9c98684211cde1.tar.bz2
protobuf-3b8c83eff151aaf1e3d931b2dc9c98684211cde1.zip
expose original binary data for filedescriptor
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]