Public Member Functions | |
void | setUp () throws Exception |
void | setUp () throws Exception |
void | testAddField () |
void | testAddField_negative () |
void | testAddField_withReplacement () |
void | testAddField_zero () |
void | testAsMap () throws Exception |
void | testClear () throws Exception |
void | testClear () throws Exception |
void | testClearField () throws Exception |
void | testClearField () throws Exception |
void | testClearField_negative () |
void | testClearMessage () throws Exception |
void | testClearMessage () throws Exception |
void | testClone () |
void | testClone_lengthDelimited () |
void | testCopyFrom () throws Exception |
void | testCopyFrom () throws Exception |
void | testEqualsAndHashCode () |
void | testEqualsAndHashCode () |
void | testFieldBuildersAreReusable () |
void | testFixed32 () throws Exception |
void | testFixed32 () throws Exception |
void | testFixed64 () throws Exception |
void | testFixed64 () throws Exception |
void | testGroup () throws Exception |
void | testGroup () throws Exception |
void | testHasField_negative () |
void | testLargeVarint () throws Exception |
void | testLargeVarint () throws Exception |
void | testLengthDelimited () throws Exception |
void | testLengthDelimited () throws Exception |
void | testMergeField_negative () |
void | testMergeFrom () throws Exception |
void | testMergeFrom () throws Exception |
void | testMergeLengthDelimitedField_negative () |
void | testMergeVarintField_negative () |
void | testParseKnownAndUnknown () throws Exception |
void | testParseKnownAndUnknown () throws Exception |
void | testParseUnknownEnumValue () throws Exception |
void | testParseUnknownEnumValue () throws Exception |
void | testProto3RoundTrip () throws Exception |
void | testReuse () |
void | testSerialize () throws Exception |
void | testSerialize () throws Exception |
void | testUnknownExtensions () throws Exception |
void | testUnknownExtensions () throws Exception |
void | testVarint () throws Exception |
void | testVarint () throws Exception |
void | testWrongExtensionTypeTreatedAsUnknown () throws Exception |
void | testWrongExtensionTypeTreatedAsUnknown () throws Exception |
void | testWrongTypeTreatedAsUnknown () throws Exception |
void | testWrongTypeTreatedAsUnknown () throws Exception |
Private Member Functions | |
void | checkEqualsIsConsistent (UnknownFieldSet set) |
void | checkEqualsIsConsistent (UnknownFieldSet set) |
void | checkNotEqual (UnknownFieldSet s1, UnknownFieldSet s2) |
void | checkNotEqual (UnknownFieldSet s1, UnknownFieldSet s2) |
UnknownFieldSet.Field | getField (String name) |
Tests related to unknown field handling.
Tests related to unknown field handling.
Definition at line 50 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inlineprivate |
Asserts that the given field sets are equal and have identical hash codes.
Definition at line 370 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inlineprivate |
Asserts that the given field sets are equal and have identical hash codes.
Definition at line 570 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inlineprivate |
Asserts that the given field sets are not equal and have different hash codes.
Note: It's valid for non-equal objects to have the same hash code, so this test is stricter than it needs to be. However, this should happen relatively rarely.
Definition at line 359 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inlineprivate |
Asserts that the given field sets are not equal and have different hash codes.
Note: It's valid for non-equal objects to have the same hash code, so this test is stricter than it needs to be. However, this should happen relatively rarely.
Definition at line 559 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inlineprivate |
Definition at line 66 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 52 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 58 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 254 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 191 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 261 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 179 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 359 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 175 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 369 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 186 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 382 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 203 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 180 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 375 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 119 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 131 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 147 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 329 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 320 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 520 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 106 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 105 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 281 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 111 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 288 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 123 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 302 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 237 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 308 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 507 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 117 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 295 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 214 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 153 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 336 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 243 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 226 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 193 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 390 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 249 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 450 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 584 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 157 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 140 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 321 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 225 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 424 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 99 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 274 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 236 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 436 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 212 of file bloaty/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.
|
inline |
Definition at line 410 of file protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetTest.java.