Home
last modified time | relevance | path

Searched refs:testMessage (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMessageQueueTest.java35 private Message testMessage; field in ShadowMessageQueueTest
70 testMessage = handler.obtainMessage(); in setUp()
76 shadowQueue.setHead(testMessage); in test_setGetHead()
77 assertThat(shadowQueue.getHead()).named("getHead()").isSameAs(testMessage); in test_setGetHead()
97 enqueueMessage(testMessage, 100); in enqueueMessage_setsHead()
98 assertThat(shadowQueue.getHead()).named("head").isSameAs(testMessage); in enqueueMessage_setsHead()
103 assertThat(enqueueMessage(testMessage, 100)).named("retval").isTrue(); in enqueueMessage_returnsTrue()
108 enqueueMessage(testMessage, 123); in enqueueMessage_setsWhen()
109 assertThat(testMessage.getWhen()).named("when").isEqualTo(123); in enqueueMessage_setsWhen()
115 assertThat(enqueueMessage(testMessage, 1)).named("enqueueMessage()").isFalse(); in enqueueMessage_returnsFalse_whenQuitting()
[all …]
/external/protobuf/conformance/
DConformanceJava.java51 Conformance.TestAllTypes testMessage; in doTest() local
56 testMessage = Conformance.TestAllTypes.parseFrom(request.getProtobufPayload()); in doTest()
67 testMessage = builder.build(); in doTest()
87 …return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(testMessage.toByteString())… in doTest()
92 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)).build(); in doTest()
DConformanceJavaLite.java48 Conformance.TestAllTypes testMessage; in doTest() local
53 testMessage = Conformance.TestAllTypes.parseFrom(request.getProtobufPayload()); in doTest()
77 …return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(testMessage.toByteString())… in doTest()
Dconformance_objc.m65 TestAllTypes *testMessage = nil;
74 testMessage = [TestAllTypes parseFromData:request.protobufPayload
76 if (!testMessage) {
88 if (testMessage) {
96 response.protobufPayload = testMessage.data;
99 [NSString stringWithFormat:@"Failed to make data from: %@", testMessage];
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverManagerTest.java356 static String testMessage = "DriverManagerTest: test message for print stream"; field in DriverManagerTest
361 DriverManager.println(testMessage); in testPrintln()
364 DriverManager.println(testMessage); in testPrintln()
368 assertTrue(theOutput.startsWith(testMessage)); in testPrintln()
373 DriverManager.println(testMessage); in testPrintln()
377 assertTrue(theOutput.startsWith(testMessage)); in testPrintln()
/external/cldr/tools/java/org/unicode/cldr/util/
DVettingViewer.java1363 …er appendToMessage(CharSequence usersValue, EnumSet<Subtype> subtypes, StringBuilder testMessage) { in appendToMessage() argument
1367 return appendToMessage(usersValue, testMessage); in appendToMessage()
1370 …tringBuilder appendToMessage(CharSequence usersValue, Subtype subtype, StringBuilder testMessage) { in appendToMessage() argument
1374 return appendToMessage(usersValue, testMessage); in appendToMessage()
1377 … private static StringBuilder appendToMessage(CharSequence usersValue, StringBuilder testMessage) { in appendToMessage() argument
1379 return testMessage; in appendToMessage()
1381 if (testMessage.length() != 0) { in appendToMessage()
1382 testMessage.append("<br>"); in appendToMessage()
1384 return testMessage.append(usersValue); in appendToMessage()
/external/testng/src/main/java/org/testng/remote/strprotocol/
DAbstractRemoteTestRunnerClient.java156 protected abstract void notifyTestEvents(final TestMessage testMessage); in notifyTestEvents() argument
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare_test.py112 def testMessage(self): member in ProtoEqTest
384 def testMessage(self): member in AssertTest
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor_test.py433 def testMessage(self): member in DescribeTest
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py553 def testMessage(self): member in AddDescriptorTest
/external/boringssl/src/ssl/test/runner/
Drunner.go1029 testMessage := make([]byte, messageLen)
1030 for i := range testMessage {
1031 testMessage[i] = 0x42 ^ byte(j)
1033 tlsConn.Write(testMessage)
1061 buf := make([]byte, len(testMessage))
1087 if v != testMessage[i]^0xff {
1088 return fmt.Errorf("bad reply contents at byte %d; got %q and wanted %q", i, buf, testMessage)