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

Public Member Functions

void testComplexNamespacePublicDependency () throws Exception
 
void testCustomOptions () throws Exception
 
void testDescriptor () throws Exception
 
void testDescriptorComplexCrosslink () throws Exception
 
void testDescriptorValidatorException () throws Exception
 
void testEnormousDescriptor () throws Exception
 
void testEnumDescriptor () throws Exception
 
void testFieldDescriptor () throws Exception
 
void testFieldDescriptorDefault () throws Exception
 
void testFieldDescriptorLabel () throws Exception
 
void testFieldTypeEnumMapping () throws Exception
 
void testFieldTypeTablesMatch () throws Exception
 
void testFileDescriptor () throws Exception
 
void testHiddenDependency () throws Exception
 
void testInvalidPublicDependency () throws Exception
 
void testJavaTypeTablesMatch () throws Exception
 
void testPublicDependency () throws Exception
 
void testServiceDescriptor () 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

Definition at line 73 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/DescriptorsTest.java.

Member Function Documentation

◆ testComplexNamespacePublicDependency()

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

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

Definition at line 603 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/DescriptorsTest.java.

◆ testCustomOptions()

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

◆ testDescriptor()

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

◆ testDescriptorComplexCrosslink()

void com.google.protobuf.test.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 469 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/DescriptorsTest.java.

◆ testDescriptorValidatorException()

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

Tests that the DescriptorValidationException works as intended.

Definition at line 437 of file bloaty/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/DescriptorsTest.java.

◆ testEnormousDescriptor()

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

◆ testEnumDescriptor()

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

◆ testFieldDescriptor()

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

◆ testFieldDescriptorDefault()

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

◆ testFieldDescriptorLabel()

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

◆ testFieldTypeEnumMapping()

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

◆ testFieldTypeTablesMatch()

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

◆ testFileDescriptor()

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

◆ testHiddenDependency()

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

◆ testInvalidPublicDependency()

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

◆ testJavaTypeTablesMatch()

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

◆ testPublicDependency()

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

◆ testServiceDescriptor()

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

Member Data Documentation

◆ STATIC_INIT_TEST

final Object com.google.protobuf.test.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:09