Public Member Functions | Static Private Attributes | List of all members
com.google.protobuf.DescriptorsTest Class Reference
Inheritance diagram for com.google.protobuf.DescriptorsTest:
Inheritance graph
[legend]

Public Member Functions

void testComplexNamespacePublicDependency () throws Exception
 
void testComplexNamespacePublicDependency () throws Exception
 
void testCustomOptions () throws Exception
 
void testCustomOptions () throws Exception
 
void testDefaultDescriptorExtensionRange () throws Exception
 
void testDependencyOrder () throws Exception
 
void testDependencyOrder () throws Exception
 
void testDescriptor () throws Exception
 
void testDescriptor () throws Exception
 
void testDescriptorComplexCrosslink () throws Exception
 
void testDescriptorComplexCrosslink () throws Exception
 
void testDescriptorValidatorException () throws Exception
 
void testDescriptorValidatorException () throws Exception
 
void testEnormousDescriptor () throws Exception
 
void testEnormousDescriptor () throws Exception
 
void testEnumDescriptor () throws Exception
 
void testEnumDescriptor () throws Exception
 
void testExtensionRenamesKeywords ()
 
void testExtensionRenamesKeywords ()
 
void testFieldDescriptor () throws Exception
 
void testFieldDescriptor () throws Exception
 
void testFieldDescriptorDefault () throws Exception
 
void testFieldDescriptorDefault () throws Exception
 
void testFieldDescriptorJsonName () throws Exception
 
void testFieldDescriptorJsonName () throws Exception
 
void testFieldDescriptorLabel () throws Exception
 
void testFieldDescriptorLabel () throws Exception
 
void testFieldJsonName () throws Exception
 
void testFieldJsonName () throws Exception
 
void testFieldTypeEnumMapping () throws Exception
 
void testFieldTypeEnumMapping () throws Exception
 
void testFieldTypeTablesMatch () throws Exception
 
void testFieldTypeTablesMatch () throws Exception
 
void testFileDescriptor () throws Exception
 
void testFileDescriptor () throws Exception
 
void testHiddenDependency () throws Exception
 
void testHiddenDependency () throws Exception
 
void testInvalidPublicDependency () throws Exception
 
void testInvalidPublicDependency () throws Exception
 
void testJavaTypeTablesMatch () throws Exception
 
void testJavaTypeTablesMatch () throws Exception
 
void testMessageDescriptorExtensions () throws Exception
 
void testMessageDescriptorExtensions () throws Exception
 
void testOneofDescriptor () throws Exception
 
void testOneofDescriptor () throws Exception
 
void testPackedEnumField () throws Exception
 
void testPackedEnumField () throws Exception
 
void testPublicDependency () throws Exception
 
void testPublicDependency () throws Exception
 
void testReservedFields ()
 
void testReservedFields ()
 
void testServiceDescriptor () throws Exception
 
void testServiceDescriptor () throws Exception
 
void testToString ()
 
void testToString ()
 
void testUnknownFieldsAllowed () throws Exception
 
void testUnknownFieldsAllowed () throws Exception
 
void testUnknownFieldsDenied () throws Exception
 
void testUnknownFieldsDenied () throws Exception
 

Static Private Attributes

static final Object STATIC_INIT_TEST = FieldDescriptor.Type.BOOL
 

Detailed Description

Unit test for Descriptors.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

Unit test for Descriptors.

Definition at line 78 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

Member Function Documentation

◆ testComplexNamespacePublicDependency() [1/2]

void com.google.protobuf.DescriptorsTest.testComplexNamespacePublicDependency ( ) throws Exception
inline

Tests the translate/crosslink for an example with a more complex namespace referencing.

Definition at line 654 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testComplexNamespacePublicDependency() [2/2]

void com.google.protobuf.DescriptorsTest.testComplexNamespacePublicDependency ( ) throws Exception
inline

Tests the translate/crosslink for an example with a more complex namespace referencing.

Definition at line 676 of file protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testCustomOptions() [1/2]

void com.google.protobuf.DescriptorsTest.testCustomOptions ( ) throws Exception
inline

◆ testCustomOptions() [2/2]

void com.google.protobuf.DescriptorsTest.testCustomOptions ( ) throws Exception
inline

◆ testDefaultDescriptorExtensionRange()

void com.google.protobuf.DescriptorsTest.testDefaultDescriptorExtensionRange ( ) throws Exception
inline

◆ testDependencyOrder() [1/2]

void com.google.protobuf.DescriptorsTest.testDependencyOrder ( ) throws Exception
inline

◆ testDependencyOrder() [2/2]

void com.google.protobuf.DescriptorsTest.testDependencyOrder ( ) throws Exception
inline

◆ testDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testDescriptor ( ) throws Exception
inline

◆ testDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testDescriptor ( ) throws Exception
inline

◆ testDescriptorComplexCrosslink() [1/2]

void com.google.protobuf.DescriptorsTest.testDescriptorComplexCrosslink ( ) throws Exception
inline

Tests the translate/crosslink for an example where a message field's name and type name are the same.

Definition at line 453 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testDescriptorComplexCrosslink() [2/2]

void com.google.protobuf.DescriptorsTest.testDescriptorComplexCrosslink ( ) throws Exception
inline

Tests the translate/crosslink for an example where a message field's name and type name are the same.

Definition at line 468 of file protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testDescriptorValidatorException() [1/2]

void com.google.protobuf.DescriptorsTest.testDescriptorValidatorException ( ) throws Exception
inline

Tests that the DescriptorValidationException works as intended.

Definition at line 419 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testDescriptorValidatorException() [2/2]

void com.google.protobuf.DescriptorsTest.testDescriptorValidatorException ( ) throws Exception
inline

Tests that the DescriptorValidationException works as intended.

Definition at line 433 of file protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testEnormousDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testEnormousDescriptor ( ) throws Exception
inline

◆ testEnormousDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testEnormousDescriptor ( ) throws Exception
inline

◆ testEnumDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testEnumDescriptor ( ) throws Exception
inline

◆ testEnumDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testEnumDescriptor ( ) throws Exception
inline

◆ testExtensionRenamesKeywords() [1/2]

void com.google.protobuf.DescriptorsTest.testExtensionRenamesKeywords ( )
inline

◆ testExtensionRenamesKeywords() [2/2]

void com.google.protobuf.DescriptorsTest.testExtensionRenamesKeywords ( )
inline

◆ testFieldDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptor ( ) throws Exception
inline

◆ testFieldDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptor ( ) throws Exception
inline

◆ testFieldDescriptorDefault() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorDefault ( ) throws Exception
inline

◆ testFieldDescriptorDefault() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorDefault ( ) throws Exception
inline

◆ testFieldDescriptorJsonName() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorJsonName ( ) throws Exception
inline

◆ testFieldDescriptorJsonName() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorJsonName ( ) throws Exception
inline

◆ testFieldDescriptorLabel() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorLabel ( ) throws Exception
inline

◆ testFieldDescriptorLabel() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldDescriptorLabel ( ) throws Exception
inline

◆ testFieldJsonName() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldJsonName ( ) throws Exception
inline

◆ testFieldJsonName() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldJsonName ( ) throws Exception
inline

◆ testFieldTypeEnumMapping() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldTypeEnumMapping ( ) throws Exception
inline

◆ testFieldTypeEnumMapping() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldTypeEnumMapping ( ) throws Exception
inline

◆ testFieldTypeTablesMatch() [1/2]

void com.google.protobuf.DescriptorsTest.testFieldTypeTablesMatch ( ) throws Exception
inline

Test that the FieldDescriptor.Type enum is the same as the WireFormat.FieldType enum.

Definition at line 389 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testFieldTypeTablesMatch() [2/2]

void com.google.protobuf.DescriptorsTest.testFieldTypeTablesMatch ( ) throws Exception
inline

Test that the FieldDescriptor.Type enum is the same as the WireFormat.FieldType enum.

Definition at line 399 of file protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testFileDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testFileDescriptor ( ) throws Exception
inline

◆ testFileDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testFileDescriptor ( ) throws Exception
inline

◆ testHiddenDependency() [1/2]

void com.google.protobuf.DescriptorsTest.testHiddenDependency ( ) throws Exception
inline

◆ testHiddenDependency() [2/2]

void com.google.protobuf.DescriptorsTest.testHiddenDependency ( ) throws Exception
inline

◆ testInvalidPublicDependency() [1/2]

void com.google.protobuf.DescriptorsTest.testInvalidPublicDependency ( ) throws Exception
inline

◆ testInvalidPublicDependency() [2/2]

void com.google.protobuf.DescriptorsTest.testInvalidPublicDependency ( ) throws Exception
inline

◆ testJavaTypeTablesMatch() [1/2]

void com.google.protobuf.DescriptorsTest.testJavaTypeTablesMatch ( ) throws Exception
inline

Test that the FieldDescriptor.JavaType enum is the same as the WireFormat.JavaType enum.

Definition at line 401 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testJavaTypeTablesMatch() [2/2]

void com.google.protobuf.DescriptorsTest.testJavaTypeTablesMatch ( ) throws Exception
inline

Test that the FieldDescriptor.JavaType enum is the same as the WireFormat.JavaType enum.

Definition at line 412 of file protobuf/java/core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testMessageDescriptorExtensions() [1/2]

void com.google.protobuf.DescriptorsTest.testMessageDescriptorExtensions ( ) throws Exception
inline

◆ testMessageDescriptorExtensions() [2/2]

void com.google.protobuf.DescriptorsTest.testMessageDescriptorExtensions ( ) throws Exception
inline

◆ testOneofDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testOneofDescriptor ( ) throws Exception
inline

◆ testOneofDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testOneofDescriptor ( ) throws Exception
inline

◆ testPackedEnumField() [1/2]

void com.google.protobuf.DescriptorsTest.testPackedEnumField ( ) throws Exception
inline

◆ testPackedEnumField() [2/2]

void com.google.protobuf.DescriptorsTest.testPackedEnumField ( ) throws Exception
inline

◆ testPublicDependency() [1/2]

void com.google.protobuf.DescriptorsTest.testPublicDependency ( ) throws Exception
inline

◆ testPublicDependency() [2/2]

void com.google.protobuf.DescriptorsTest.testPublicDependency ( ) throws Exception
inline

◆ testReservedFields() [1/2]

void com.google.protobuf.DescriptorsTest.testReservedFields ( )
inline

◆ testReservedFields() [2/2]

void com.google.protobuf.DescriptorsTest.testReservedFields ( )
inline

◆ testServiceDescriptor() [1/2]

void com.google.protobuf.DescriptorsTest.testServiceDescriptor ( ) throws Exception
inline

◆ testServiceDescriptor() [2/2]

void com.google.protobuf.DescriptorsTest.testServiceDescriptor ( ) throws Exception
inline

◆ testToString() [1/2]

void com.google.protobuf.DescriptorsTest.testToString ( )
inline

◆ testToString() [2/2]

void com.google.protobuf.DescriptorsTest.testToString ( )
inline

◆ testUnknownFieldsAllowed() [1/2]

void com.google.protobuf.DescriptorsTest.testUnknownFieldsAllowed ( ) throws Exception
inline

◆ testUnknownFieldsAllowed() [2/2]

void com.google.protobuf.DescriptorsTest.testUnknownFieldsAllowed ( ) throws Exception
inline

◆ testUnknownFieldsDenied() [1/2]

void com.google.protobuf.DescriptorsTest.testUnknownFieldsDenied ( ) throws Exception
inline

◆ testUnknownFieldsDenied() [2/2]

void com.google.protobuf.DescriptorsTest.testUnknownFieldsDenied ( ) throws Exception
inline

Member Data Documentation

◆ STATIC_INIT_TEST

static final Object com.google.protobuf.DescriptorsTest.STATIC_INIT_TEST = FieldDescriptor.Type.BOOL
staticprivate

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:04