/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/ |
D | ToStringTest.kt | 57 val expectedString = """ in <lambda>() constant 66 val expected = expectedString.trimStackTrace().trimPackage() in <lambda>() 79 val expectedString = """ in <lambda>() constant 86 checkHierarchy(isCompleting = true, expectedString = expectedString) in <lambda>() 92 val expectedString = """ in <lambda>() constant 98 checkHierarchy(isCompleting = false, expectedString = expectedString) in <lambda>() 101 … private suspend fun CoroutineScope.checkHierarchy(isCompleting: Boolean, expectedString: String) { in checkHierarchy() 104 val expected = expectedString.trimStackTrace().trimPackage() in checkHierarchy()
|
/external/ImageMagick/Magick++/tests/ |
D | color.cpp | 86 string expectedString = "#AABBCC"; in main() local 88 string expectedString = "#AAAABBBBCCCC"; in main() local 90 string expectedString = "#AAAAAAAABBBBBBBBCCCCCCCC"; in main() local 92 string expectedString = "#AAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC"; in main() local 99 if ( string(Color(colorStrings[i])) != expectedString ) in main() 106 << expectedString in main()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | StateMachineTest.java | 109 String expectedString = testLinePair[testLinePair.length > 1 ? 1 : 0]; in main() local 110 …UnicodeSet expected = expectedString.startsWith("[") || expectedString.startsWith("\\") ? new Unic… in main() 111 expectedString) : null; in main() 125 if (!expectedString.equals(actualString)) { in main() 126 showFailure(testLine, expectedString, "<no failure>"); in main() 162 private static void showFailure(String testLine, String expectedString, String actualString) { in showFailure() argument 163 System.out.println("***\nFAILURE with: " + testLine + "\tExpected: " + expectedString in showFailure()
|
/external/icu/icu4c/source/test/intltest/ |
D | ucharstrietest.cpp | 828 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst() local 829 UChar32 c=expectedString[0]; in checkFirst() 830 UChar32 nextCp=expectedString.length()>1 ? expectedString[1] : 0; in checkFirst() 842 c=expectedString.char32At(0); in checkFirst() 844 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0; in checkFirst() 864 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext() local 865 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() 868 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext() 881 stringLength=expectedString.length(); in checkNext() 895 result=trie.next(expectedString[j]); in checkNext() [all …]
|
D | bytestrietest.cpp | 780 const char *expectedString=data[i].s; in checkNextWithState() local 781 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState() 784 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) { in checkNextWithState() 807 result=trie.next(expectedString+partialLength, in checkNextWithState() 815 next(expectedString+partialLength, in checkNextWithState() 834 const char *expectedString=data[i].s; in checkNextWithState64() local 835 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState64() 838 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) { in checkNextWithState64() 862 result=trie.next(expectedString+partialLength, in checkNextWithState64() 870 next(expectedString+partialLength, in checkNextWithState64() [all …]
|
D | itformat.h | 45 UnicodeString expectedString, 54 UnicodeString expectedString,
|
D | numfmtdatadriventest.cpp | 380 UnicodeString expectedString = expectedQuantity.toScientificString(); in isParsePass() local 385 expectedString = tuple.output; in isParsePass() 389 if (expectedString != actualString) { in isParsePass() 391 … UnicodeString("Expected: ") + tuple.output + " (i.e., " + expectedString + "), but got: " + in isParsePass() 433 UnicodeString expectedString = expectedQuantity.toScientificString(); in isParseCurrencyPass() local 438 expectedString = tuple.output; in isParseCurrencyPass() 441 if (expectedString != resultStr) { in isParseCurrencyPass() 443 … UnicodeString("Expected: ") + tuple.output + " (i.e., " + expectedString + "), but got: " + in isParseCurrencyPass()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CharsTrieTest.java | 730 String expectedString=data[i].s; in checkFirst() local 731 int c=expectedString.charAt(0); in checkFirst() 732 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; in checkFirst() 744 c=expectedString.codePointAt(0); in checkFirst() 746 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst() 765 String expectedString=data[i].s; in checkNext() local 766 int stringLength=expectedString.length(); in checkNext() 768 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 796 result=trie.next(expectedString.charAt(j)); in checkNext() 848 String expectedString=data[i].s; in checkNextWithState() local [all …]
|
D | BytesTrieTest.java | 702 byte[] expectedString=data[i].bytes; in checkNextWithState() 706 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState() 727 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 732 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 749 byte[] expectedString=data[i].bytes; in checkNextWithState64() 753 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState64() 775 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() 780 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() 798 byte[] expectedString=data[i].bytes; in checkNextString() 800 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 727 String expectedString=data[i].s; in checkFirst() local 728 int c=expectedString.charAt(0); in checkFirst() 729 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; in checkFirst() 741 c=expectedString.codePointAt(0); in checkFirst() 743 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst() 762 String expectedString=data[i].s; in checkNext() local 763 int stringLength=expectedString.length(); in checkNext() 765 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 793 result=trie.next(expectedString.charAt(j)); in checkNext() 845 String expectedString=data[i].s; in checkNextWithState() local [all …]
|
D | BytesTrieTest.java | 699 byte[] expectedString=data[i].bytes; in checkNextWithState() 703 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState() 724 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 729 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 746 byte[] expectedString=data[i].bytes; in checkNextWithState64() 750 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState64() 772 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() 777 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64() 795 byte[] expectedString=data[i].bytes; in checkNextString() 797 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | NewInstanceStringTest.java | 272 private void runTestNewInstanceString(String constructorSignature, String expectedString, in runTestNewInstanceString() argument 275 new StringChecker(expectedString)); in runTestNewInstanceString() 282 private final String expectedString; field in NewInstanceStringTest.StringChecker 284 private StringChecker(String expectedString) { in StringChecker() argument 286 this.expectedString = expectedString; in StringChecker() 297 expectedString, resultString); in check()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdateintervalformattest.c | 371 const UChar* expectedString = u"27. September 2010, 15:00 – 2. März 2011, 18:30"; in TestFormatToResult() local 391 expectedString, in TestFormatToResult() 397 const UChar* expectedString = u"27. September 2010, 15:00–22:00 Uhr"; in TestFormatToResult() local 415 expectedString, in TestFormatToResult() 441 const UChar* expectedString = u"27. September 2010, 15:00 – 2. März 2011, 18:30"; in TestFormatCalendarToResult() local 461 expectedString, in TestFormatCalendarToResult() 467 const UChar* expectedString = u"27. September 2010, 15:00–22:00 Uhr"; in TestFormatCalendarToResult() local 485 expectedString, in TestFormatCalendarToResult() 496 const UChar* expectedString = u"4. Oktober 1582, 00:00 – 16. Oktober 1582, 00:00"; in TestFormatCalendarToResult() local 516 expectedString, in TestFormatCalendarToResult() [all …]
|
D | ulistfmttest.c | 142 const UChar* expectedString = u"hello, wonderful, and world"; in TestUListFmtToValue() local 163 expectedString, in TestUListFmtToValue() 169 const UChar* expectedString = u"A, B, C, D, E, F, and G"; in TestUListFmtToValue() local 206 expectedString, in TestUListFmtToValue() 223 const UChar* expectedString = u"A, B, or C"; in TestUListOpenStyled() local 244 expectedString, in TestUListOpenStyled()
|
D | uformattedvaluetst.c | 193 const UChar* expectedString, in checkFormattedValueString() argument 205 assertUEquals(message, expectedString, actualString); in checkFormattedValueString() 212 const UChar* expectedString, in checkFormattedValue() argument 218 checkFormattedValueString(message, fv, expectedString, &ec); in checkFormattedValue() 245 const UChar* expectedString, in checkMixedFormattedValue() argument 250 checkFormattedValueString(message, fv, expectedString, &ec); in checkMixedFormattedValue()
|
D | cformtst.h | 46 const UChar* expectedString, 54 const UChar* expectedString,
|
D | cintltst.h | 135 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString, 142 U_CFUNC UBool assertUEquals(const char* msg, const UChar* expectedString,
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | strings_test.cpp | 24 std::string expectedString = "a-1b-2c4294967292e5fahbq0x"; in TEST() local 25 expectedString += std::string(SCUDO_POINTER_FORMAT_LENGTH - 3, '0'); in TEST() 26 expectedString += "123e_string_r"; in TEST() 28 EXPECT_STREQ(expectedString.c_str(), Str.data()); in TEST()
|
/external/scudo/standalone/tests/ |
D | strings_test.cpp | 24 std::string expectedString = "a-1b-2c4294967292e5fahbq0x"; in TEST() local 25 expectedString += std::string(SCUDO_POINTER_FORMAT_LENGTH - 3, '0'); in TEST() 26 expectedString += "123e_string_r"; in TEST() 28 EXPECT_STREQ(expectedString.c_str(), Str.data()); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_printf_test.cc | 32 std::string expectedString = "a-1b-2c4294967292e5fahbq0x"; in TEST() local 33 expectedString += std::string(SANITIZER_POINTER_FORMAT_LENGTH - 3, '0'); in TEST() 34 expectedString += "123e_string_r"; in TEST() 35 EXPECT_STREQ(expectedString.c_str(), buf); in TEST()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_printf_test.cpp | 28 std::string expectedString = "a-1b-2c4294967292e5fahbq0x"; in TEST() local 29 expectedString += std::string(SANITIZER_POINTER_FORMAT_LENGTH - 3, '0'); in TEST() 30 expectedString += "123e_string_r"; in TEST() 31 EXPECT_STREQ(expectedString.c_str(), buf); in TEST()
|
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | ParsingSteps.java | 96 …structorDeclarationAsAStringIs(int constructorPosition, int classPosition, String expectedString) { in thenTheConstructorDeclarationAsAStringIs() argument 100 assertThat(constructor.getDeclarationAsString(), is(expectedString)); in thenTheConstructorDeclarationAsAStringIs() 104 …eclarationShortFormAsAStringIs(int constructorPosition, int classPosition, String expectedString) { in thenConstructorInClassDeclarationShortFormAsAStringIs() argument 108 assertThat(constructor.getDeclarationAsString(false, false), is(expectedString)); in thenConstructorInClassDeclarationShortFormAsAStringIs() 112 …thod1InClass1DeclarationAsAStringIs(int methodPosition, int classPosition, String expectedString) { in thenMethod1InClass1DeclarationAsAStringIs() argument 116 assertThat(method.getDeclarationAsString(), is(expectedString)); in thenMethod1InClass1DeclarationAsAStringIs() 120 …lassDeclarationAsAStringShortFormIs(int methodPosition, int classPosition, String expectedString) { in thenMethodInClassDeclarationAsAStringShortFormIs() argument 124 assertThat(method.getDeclarationAsString(false, false), is(expectedString)); in thenMethodInClassDeclarationAsAStringShortFormIs()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
D | IsEqualIgnoringCase.java | 50 public static Matcher<String> equalToIgnoringCase(String expectedString) { in equalToIgnoringCase() argument 51 return new IsEqualIgnoringCase(expectedString); in equalToIgnoringCase()
|
D | IsEqualIgnoringWhiteSpace.java | 75 public static Matcher<String> equalToIgnoringWhiteSpace(String expectedString) { in equalToIgnoringWhiteSpace() argument 76 return new IsEqualIgnoringWhiteSpace(expectedString); in equalToIgnoringWhiteSpace()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_vloadstore.cpp | 169 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vload() local 172 … GetDataVectorString( &(expected[i*typeSize*vecSize]), typeSize, vecSize, expectedString ), in test_vload() 181 … GetDataVectorString( &(expected[i*typeSize*vecSize]), typeSize, vecSize, expectedString ), in test_vload() 191 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vload() local 193 …cit_type_name( type ), vecSize, GetDataVectorString( expected, typeSize, vecSize, expectedString ), in test_vload() 675 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vstore() local 679 … GetDataVectorString( &(expected[i*typeSize*vecSize]), typeSize, vecSize, expectedString ), in test_vstore() 690 … GetDataVectorString( &(expected[i*typeSize*vecSize]), typeSize, vecSize, expectedString ), in test_vstore() 700 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vstore() local 702 …cit_type_name( type ), vecSize, GetDataVectorString( expected, typeSize, vecSize, expectedString ), in test_vstore()
|