/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 | 108 String expectedString = testLinePair[testLinePair.length > 1 ? 1 : 0]; in main() local 109 …UnicodeSet expected = expectedString.startsWith("[") || expectedString.startsWith("\\") ? new Unic… in main() 110 expectedString) : null; in main() 124 if (!expectedString.equals(actualString)) { in main() 125 showFailure(testLine, expectedString, "<no failure>"); in main() 161 private static void showFailure(String testLine, String expectedString, String actualString) { in showFailure() argument 162 System.out.println("***\nFAILURE with: " + testLine + "\tExpected: " + expectedString in showFailure()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CharsTrieTest.java | 708 String expectedString=data[i].s; in checkFirst() local 709 int c=expectedString.charAt(0); in checkFirst() 710 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; in checkFirst() 722 c=expectedString.codePointAt(0); in checkFirst() 724 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst() 743 String expectedString=data[i].s; in checkNext() local 744 int stringLength=expectedString.length(); in checkNext() 746 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 774 result=trie.next(expectedString.charAt(j)); in checkNext() 826 String expectedString=data[i].s; in checkNextWithState() local [all …]
|
D | BytesTrieTest.java | 680 byte[] expectedString=data[i].bytes; in checkNextWithState() 684 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState() 705 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 710 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 728 byte[] expectedString=data[i].bytes; in checkNextString() 730 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 735 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 705 String expectedString=data[i].s; in checkFirst() local 706 int c=expectedString.charAt(0); in checkFirst() 707 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; in checkFirst() 719 c=expectedString.codePointAt(0); in checkFirst() 721 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst() 740 String expectedString=data[i].s; in checkNext() local 741 int stringLength=expectedString.length(); in checkNext() 743 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 771 result=trie.next(expectedString.charAt(j)); in checkNext() 823 String expectedString=data[i].s; in checkNextWithState() local [all …]
|
D | BytesTrieTest.java | 677 byte[] expectedString=data[i].bytes; in checkNextWithState() 681 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState() 702 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 707 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 725 byte[] expectedString=data[i].bytes; in checkNextString() 727 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 732 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
/external/icu/icu4c/source/test/intltest/ |
D | ucharstrietest.cpp | 826 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst() local 827 UChar32 c=expectedString[0]; in checkFirst() 828 UChar32 nextCp=expectedString.length()>1 ? expectedString[1] : 0; in checkFirst() 840 c=expectedString.char32At(0); in checkFirst() 842 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0; in checkFirst() 862 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext() local 863 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() 866 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext() 879 stringLength=expectedString.length(); in checkNext() 893 result=trie.next(expectedString[j]); in checkNext() [all …]
|
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()
|
D | bytestrietest.cpp | 778 const char *expectedString=data[i].s; in checkNextWithState() local 779 int32_t stringLength=strlen(expectedString); in checkNextWithState() 782 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) { in checkNextWithState() 805 result=trie.next(expectedString+partialLength, in checkNextWithState() 813 next(expectedString+partialLength, in checkNextWithState() 833 const char *expectedString=data[i].s; in checkNextString() local 834 int32_t stringLength=strlen(expectedString); in checkNextString() 835 if(!trie.next(expectedString, stringLength/2)) { in checkNextString() 840 if(trie.next(expectedString+stringLength/2, stringLength+1-stringLength/2)) { in checkNextString()
|
/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/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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | ParsingSteps.java | 95 …structorDeclarationAsAStringIs(int constructorPosition, int classPosition, String expectedString) { in thenTheConstructorDeclarationAsAStringIs() argument 99 assertThat(constructor.getDeclarationAsString(), is(expectedString)); in thenTheConstructorDeclarationAsAStringIs() 103 …eclarationShortFormAsAStringIs(int constructorPosition, int classPosition, String expectedString) { in thenConstructorInClassDeclarationShortFormAsAStringIs() argument 107 assertThat(constructor.getDeclarationAsString(false, false), is(expectedString)); in thenConstructorInClassDeclarationShortFormAsAStringIs() 111 …thod1InClass1DeclarationAsAStringIs(int methodPosition, int classPosition, String expectedString) { in thenMethod1InClass1DeclarationAsAStringIs() argument 115 assertThat(method.getDeclarationAsString(), is(expectedString)); in thenMethod1InClass1DeclarationAsAStringIs() 119 …lassDeclarationAsAStringShortFormIs(int methodPosition, int classPosition, String expectedString) { in thenMethodInClassDeclarationAsAStringShortFormIs() argument 123 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/icu/icu4c/source/test/cintltst/ |
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/icu/icu4c/source/test/iotest/ |
D | stream.cpp | 222 const UChar* expectedString, in testString() argument 245 if (str != UnicodeString(expectedString)) { in testString() 246 …log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString); in testString()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | MultiReaderTest.java | 73 String expectedString = testString + testString; in testSimple() local 74 assertEquals(expectedString, CharStreams.toString(joinedReader)); in testSimple()
|
/external/sonic/ |
D | wave.c | 148 char *expectedString) in expectString() argument 151 int length = strlen(expectedString); in expectString() 159 if(strcmp(expectedString, buf)) { in expectString()
|
/external/junit/src/main/java/org/junit/ |
D | Assert.java | 842 String expectedString = String.valueOf(expected); in format() local 844 if (expectedString.equals(actualString)) { in format() 846 + formatClassAndValue(expected, expectedString) in format() 849 return formatted + "expected:<" + expectedString + "> but was:<" in format()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 1329 …tatic org.hamcrest.Matcher<java.lang.String> equalToIgnoringCase(java.lang.String expectedString) { in equalToIgnoringCase() argument 1330 return org.hamcrest.text.IsEqualIgnoringCase.equalToIgnoringCase(expectedString); in equalToIgnoringCase() 1347 …org.hamcrest.Matcher<java.lang.String> equalToIgnoringWhiteSpace(java.lang.String expectedString) { in equalToIgnoringWhiteSpace() argument 1348 return org.hamcrest.text.IsEqualIgnoringWhiteSpace.equalToIgnoringWhiteSpace(expectedString); in equalToIgnoringWhiteSpace()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestFmwk.java | 591 String expectedString = expected == null ? "null" : Arrays.asList(expected).toString(); in assertEquals() local 593 return assertEquals(message, expectedString, actualString); in assertEquals()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestFmwk.java | 590 String expectedString = expected == null ? "null" : Arrays.asList(expected).toString(); in assertEquals() local 592 return assertEquals(message, expectedString, actualString); in assertEquals()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 467 …id doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 469 String expected = expectedString; in doTest()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 464 …id doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument 466 String expected = expectedString; in doTest()
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | JCommanderTest.java | 178 private void i18n1(String bundleName, Locale locale, String expectedString) { in i18n1() argument 188 Assert.assertEquals(pd.getDescription(), expectedString); in i18n1() local
|