Ejemplo n.º 1
0
 public void ExtensionReflectionDefaults()
 {
     TestUtil.TestInMultipleCultures(() => {
         extensionsReflectionTester.AssertClearViaReflection(TestAllExtensions.DefaultInstance);
         extensionsReflectionTester.AssertClearViaReflection(TestAllExtensions.CreateBuilder().Build());
     });
 }
Ejemplo n.º 2
0
 public void ReflectionDefaults()
 {
     TestUtil.TestInMultipleCultures(() => {
         reflectionTester.AssertClearViaReflection(TestAllTypes.DefaultInstance);
         reflectionTester.AssertClearViaReflection(TestAllTypes.CreateBuilder().Build());
     });
 }
 public void ExtensionReflectionDefaults()
 {
     extensionsReflectionTester.AssertClearViaReflection(TestAllExtensions.DefaultInstance);
     extensionsReflectionTester.AssertClearViaReflection(TestAllExtensions.CreateBuilder().Build());
 }
Ejemplo n.º 4
0
 public void DynamicMessageDefaults()
 {
     reflectionTester.AssertClearViaReflection(DynamicMessage.GetDefaultInstance(TestAllTypes.Descriptor));
     reflectionTester.AssertClearViaReflection(DynamicMessage.CreateBuilder(TestAllTypes.Descriptor).Build());
 }
 public void ReflectionDefaults()
 {
     reflectionTester.AssertClearViaReflection(TestAllTypes.DefaultInstance);
     reflectionTester.AssertClearViaReflection(TestAllTypes.CreateBuilder().Build());
 }