Searched refs:assertMessageEquals (Results 1 – 7 of 7) sorted by relevance
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ParserTest.java | 73 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 74 assertMessageEquals( in assertRoundTripEquals() 77 assertMessageEquals(message, parser.parseFrom(message.toByteString(), registry)); in assertRoundTripEquals() 78 assertMessageEquals(message, parser.parseFrom(new ByteArrayInputStream(data), registry)); in assertRoundTripEquals() 79 assertMessageEquals(message, parser.parseFrom(CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals() 80 assertMessageEquals( in assertRoundTripEquals() 92 assertMessageEquals(message, parser.parseFrom(data)); in assertRoundTripEquals() 93 assertMessageEquals( in assertRoundTripEquals() 95 assertMessageEquals(message, parser.parseFrom(message.toByteString())); in assertRoundTripEquals() 96 assertMessageEquals(message, parser.parseFrom(new ByteArrayInputStream(data))); in assertRoundTripEquals() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ParserTest.java | 73 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 74 assertMessageEquals( in assertRoundTripEquals() 77 assertMessageEquals(message, parser.parseFrom(message.toByteString(), registry)); in assertRoundTripEquals() 78 assertMessageEquals(message, parser.parseFrom(new ByteArrayInputStream(data), registry)); in assertRoundTripEquals() 79 assertMessageEquals(message, parser.parseFrom(CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals() 80 assertMessageEquals( in assertRoundTripEquals() 92 assertMessageEquals(message, parser.parseFrom(data)); in assertRoundTripEquals() 93 assertMessageEquals( in assertRoundTripEquals() 95 assertMessageEquals(message, parser.parseFrom(message.toByteString())); in assertRoundTripEquals() 96 assertMessageEquals(message, parser.parseFrom(new ByteArrayInputStream(data))); in assertRoundTripEquals() [all …]
|
/external/libtextclassifier/notification/tests/src/com/android/textclassifier/notification/ |
D | NotificationTest.java | 71 assertMessageEquals(firstExpectedMessage, actualMessages.get(0)); in getMessagesFromBundleArray() 72 assertMessageEquals(secondExpectedMessage, actualMessages.get(1)); in getMessagesFromBundleArray() 75 private static void assertMessageEquals( in assertMessageEquals() method in NotificationTest
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
D | FileGroupsMetadataTest.java | 201 MddTestUtil.assertMessageEquals(readFileGroup, writeFileGroup); in readAndWriteFileGroup() 204 MddTestUtil.assertMessageEquals(readFileGroup2, writeFileGroup2); in readAndWriteFileGroup() 207 MddTestUtil.assertMessageEquals(readFileGroup3, writeFileGroup3); in readAndWriteFileGroup() 220 MddTestUtil.assertMessageEquals(readFileGroup, writeFileGroup); in readAndWriteFileGroup_withExtension() 226 MddTestUtil.assertMessageEquals(readFileGroup, writeFileGroup); in readAndWriteFileGroup_withExtension() 269 MddTestUtil.assertMessageEquals(writeGroupKeyProperties, readGroupKeyProperties); in readAndWriteFileGroupKeyProperties() 273 MddTestUtil.assertMessageEquals(writeGroupKeyProperties2, readGroupKeyProperties2); in readAndWriteFileGroupKeyProperties()
|
D | MddTestUtil.java | 225 public static void assertMessageEquals(MessageLite expected, MessageLite actual) { in assertMessageEquals() method in MddTestUtil
|
D | FileGroupManagerTest.java | 2132 MddTestUtil.assertMessageEquals(dataFileGroup, downloadedGroup); in testGetDownloadedGroup() 2159 MddTestUtil.assertMessageEquals(defaultFileGroup, groupForDefaultKey); in testGetDownloadedGroup_whenMultipleVariantsExists_getsCorrectGroup() 2162 MddTestUtil.assertMessageEquals(enFileGroup, groupForEnKey); in testGetDownloadedGroup_whenMultipleVariantsExists_getsCorrectGroup() 2173 MddTestUtil.assertMessageEquals(dataFileGroup, pendingGroup); in testGetPendingGroup() 2199 MddTestUtil.assertMessageEquals(defaultFileGroup, groupForDefaultKey); in testGetPendingGroup_whenMultipleVariantsExists_getsCorrectGroup() 2202 MddTestUtil.assertMessageEquals(enFileGroup, groupForEnKey); in testGetPendingGroup_whenMultipleVariantsExists_getsCorrectGroup() 6343 MddTestUtil.assertMessageEquals(fileGroup1, pendingGroup1); in testVerifyAllPendingGroupsDownloaded()
|
D | MobileDataDownloadManagerTest.java | 709 MddTestUtil.assertMessageEquals(dataFileGroup, completedDataFileGroup); in testGetDownloadedGroup()
|