Home
last modified time | relevance | path

Searched refs:expectedString (Results 1 – 19 of 19) sorted by relevance

/external/vogar/src/org/junit/
DAssert.java32 String expectedString = Arrays.toString(expecteds); in assertArrayEquals() local
35 if (!expectedString.equals(actualString)) { in assertArrayEquals()
36 fail(message, "expected " + expectedString + " but was " + actualString); in assertArrayEquals()
45 String expectedString = Arrays.toString(expecteds); in assertArrayEquals() local
48 if (!expectedString.equals(actualString)) { in assertArrayEquals()
49 fail(message, "expected " + expectedString + " but was " + actualString); in assertArrayEquals()
58 String expectedString = Arrays.toString(expecteds); in assertArrayEquals() local
61 if (!expectedString.equals(actualString)) { in assertArrayEquals()
62 fail(message, "expected " + expectedString + " but was " + actualString); in assertArrayEquals()
71 String expectedString = Arrays.toString(expecteds); in assertArrayEquals() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCharsTrieTest.java680 String expectedString=data[i].s; in checkFirst() local
681 int c=expectedString.charAt(0); in checkFirst()
682 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; in checkFirst()
694 c=expectedString.codePointAt(0); in checkFirst()
696 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; in checkFirst()
715 String expectedString=data[i].s; in checkNext() local
716 int stringLength=expectedString.length(); in checkNext()
718 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext()
746 result=trie.next(expectedString.charAt(j)); in checkNext()
798 String expectedString=data[i].s; in checkNextWithState() local
[all …]
DBytesTrieTest.java655 byte[] expectedString=data[i].bytes; in checkNextWithState()
659 if(!trie.next(expectedString[j]).matches()) { in checkNextWithState()
680 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
685 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
703 byte[] expectedString=data[i].bytes; in checkNextString()
705 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString()
710 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
/external/icu/icu4c/source/test/intltest/
Ducharstrietest.cpp823 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst() local
824 UChar32 c=expectedString[0]; in checkFirst()
825 UChar32 nextCp=expectedString.length()>1 ? expectedString[1] : 0; in checkFirst()
837 c=expectedString.char32At(0); in checkFirst()
839 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0; in checkFirst()
859 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext() local
860 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext()
863 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
876 stringLength=expectedString.length(); in checkNext()
890 result=trie.next(expectedString[j]); in checkNext()
[all …]
Dbytestrietest.cpp765 const char *expectedString=data[i].s; in checkNextWithState() local
766 int32_t stringLength=strlen(expectedString); in checkNextWithState()
769 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) { in checkNextWithState()
792 result=trie.next(expectedString+partialLength, in checkNextWithState()
800 next(expectedString+partialLength, in checkNextWithState()
820 const char *expectedString=data[i].s; in checkNextString() local
821 int32_t stringLength=strlen(expectedString); in checkNextString()
822 if(!trie.next(expectedString, stringLength/2)) { in checkNextString()
827 if(trie.next(expectedString+stringLength/2, stringLength+1-stringLength/2)) { in checkNextString()
Ditrbnf.cpp2141 … UnicodeString expectedString = UnicodeString(expectedWords, -1, US_INV).unescape(); in doTest() local
2142 if (actualString != expectedString) { in doTest()
2146 msg.append(expectedString); in doTest()
Drbbiapts.cpp1489 … testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expectedString){ in doTest() argument
1491 UnicodeString expected=CharsToUnicodeString(expectedString); in doTest()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_printf_test.cc32 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/junit/src/org/junit/
DAssert.java654 String expectedString= String.valueOf(expected); in format() local
656 if (expectedString.equals(actualString)) in format()
658 + formatClassAndValue(expected, expectedString) in format()
661 return formatted + "expected:<" + expectedString + "> but was:<" in format()
/external/guava/guava-tests/test/com/google/common/io/
DMultiReaderTest.java73 String expectedString = testString + testString; in testSimple() local
74 assertEquals(expectedString, CharStreams.toString(joinedReader)); in testSimple()
/external/icu/icu4c/source/test/iotest/
Dstream.cpp220 const UChar* expectedString, in testString() argument
243 if (str != UnicodeString(expectedString)) { in testString()
244 …log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString); in testString()
/external/sonic/
Dwave.c148 char *expectedString) in expectString() argument
151 int length = strlen(expectedString); in expectString()
159 if(strcmp(expectedString, buf)) { in expectString()
/external/icu/icu4c/source/test/cintltst/
Dcintltst.h138 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java440 …id doTest(String testString, int start, int gotoffset, int expectedOffset, String expectedString) { in doTest() argument
442 String expected = expectedString; in doTest()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java1877 String expectedString = expected == null ? "null" : Arrays.asList(expected).toString(); in assertEquals() local
1879 return assertEquals(message, expectedString, actualString); in assertEquals()
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/libphonenumber/lib/
Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...