/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMessageQueueTest.java | 36 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/ |
D | ConformanceJava.java | 208 com.google.protobuf.AbstractMessage testMessage; in doTest() local 218 … testMessage = parseBinary(request.getProtobufPayload(), TestAllTypesProto3.parser(), extensions); in doTest() 226 … testMessage = 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()
|
D | conformance_nodejs.js | 43 var testMessage; 56 testMessage = test_messages_proto3.TestAllTypesProto3.deserializeBinary( 64 testMessage = test_messages_proto2.TestAllTypesProto2.deserializeBinary( 94 response.setProtobufPayload(testMessage.serializeBinary());
|
D | ConformanceJavaLite.java | 48 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()
|
D | conformance_objc.m | 67 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/ |
D | units_test.cpp | 649 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/ |
D | AbstractRemoteTestRunnerClient.java | 156 protected abstract void notifyTestEvents(final TestMessage testMessage); in notifyTestEvents() argument
|
/external/protobuf/python/google/protobuf/internal/ |
D | keywords_test.py | 48 def testMessage(self): member in KeywordsConflictTest
|
D | descriptor_pool_test.py | 906 def testMessage(self): member in AddDescriptorTest
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VettingViewer.java | 1135 …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/ |
D | compare_test.py | 112 def testMessage(self): member in ProtoEqTest 384 def testMessage(self): member in AssertTest
|
/external/protobuf/php/tests/ |
D | array_test.php | 457 public function testMessage() function in RepeatedFieldTest
|
D | map_field_test.php | 409 public function testMessage() { function in MapFieldTest
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor_test.py | 433 def testMessage(self): member in DescribeTest
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 1094 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/ |
D | LiteTest.java | 2427 TestAllTypesLite testMessage = in testUnpairedSurrogatesReplacedByQuestionMark() local 2429 ByteString serializedMessage = testMessage.toByteString(); in testUnpairedSurrogatesReplacedByQuestionMark()
|