diff options
Diffstat (limited to 'csharp/ProtocolBuffers.Test/DynamicMessageTest.cs')
-rw-r--r-- | csharp/ProtocolBuffers.Test/DynamicMessageTest.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/csharp/ProtocolBuffers.Test/DynamicMessageTest.cs b/csharp/ProtocolBuffers.Test/DynamicMessageTest.cs index 4a666935..dcf6e0fb 100644 --- a/csharp/ProtocolBuffers.Test/DynamicMessageTest.cs +++ b/csharp/ProtocolBuffers.Test/DynamicMessageTest.cs @@ -9,13 +9,12 @@ namespace Google.ProtocolBuffers { public class DynamicMessageTest { private ReflectionTester reflectionTester; - private ReflectionTester extensionsReflectionTester; [SetUp] public void SetUp() { - reflectionTester = new ReflectionTester(TestAllTypes.Descriptor, null); - extensionsReflectionTester = new ReflectionTester(TestAllExtensions.Descriptor, TestUtil.CreateExtensionRegistry()); + reflectionTester = ReflectionTester.CreateTestAllTypesInstance(); + extensionsReflectionTester = ReflectionTester.CreateTestAllExtensionsInstance(); } [Test] |