aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf.Test/Reflection
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 13:23:44 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 13:23:44 -0700
commit143688f68bc179f57a8bc97158604ae4248c1730 (patch)
tree7021f740b29dcf89d9b1f5cfaa9d601052701267 /csharp/src/Google.Protobuf.Test/Reflection
parenta55a4449efe3a8677e49b47d329e673e00fbdd28 (diff)
add a failing descriptor test
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/Reflection')
-rw-r--r--csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
index 643816e6..5f3aba1a 100644
--- a/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
+++ b/csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs
@@ -251,5 +251,12 @@ namespace Google.Protobuf.Reflection
Assert.AreEqual(new[] { 11, 1, 101, 200 }, fields.InDeclarationOrder().Select(x => x.FieldNumber));
Assert.AreEqual(new[] { 1, 11, 101, 200 }, fields.InFieldNumberOrder().Select(x => x.FieldNumber));
}
+
+
+ [Test]
+ public void DescriptorProtoFileDescriptor()
+ {
+ var descriptor = Google.Protobuf.Reflection.FileDescriptor.DescriptorProtoFileDescriptor;
+ }
}
}