/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/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLegacyMessageQueueTest.java | 41 private Message testMessage; field in ShadowLegacyMessageQueueTest 76 testMessage = handler.obtainMessage(); in setUp() 82 shadowQueue.setHead(testMessage); in test_setGetHead() 83 assertWithMessage("getHead()").that(shadowQueue.getHead()).isSameInstanceAs(testMessage); in test_setGetHead() 105 enqueueMessage(testMessage, 100); in enqueueMessage_setsHead() 106 assertWithMessage("head").that(shadowQueue.getHead()).isSameInstanceAs(testMessage); in enqueueMessage_setsHead() 111 assertWithMessage("retval").that(enqueueMessage(testMessage, 100)).isTrue(); in enqueueMessage_returnsTrue() 116 enqueueMessage(testMessage, 123); in enqueueMessage_setsWhen() 117 assertWithMessage("when").that(testMessage.getWhen()).isEqualTo(123); in enqueueMessage_setsWhen() 123 assertWithMessage("enqueueMessage()").that(enqueueMessage(testMessage, 1)).isFalse(); in enqueueMessage_returnsFalse_whenQuitting() [all …]
|
D | ShadowDevicePolicyManagerTest.java | 2141 final CharSequence testMessage = "TEST SHORT SUPPORT MESSAGE"; in setShortSupportMessage_messageSet() local 2144 devicePolicyManager.setShortSupportMessage(testComponent, testMessage); in setShortSupportMessage_messageSet() 2150 .contentEquals(testMessage)) in setShortSupportMessage_messageSet() 2177 final CharSequence testMessage = "TEST LONG SUPPORT MESSAGE"; in setLongSupportMessage_messageSet() local 2180 devicePolicyManager.setLongSupportMessage(testComponent, testMessage); in setLongSupportMessage_messageSet() 2186 .contentEquals(testMessage)) in setLongSupportMessage_messageSet()
|
/external/cronet/third_party/protobuf/conformance/ |
D | ConformanceJava.java | 232 com.google.protobuf.AbstractMessage testMessage; in doTest() local 245 testMessage = in doTest() 257 testMessage = in doTest() 282 testMessage = builder.build(); in doTest() 287 testMessage = builder.build(); in doTest() 305 testMessage = builder.build(); in doTest() 316 testMessage = builder.build(); in doTest() 344 ByteString messageString = testMessage.toByteString(); in doTest() 354 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)) in doTest() 364 .setTextPayload(TextFormat.printer().printToString(testMessage)) in doTest()
|
D | conformance_nodejs.js | 40 var testMessage; 59 testMessage = test_messages_proto3.TestAllTypesProto3.deserializeBinary( 67 testMessage = test_messages_proto2.TestAllTypesProto2.deserializeBinary( 97 response.setProtobufPayload(testMessage.serializeBinary());
|
D | conformance_objc.m | 67 GPBMessage *testMessage = nil; 88 testMessage = [msgClass parseFromData:request.protobufPayload error:&error]; 89 if (!testMessage) { 111 if (testMessage) { 120 response.protobufPayload = testMessage.data; 123 [NSString stringWithFormat:@"Failed to make data from: %@", testMessage];
|
D | ConformanceJavaLite.java | 230 com.google.protobuf.MessageLite testMessage; in doTest() local 243 testMessage = in doTest() 255 testMessage = in doTest() 296 .setProtobufPayload(testMessage.toByteString()) in doTest()
|
/external/protobuf/conformance/ |
D | ConformanceJava.java | 232 AbstractMessage testMessage; in doTest() local 246 testMessage = in doTest() 258 testMessage = in doTest() 284 testMessage = builder.build(); in doTest() 289 testMessage = builder.build(); in doTest() 308 testMessage = builder.build(); in doTest() 319 testMessage = builder.build(); in doTest() 348 ByteString messageString = testMessage.toByteString(); in doTest() 358 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)) in doTest() 368 .setTextPayload(TextFormat.printer().printToString(testMessage)) in doTest()
|
D | conformance_nodejs.js | 40 var testMessage; 59 testMessage = test_messages_proto3.TestAllTypesProto3.deserializeBinary( 67 testMessage = test_messages_proto2.TestAllTypesProto2.deserializeBinary( 97 response.setProtobufPayload(testMessage.serializeBinary());
|
D | conformance_objc.m | 67 GPBMessage *testMessage = nil; 88 testMessage = [msgClass parseFromData:request.protobufPayload error:&error]; 89 if (!testMessage) { 111 if (testMessage) { 120 response.protobufPayload = testMessage.data; 123 [NSString stringWithFormat:@"Failed to make data from: %@", testMessage];
|
D | ConformanceJavaLite.java | 230 com.google.protobuf.MessageLite testMessage; in doTest() local 243 testMessage = in doTest() 255 testMessage = in doTest() 296 .setProtobufPayload(testMessage.toByteString()) in doTest()
|
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
D | conformance_testee.js | 63 const testMessage = 65 response.setProtobufPayload(testMessage.serialize()); 73 const testMessage = 75 response.setProtobufPayload(testMessage.serialize());
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | units_test.cpp | 870 CharString testMessage("Test case \"", status); in checkOutput() local 871 testMessage.append(msg, status); in checkOutput() 872 testMessage.append("\": expected output: ", status); in checkOutput() 873 testMessage.append(expected.toDebugString().c_str(), status); in checkOutput() 874 testMessage.append(", obtained output:", status); in checkOutput() 876 testMessage.append(" ", status); in checkOutput() 877 testMessage.append(std::to_string(actual[i]->getNumber().getDouble(status)), status); in checkOutput() 878 testMessage.append(" ", status); in checkOutput() 879 testMessage.appendInvariantChars(actual[i]->getUnit().getIdentifier(), status); in checkOutput() 881 if (!unitsTest->assertEquals(testMessage.data(), expected._compoundCount, actual.length())) { in checkOutput() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | units_test.cpp | 870 CharString testMessage("Test case \"", status); in checkOutput() local 871 testMessage.append(msg, status); in checkOutput() 872 testMessage.append("\": expected output: ", status); in checkOutput() 873 testMessage.append(expected.toDebugString().c_str(), status); in checkOutput() 874 testMessage.append(", obtained output:", status); in checkOutput() 876 testMessage.append(" ", status); in checkOutput() 877 testMessage.append(std::to_string(actual[i]->getNumber().getDouble(status)), status); in checkOutput() 878 testMessage.append(" ", status); in checkOutput() 879 testMessage.appendInvariantChars(actual[i]->getUnit().getIdentifier(), status); in checkOutput() 881 if (!unitsTest->assertEquals(testMessage.data(), expected._compoundCount, actual.length())) { in checkOutput() [all …]
|
/external/golang-protobuf/internal/impl/ |
D | message_reflect_test.go | 246 testMessage(t, nil, new(ScalarProto2).ProtoReflect(), messageOps{ 277 testMessage(t, nil, (*ScalarProto2)(nil).ProtoReflect(), messageOps{ 348 testMessage(t, nil, new(ScalarProto3).ProtoReflect(), messageOps{ 399 testMessage(t, nil, (*ScalarProto3)(nil).ProtoReflect(), messageOps{ 491 testMessage(t, nil, new(ListScalars).ProtoReflect(), messageOps{ 551 testMessage(t, nil, (*ListScalars)(nil).ProtoReflect(), messageOps{ 688 testMessage(t, nil, new(MapScalars).ProtoReflect(), messageOps{ 768 testMessage(t, nil, (*MapScalars)(nil).ProtoReflect(), messageOps{ 894 testMessage(t, nil, new(OneofScalars).ProtoReflect(), messageOps{ 928 testMessage(t, nil, (*OneofScalars)(nil).ProtoReflect(), messageOps{ [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 | 46 def testMessage(self): member in KeywordsConflictTest
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | keywords_test.py | 46 def testMessage(self): member in KeywordsConflictTest
|
/external/tensorflow/tensorflow/python/util/protobuf/ |
D | compare_test.py | 108 def testMessage(self): member in ProtoEqTest 391 def testMessage(self): member in AssertTest
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | VettingViewer.java | 1328 … static void appendToMessage(CharSequence usersValue, Subtype subtype, StringBuilder testMessage) { in appendToMessage() argument 1332 appendToMessage(usersValue, testMessage); in appendToMessage() 1335 private static void appendToMessage(CharSequence usersValue, StringBuilder testMessage) { in appendToMessage() argument 1339 if (testMessage.length() != 0) { in appendToMessage() 1340 testMessage.append("<br>"); in appendToMessage() 1342 testMessage.append(usersValue); in appendToMessage()
|
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/ |
D | StopWatchTest.java | 209 public void testMessage() { in testMessage() method in StopWatchTest
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor_test.py | 433 def testMessage(self): member in DescribeTest
|
/external/protobuf/php/tests/ |
D | MapFieldTest.php | 410 public function testMessage() { function in MapFieldTest
|
D | ArrayTest.php | 458 public function testMessage() function in ArrayTest
|
/external/cronet/third_party/protobuf/php/tests/ |
D | ArrayTest.php | 458 public function testMessage() function in ArrayTest
|