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 testCustomOptions () throws Exception
 
void testDependencyOrder () throws Exception
 
void testDescriptor () throws Exception
 
void testDescriptorComplexCrosslink () throws Exception
 
void testDescriptorValidatorException () throws Exception
 
void testEnormousDescriptor () throws Exception
 
void testEnumDescriptor () throws Exception
 
void testExtensionRenamesKeywords ()
 
void testFieldDescriptor () throws Exception
 
void testFieldDescriptorDefault () throws Exception
 
void testFieldDescriptorJsonName () throws Exception
 
void testFieldDescriptorLabel () throws Exception
 
void testFieldJsonName () 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 testMessageDescriptorExtensions () throws Exception
 
void testOneofDescriptor () throws Exception
 
void testPackedEnumField () throws Exception
 
void testPublicDependency () throws Exception
 
void testReservedFields ()
 
void testServiceDescriptor () throws Exception
 
void testToString ()
 
void testUnknownFieldsAllowed () 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

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

Member Function Documentation

◆ testComplexNamespacePublicDependency()

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 core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testCustomOptions()

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

◆ testDependencyOrder()

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

◆ testDescriptor()

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

◆ testDescriptorComplexCrosslink()

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 core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testDescriptorValidatorException()

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

Tests that the DescriptorValidationException works as intended.

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

◆ testEnormousDescriptor()

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

◆ testEnumDescriptor()

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

◆ testExtensionRenamesKeywords()

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

◆ testFieldDescriptor()

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

◆ testFieldDescriptorDefault()

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

◆ testFieldDescriptorJsonName()

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

◆ testFieldDescriptorLabel()

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

◆ testFieldJsonName()

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

◆ testFieldTypeEnumMapping()

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

◆ testFieldTypeTablesMatch()

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 core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testFileDescriptor()

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

◆ testHiddenDependency()

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

◆ testInvalidPublicDependency()

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

◆ testJavaTypeTablesMatch()

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 core/src/test/java/com/google/protobuf/DescriptorsTest.java.

◆ testMessageDescriptorExtensions()

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

◆ testOneofDescriptor()

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

◆ testPackedEnumField()

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

◆ testPublicDependency()

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

◆ testReservedFields()

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

◆ testServiceDescriptor()

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

◆ testToString()

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

◆ testUnknownFieldsAllowed()

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

◆ testUnknownFieldsDenied()

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

Member Data Documentation

◆ STATIC_INIT_TEST

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

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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07