diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-08-14 13:23:44 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-08-14 13:23:44 -0700 |
commit | 143688f68bc179f57a8bc97158604ae4248c1730 (patch) | |
tree | 7021f740b29dcf89d9b1f5cfaa9d601052701267 | |
parent | a55a4449efe3a8677e49b47d329e673e00fbdd28 (diff) | |
download | protobuf-143688f68bc179f57a8bc97158604ae4248c1730.tar.gz protobuf-143688f68bc179f57a8bc97158604ae4248c1730.tar.bz2 protobuf-143688f68bc179f57a8bc97158604ae4248c1730.zip |
add a failing descriptor test
-rw-r--r-- | csharp/src/Google.Protobuf.Test/Reflection/DescriptorsTest.cs | 7 |
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; + } } } |