HomeSort by relevance Sort by last modified time
    Searched defs:message2 (Results 1 - 25 of 47) sorted by null

1 2

  /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...]
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...]
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...]
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...]
  /external/chromium_org/ash/display/
display_error_observer_chromeos_unittest.cc 65 base::string16 message2 = GetMessageContents(); local
66 EXPECT_FALSE(message2.empty());
67 EXPECT_EQ(message, message2);
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
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...]
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...]
lite_unittest.cc 66 protobuf_unittest::TestAllTypesLite message, message2, message3; local
69 message2.CopyFrom(message);
73 google::protobuf::TestUtilLite::ExpectAllFieldsSet(message2);
82 protobuf_unittest::TestAllExtensionsLite message, message2, message3; local
85 message2.CopyFrom(message);
90 google::protobuf::TestUtilLite::ExpectAllExtensionsSet(message2);
99 protobuf_unittest::TestPackedTypesLite message, message2, message3; local
102 message2.CopyFrom(message);
106 google::protobuf::TestUtilLite::ExpectPackedFieldsSet(message2);
115 protobuf_unittest::TestPackedExtensionsLite message, message2, message3 local
    [all...]
extension_set_unittest.cc 208 unittest::TestAllExtensions message1, message2; local
211 message2.CopyFrom(message1);
212 TestUtil::ExpectAllExtensionsSet(message2);
213 message2.CopyFrom(message1); // exercise copy when fields already exist
214 TestUtil::ExpectAllExtensionsSet(message2);
218 unittest::TestPackedExtensions message1, message2; local
221 message2.CopyFrom(message1);
222 TestUtil::ExpectPackedExtensionsSet(message2);
223 message2.CopyFrom(message1); // exercise copy when fields already exist
224 TestUtil::ExpectPackedExtensionsSet(message2);
228 unittest::TestAllExtensions message1, message2; local
240 unittest::TestAllExtensions message1, message2; local
681 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());
541 unittest::TestRecursiveMessage message2; local
542 EXPECT_TRUE(message2.ParseFromCodedStream(&input));
549 unittest::TestRecursiveMessage message2; local
550 EXPECT_FALSE(message2.ParseFromCodedStream(&input));
569 unittest::TestEmptyMessage message2; local
570 EXPECT_TRUE(message2.ParseFromCodedStream(&input));
577 unittest::TestEmptyMessage message2; local
    [all...]
  /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...]
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)
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);
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...]
  /external/chromium_org/chrome/renderer/autofill/
autofill_renderer_browsertest.cc 106 const IPC::Message* message2 = local
109 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2); local
111 AutofillHostMsg_FillAutofillFormData::Read(message2, &params2);
198 const IPC::Message* message2 = render_thread_->sink().GetFirstMessageMatching( local
200 ASSERT_NE(static_cast<IPC::Message*>(NULL), message2); local
202 AutofillHostMsg_QueryFormFieldAutofill::Read(message2, &query_param);
  /external/chromium_org/remoting/host/native_messaging/
native_messaging_writer_unittest.cc 80 base::DictionaryValue message2; local
81 message2.SetInteger("foo", 42);
83 EXPECT_TRUE(writer_->WriteMessage(message2));
101 // |content| should now contain serialized |message2|.
103 EXPECT_TRUE(message2.Equals(written_message2.get()));
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
LiteTest.java 80 TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); local
82 assertEquals(123, message2.getOptionalInt32());
83 assertEquals(1, message2.getRepeatedStringCount());
84 assertEquals("hello", message2.getRepeatedString(0));
85 assertEquals(7, message2.getOptionalNestedMessage().getBb());
106 TestAllExtensionsLite message2 = message.toBuilder().build(); local
108 assertEquals(123, (int) message2.getExtension(
110 assertEquals(1, message2.getExtensionCount(
112 assertEquals(1, message2.getExtension(
114 assertEquals("hello", message2.getExtension
    [all...]
CodedInputStreamTest.java 281 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local
282 TestUtil.assertAllFieldsSet(message2);
286 message2 = TestAllTypes.parseFrom(
288 TestUtil.assertAllFieldsSet(message2);
365 TestAllTypes message2 = local
368 assertEquals(message.getOptionalBytes(), message2.getOptionalBytes());
371 TestAllTypes message3 = TestAllTypes.newBuilder(message2)
DynamicMessageTest.java 169 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local
171 TestUtil.assertAllFieldsSet(message2);
184 Message message2 = local
186 reflectionTester.assertAllFieldsSetViaReflection(message2);
189 Message message3 = message2.getParserForType().parseFrom(rawBytes);
201 Message message2 = message.getParserForType().parseFrom( local
203 extensionsReflectionTester.assertAllFieldsSetViaReflection(message2);
213 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local
215 TestUtil.assertPackedFieldsSet(message2);
228 Message message2 local
    [all...]
WireFormatTest.java 64 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local
66 TestUtil.assertAllFieldsSet(message2);
75 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); local
77 TestUtil.assertPackedFieldsSet(message2);
89 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local
91 TestUtil.assertAllFieldsSet(message2);
100 TestPackedTypes message2 = TestUtil.getPackedSet(); local
101 ByteString rawBytes2 = message2.toByteString();
122 TestPackedTypes message2 = TestPackedTypes.parseFrom( local
125 TestUtil.assertPackedFieldsSet(message2);
137 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); local
148 TestPackedTypes message2 = TestUtil.getPackedSet(); local
164 TestAllExtensions message2 = local
177 TestPackedExtensions message2 = local
193 TestAllExtensionsLite message2 = local
214 TestPackedExtensionsLite message2 = local
378 TestMessageSetExtension2 message2 = local
    [all...]
AbstractMessageTest.java 487 private void checkEqualsIsConsistent(Message message1, Message message2) {
488 assertEquals(message1, message2);
489 assertEquals(message2, message1);
490 assertEquals(message2.hashCode(), message1.hashCode());
  /packages/experimental/PrintService2/src/foo/bar/printservice2/
MyPrintService.java 55 Message message2 = mHandler.obtainMessage(MyHandler.MESSAGE_ADD_SECOND_FAKE_PRINTER); local
56 mHandler.sendMessageDelayed(message2, 10000);
  /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)
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 162 Message message2 = createTestMessage("", true); local
163 Body body2 = createTestBody(message2);
168 message2.mId = -1; // Changing the message; need to reset the id
169 message2.mText = TEXT;
170 message2.save(mMockContext);
171 body2 = createTestBody(message2);
177 message2.mId = -1; // Changing the message; need to reset the id
178 message2.mTextReply = null;
179 message2.save(mMockContext);
180 body2 = createTestBody(message2);
    [all...]

Completed in 500 milliseconds

1 2