Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMessageQueueTest.java36 private Message testMessage; field in ShadowMessageQueueTest
71 testMessage = handler.obtainMessage(); in setUp()
77 shadowQueue.setHead(testMessage); in test_setGetHead()
78 assertWithMessage("getHead()").that(shadowQueue.getHead()).isSameInstanceAs(testMessage); in test_setGetHead()
98 enqueueMessage(testMessage, 100); in enqueueMessage_setsHead()
99 assertWithMessage("head").that(shadowQueue.getHead()).isSameInstanceAs(testMessage); in enqueueMessage_setsHead()
104 assertWithMessage("retval").that(enqueueMessage(testMessage, 100)).isTrue(); in enqueueMessage_returnsTrue()
109 enqueueMessage(testMessage, 123); in enqueueMessage_setsWhen()
110 assertWithMessage("when").that(testMessage.getWhen()).isEqualTo(123); in enqueueMessage_setsWhen()
116 assertWithMessage("enqueueMessage()").that(enqueueMessage(testMessage, 1)).isFalse(); in enqueueMessage_returnsFalse_whenQuitting()
[all …]
/external/protobuf/conformance/
DConformanceJava.java208 com.google.protobuf.AbstractMessage testMessage; in doTest() local
218testMessage = parseBinary(request.getProtobufPayload(), TestAllTypesProto3.parser(), extensions); in doTest()
226testMessage = parseBinary(request.getProtobufPayload(), TestAllTypesProto2.parser(), extensions); in doTest()
245 testMessage = builder.build(); in doTest()
257 testMessage = builder.build(); in doTest()
268 testMessage = builder.build(); in doTest()
293 ByteString MessageString = testMessage.toByteString(); in doTest()
300 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)).build(); in doTest()
308 TextFormat.printToString(testMessage)).build(); in doTest()
Dconformance_nodejs.js43 var testMessage;
56 testMessage = test_messages_proto3.TestAllTypesProto3.deserializeBinary(
64 testMessage = test_messages_proto2.TestAllTypesProto2.deserializeBinary(
94 response.setProtobufPayload(testMessage.serializeBinary());
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.m67 GPBMessage *testMessage = nil;
84 testMessage = [msgClass parseFromData:request.protobufPayload error:&error];
85 if (!testMessage) {
107 if (testMessage) {
115 response.protobufPayload = testMessage.data;
118 [NSString stringWithFormat:@"Failed to make data from: %@", testMessage];
/external/icu/icu4c/source/test/intltest/
Dunits_test.cpp649 CharString testMessage("Test case \"", status); in checkOutput() local
650 testMessage.append(msg, status); in checkOutput()
651 testMessage.append("\": expected output: ", status); in checkOutput()
652 testMessage.append(expected.toDebugString().c_str(), status); in checkOutput()
653 testMessage.append(", obtained output:", status); in checkOutput()
655 testMessage.append(" ", status); in checkOutput()
656 testMessage.append(std::to_string(actual[i]->getNumber().getDouble(status)), status); in checkOutput()
657 testMessage.append(" ", status); in checkOutput()
658 testMessage.appendInvariantChars(actual[i]->getUnit().getIdentifier(), status); in checkOutput()
660 if (!unitsTest->assertEquals(testMessage.data(), expected._compoundCount, actual.length())) { in checkOutput()
[all …]
/external/testng/src/main/java/org/testng/remote/strprotocol/
DAbstractRemoteTestRunnerClient.java156 protected abstract void notifyTestEvents(final TestMessage testMessage); in notifyTestEvents() argument
/external/protobuf/python/google/protobuf/internal/
Dkeywords_test.py48 def testMessage(self): member in KeywordsConflictTest
Ddescriptor_pool_test.py906 def testMessage(self): member in AddDescriptorTest
/external/cldr/tools/java/org/unicode/cldr/util/
DVettingViewer.java1135 …tringBuilder appendToMessage(CharSequence usersValue, Subtype subtype, StringBuilder testMessage) { in appendToMessage() argument
1139 return appendToMessage(usersValue, testMessage); in appendToMessage()
1142 … private static StringBuilder appendToMessage(CharSequence usersValue, StringBuilder testMessage) { in appendToMessage() argument
1144 return testMessage; in appendToMessage()
1146 if (testMessage.length() != 0) { in appendToMessage()
1147 testMessage.append("<br>"); in appendToMessage()
1149 return testMessage.append(usersValue); in appendToMessage()
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare_test.py112 def testMessage(self): member in ProtoEqTest
384 def testMessage(self): member in AssertTest
/external/protobuf/php/tests/
Darray_test.php457 public function testMessage() function in RepeatedFieldTest
Dmap_field_test.php409 public function testMessage() { function in MapFieldTest
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor_test.py433 def testMessage(self): member in DescribeTest
/external/boringssl/src/ssl/test/runner/
Drunner.go1094 testMessage := make([]byte, messageLen)
1095 for i := range testMessage {
1096 testMessage[i] = 0x42 ^ byte(j)
1098 tlsConn.Write(testMessage)
1126 buf := make([]byte, len(testMessage))
1152 if v != testMessage[i]^0xff {
1153 return fmt.Errorf("bad reply contents at byte %d; got %q and wanted %q", i, buf, testMessage)
/external/protobuf/java/lite/src/test/java/com/google/protobuf/
DLiteTest.java2427 TestAllTypesLite testMessage = in testUnpairedSurrogatesReplacedByQuestionMark() local
2429 ByteString serializedMessage = testMessage.toByteString(); in testUnpairedSurrogatesReplacedByQuestionMark()