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

Public Member Functions

void setUp ()
 
void testBuildEmptyParseTree ()
 
void testGetLocationReturnsSingleLocation ()
 
void testGetLocationsReturnsMultipleLocations ()
 
void testGetLocationsReturnsNoParseLocationsForUnknownField ()
 
void testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex ()
 
void testGetLocationThrowsIllegalArgumentExceptionForUnknownField ()
 
void testGetNestedTreesReturnsMultipleTrees ()
 
void testGetNestedTreesReturnsNoParseInfoTreesForUnknownField ()
 
void testGetNestedTreesReturnsSingleTree ()
 
void testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex ()
 
void testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField ()
 

Private Attributes

TextFormatParseInfoTree.Builder rootBuilder
 

Static Private Attributes

static final Descriptor DESCRIPTOR = TestAllTypes.getDescriptor()
 
static final FieldDescriptor FIELD_BB
 
static final TextFormatParseLocation LOC0 = TextFormatParseLocation.create(1, 2)
 
static final TextFormatParseLocation LOC1 = TextFormatParseLocation.create(2, 3)
 
static final FieldDescriptor OPTIONAL_BOOLEAN
 
static final FieldDescriptor OPTIONAL_INT32
 
static final FieldDescriptor OPTIONAL_NESTED_MESSAGE
 
static final FieldDescriptor REPEATED_INT32
 
static final FieldDescriptor REPEATED_NESTED_MESSAGE
 

Detailed Description

Testlink TextFormatParseInfoTree}.

Definition at line 39 of file TextFormatParseInfoTreeTest.java.

Member Function Documentation

◆ setUp()

void com.google.protobuf.TextFormatParseInfoTreeTest.setUp ( )
inline

Definition at line 61 of file TextFormatParseInfoTreeTest.java.

◆ testBuildEmptyParseTree()

void com.google.protobuf.TextFormatParseInfoTreeTest.testBuildEmptyParseTree ( )
inline

Definition at line 65 of file TextFormatParseInfoTreeTest.java.

◆ testGetLocationReturnsSingleLocation()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetLocationReturnsSingleLocation ( )
inline

Definition at line 70 of file TextFormatParseInfoTreeTest.java.

◆ testGetLocationsReturnsMultipleLocations()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetLocationsReturnsMultipleLocations ( )
inline

Definition at line 112 of file TextFormatParseInfoTreeTest.java.

◆ testGetLocationsReturnsNoParseLocationsForUnknownField()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetLocationsReturnsNoParseLocationsForUnknownField ( )
inline

Definition at line 77 of file TextFormatParseInfoTreeTest.java.

◆ testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex ( )
inline

Definition at line 96 of file TextFormatParseInfoTreeTest.java.

◆ testGetLocationThrowsIllegalArgumentExceptionForUnknownField()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetLocationThrowsIllegalArgumentExceptionForUnknownField ( )
inline

Definition at line 85 of file TextFormatParseInfoTreeTest.java.

◆ testGetNestedTreesReturnsMultipleTrees()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetNestedTreesReturnsMultipleTrees ( )
inline

Definition at line 164 of file TextFormatParseInfoTreeTest.java.

◆ testGetNestedTreesReturnsNoParseInfoTreesForUnknownField()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetNestedTreesReturnsNoParseInfoTreesForUnknownField ( )
inline

Definition at line 132 of file TextFormatParseInfoTreeTest.java.

◆ testGetNestedTreesReturnsSingleTree()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetNestedTreesReturnsSingleTree ( )
inline

Definition at line 156 of file TextFormatParseInfoTreeTest.java.

◆ testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetNestedTreeThrowsIllegalArgumentExceptionForInvalidIndex ( )
inline

Definition at line 138 of file TextFormatParseInfoTreeTest.java.

◆ testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField()

void com.google.protobuf.TextFormatParseInfoTreeTest.testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField ( )
inline

Definition at line 121 of file TextFormatParseInfoTreeTest.java.

Member Data Documentation

◆ DESCRIPTOR

final Descriptor com.google.protobuf.TextFormatParseInfoTreeTest.DESCRIPTOR = TestAllTypes.getDescriptor()
staticprivate

Definition at line 41 of file TextFormatParseInfoTreeTest.java.

◆ FIELD_BB

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.FIELD_BB
staticprivate
Initial value:
=
TestAllTypes.NestedMessage.getDescriptor().findFieldByName("bb")

Definition at line 52 of file TextFormatParseInfoTreeTest.java.

◆ LOC0

final TextFormatParseLocation com.google.protobuf.TextFormatParseInfoTreeTest.LOC0 = TextFormatParseLocation.create(1, 2)
staticprivate

Definition at line 55 of file TextFormatParseInfoTreeTest.java.

◆ LOC1

final TextFormatParseLocation com.google.protobuf.TextFormatParseInfoTreeTest.LOC1 = TextFormatParseLocation.create(2, 3)
staticprivate

Definition at line 56 of file TextFormatParseInfoTreeTest.java.

◆ OPTIONAL_BOOLEAN

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.OPTIONAL_BOOLEAN
staticprivate
Initial value:
=
DESCRIPTOR.findFieldByName("optional_boolean")

Definition at line 44 of file TextFormatParseInfoTreeTest.java.

◆ OPTIONAL_INT32

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.OPTIONAL_INT32
staticprivate
Initial value:
=
DESCRIPTOR.findFieldByName("optional_int32")

Definition at line 42 of file TextFormatParseInfoTreeTest.java.

◆ OPTIONAL_NESTED_MESSAGE

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.OPTIONAL_NESTED_MESSAGE
staticprivate
Initial value:
=
DESCRIPTOR.findFieldByName("optional_nested_message")

Definition at line 48 of file TextFormatParseInfoTreeTest.java.

◆ REPEATED_INT32

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.REPEATED_INT32
staticprivate
Initial value:
=
DESCRIPTOR.findFieldByName("repeated_int32")

Definition at line 46 of file TextFormatParseInfoTreeTest.java.

◆ REPEATED_NESTED_MESSAGE

final FieldDescriptor com.google.protobuf.TextFormatParseInfoTreeTest.REPEATED_NESTED_MESSAGE
staticprivate
Initial value:
=
DESCRIPTOR.findFieldByName("repeated_nested_message")

Definition at line 50 of file TextFormatParseInfoTreeTest.java.

◆ rootBuilder

TextFormatParseInfoTree.Builder com.google.protobuf.TextFormatParseInfoTreeTest.rootBuilder
private

Definition at line 58 of file TextFormatParseInfoTreeTest.java.


The documentation for this class was generated from the following file:
com.google.protobuf.Descriptors.Descriptor.findFieldByName
FieldDescriptor findFieldByName(final String name)
Definition: Descriptors.java:765
com.google.protobuf.TextFormatParseInfoTreeTest.DESCRIPTOR
static final Descriptor DESCRIPTOR
Definition: TextFormatParseInfoTreeTest.java:41


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