/external/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.java | 75 TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); local 77 assertEquals(123, message2.getOptionalInt32()); 78 assertEquals(1, message2.getRepeatedStringCount()); 79 assertEquals("hello", message2.getRepeatedString(0)); 80 assertEquals(7, message2.getOptionalNestedMessage().getBb()); 101 TestAllExtensionsLite message2 = message.toBuilder().build(); local 103 assertEquals(123, (int) message2.getExtension( 105 assertEquals(1, message2.getExtensionCount( 107 assertEquals(1, message2.getExtension( 109 assertEquals("hello", message2.getExtension [all...] |
WireFormatTest.java | 63 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 65 TestUtil.assertAllFieldsSet(message2); 74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local 76 TestUtil.assertPackedFieldsSet(message2); 88 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 90 TestUtil.assertAllFieldsSet(message2); 99 TestPackedTypes message2 = TestUtil.getPackedSet(); local 100 ByteString rawBytes2 = message2.toByteString(); 121 TestPackedTypes message2 = TestPackedTypes.parseFrom( local 124 TestUtil.assertPackedFieldsSet(message2); 136 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 147 TestPackedTypes message2 = TestUtil.getPackedSet(); local 163 TestAllExtensions message2 = local 176 TestPackedExtensions message2 = local 192 TestAllExtensionsLite message2 = local 213 TestPackedExtensionsLite message2 = local 367 TestMessageSetExtension2 message2 = local [all...] |
DynamicMessageTest.java | 152 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 154 TestUtil.assertAllFieldsSet(message2); 167 Message message2 = local 169 reflectionTester.assertAllFieldsSetViaReflection(message2); 179 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local 181 TestUtil.assertPackedFieldsSet(message2); 194 Message message2 = local 196 packedReflectionTester.assertPackedFieldsSetViaReflection(message2);
|
CodedInputStreamTest.java | 281 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local 282 TestUtil.assertAllFieldsSet(message2); 286 message2 = TestAllTypes.parseFrom( 288 TestUtil.assertAllFieldsSet(message2); 370 TestAllTypes message2 = local 373 assertEquals(message.getOptionalBytes(), message2.getOptionalBytes()); 376 TestAllTypes message3 = TestAllTypes.newBuilder(message2)
|
AbstractMessageTest.java | 437 private void checkEqualsIsConsistent(Message message1, Message message2) { 438 assertEquals(message1, message2); 439 assertEquals(message2, message1); 440 assertEquals(message2.hashCode(), message1.hashCode());
|
/external/protobuf/src/google/protobuf/ |
lite_unittest.cc | 45 protobuf_unittest::TestAllTypesLite message, message2, message3; local 48 message2.CopyFrom(message); 52 google::protobuf::TestUtilLite::ExpectAllFieldsSet(message2); 61 protobuf_unittest::TestAllExtensionsLite message, message2, message3; local 64 message2.CopyFrom(message); 69 google::protobuf::TestUtilLite::ExpectAllExtensionsSet(message2); 78 protobuf_unittest::TestPackedTypesLite message, message2, message3; local 81 message2.CopyFrom(message); 85 google::protobuf::TestUtilLite::ExpectPackedFieldsSet(message2); 94 protobuf_unittest::TestPackedExtensionsLite message, message2, message3 local [all...] |
reflection_ops_unittest.cc | 58 unittest::TestAllTypes message, message2; local 62 ReflectionOps::Copy(message, &message2); 64 TestUtil::ExpectAllFieldsSet(message2); 67 ReflectionOps::Copy(message2, &message2); 68 TestUtil::ExpectAllFieldsSet(message2); 72 unittest::TestAllExtensions message, message2; local 76 ReflectionOps::Copy(message, &message2); 78 TestUtil::ExpectAllExtensionsSet(message2); 85 unittest::TestAllTypes message, message2; local 112 unittest::TestAllExtensions message, message2; local 140 unittest::TestEmptyMessage message1, message2; local [all...] |
generated_message_reflection_unittest.cc | 152 unittest::TestAllTypes message2; local 157 reflection->Swap(&message1, &message2); 160 TestUtil::ExpectAllFieldsSet(message2); 165 unittest::TestAllTypes message2; local 168 TestUtil::SetAllFields(&message2); 169 TestUtil::ModifyRepeatedFields(&message2); 172 reflection->Swap(&message1, &message2); 175 TestUtil::ExpectAllFieldsSet(message2); 179 reflection->Swap(&message1, &message2); 181 EXPECT_EQ(532819, message2.optional_int32()) 186 unittest::TestAllExtensions message2; local 198 unittest::TestEmptyMessage message1, message2; local [all...] |
extension_set_unittest.cc | 144 unittest::TestAllExtensions message1, message2; local 148 message2.CopyFrom(message1); 149 TestUtil::ExpectAllExtensionsSet(message2); 153 unittest::TestAllExtensions message1, message2; local 158 message2.CopyFrom(upcasted_message); 159 TestUtil::ExpectAllExtensionsSet(message2); 163 unittest::TestAllExtensions message1, message2; local 167 TestUtil::ExpectExtensionsClear(message2); 168 message1.Swap(&message2); 169 TestUtil::ExpectAllExtensionsSet(message2); 601 unittest::TestAllExtensions message2; local [all...] |
wire_format_unittest.cc | 372 unittest::TestMessageSetExtension2 message2; local 373 EXPECT_TRUE(message2.ParseFromString(raw.item(1).message())); 374 EXPECT_EQ("foo", message2.str()); 493 unittest::TestRecursiveMessage message2; local 494 EXPECT_TRUE(message2.ParseFromCodedStream(&input)); 501 unittest::TestRecursiveMessage message2; local 502 EXPECT_FALSE(message2.ParseFromCodedStream(&input)); 521 unittest::TestEmptyMessage message2; local 522 EXPECT_TRUE(message2.ParseFromCodedStream(&input)); 529 unittest::TestEmptyMessage message2; local [all...] |
generated_message_reflection.cc | 314 Message* message2) const { 315 if (message1 == message2) return; 325 GOOGLE_CHECK_EQ(message2->GetReflection(), this) 334 uint32* has_bits2 = MutableHasBits(message2); 348 MutableRaw<RepeatedField<TYPE> >(message2, field)); \ 364 MutableRaw<RepeatedPtrFieldBase>(message2, field)); 375 *MutableRaw<TYPE>(message2, field)); \ 394 *MutableRaw<string*>(message2, field)); 406 MutableExtensionSet(message1)->Swap(MutableExtensionSet(message2)); 409 MutableUnknownFields(message1)->Swap(MutableUnknownFields(message2)); [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_unittest.cc | 274 unittest::TestAllTypes message1, message2; local 277 message2.CopyFrom(message1); 278 TestUtil::ExpectAllFieldsSet(message2); 281 message2.CopyFrom(message2); 282 TestUtil::ExpectAllFieldsSet(message2); 286 unittest::TestAllTypes message1, message2; local 290 TestUtil::ExpectClear(message2); 291 message1.Swap(&message2); 292 TestUtil::ExpectAllFieldsSet(message2); 305 unittest::TestAllTypes message1, message2; local 374 unittest::TestAllTypes message2; local 386 unittest::TestAllTypes message1, message2; local 401 unittest::TestAllTypes message2; local 423 unittest::TestAllTypes message1, message2; local 459 unittest::TestAllTypes message1, message2; local 488 unittest::TestAllTypes message1, message2; local 507 unittest::TestPackedTypes message1, message2; local 576 unittest::TestReallyLargeTagNumber message1, message2; local 658 protobuf_unittest::TestOptimizedForSize message, message2; local 670 protobuf_unittest::TestEmbedOptimizedForSize message, message2; local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
Rfc822OutputTests.java | 161 Message message2 = createTestMessage("", true); local 162 Body body2 = createTestBody(message2); 164 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); 167 message2.mId = -1; // Changing the message; need to reset the id 168 message2.mText = TEXT; 169 message2.save(mMockContext); 170 body2 = createTestBody(message2); 172 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); 176 message2.mId = -1; // Changing the message; need to reset the id 177 message2.mTextReply = null [all...] |
MimeMessageTest.java | 112 MimeMessage message2 = new MimeMessage(); local 114 String id2 = message2.getMessageId(); 126 message2.setMessageId(testId1); 127 message2.setMessageId(testId2); 128 assertEquals("set and get Message-ID", testId2, message2.getMessageId());
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTests.java | 448 Message message2 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, true, local 450 long message2Id = message2.mId; 451 String text2 = message2.mText; 452 String html2 = message2.mHtml; 453 String textReply2 = message2.mTextReply; 454 String htmlReply2 = message2.mHtmlReply; 455 long sourceKey2 = message2.mSourceKey; 456 String introText2 = message2.mIntroText; 457 message2.mText = null; 458 message2.mHtml = null 676 Message message2 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, true, local 732 Message message2 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, true, local 796 Message message2 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, true, local 838 Message message2 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, true, local 1044 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box1Id, false, local 1087 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box1Id, false, local 1146 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box1Id, false, local 1273 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box1Id, local 1353 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box1Id, true, local 1632 Message message2= setupUnreadMessage("message2", account.mId, boxA.mId, local [all...] |
PolicyTests.java | 136 Message msg2 = ProviderTestUtils.setupMessage("message2", acct.mId, box.mId, false, false,
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpTests.java | 228 String message1 = "test2", message2 = "test3"; local 233 os.write(message2.getBytes("ISO8859_1")); 248 + message1 + chunkChar + message2).equals(result)); 256 String message1 = "test4", message2 = "test5"; local 262 os.write(message2.getBytes("ISO8859_1")); 277 + result, (chunkChar + message1 + chunkChar + message2)
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
logutils_unittest.py | 122 self._log.info("message2") 124 "unittest: [INFO] message2\n"])
|
/external/dbus/dbus/ |
dbus-message-util.c | 1348 DBusMessage *message2; local [all...] |
/external/chromium/chrome/common/extensions/ |
extension_message_bundle_unittest.cc | 76 CreateMessageTree("n2", "message2 $c$", true, dict); 181 EXPECT_EQ("message2 C", handler_->GetL10nMessage("n2")); 205 EXPECT_EQ("message2 C", handler_->GetL10nMessage("n2"));
|
/packages/apps/Email/tests/src/com/android/email/ |
ControllerProviderOpsTests.java | 192 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box2Id, false, local 195 long message2Id = message2.mId; 372 ProviderTestUtils.setupMessage("message2", 0, box.mId, false, true, 422 message = ProviderTestUtils.setupMessage("message2", account1Id, box2Id, false,
|
/external/chromium/net/socket_stream/ |
socket_stream_unittest.cc | 252 MockWrite(true, "\0message2\xff", 10) 260 AddWebSocketMessage("message2");
|
/external/protobuf/python/google/protobuf/internal/ |
reflection_test.py | [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
EmailSyncAdapterTests.java | 115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId,
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
checker_unittest.py | 139 self._log.info("message2") 140 self.assert_log_messages(["message1\n", "message2\n"]) [all...] |