HomeSort by relevance Sort by last modified time
    Searched refs:expectedString (Results 1 - 25 of 34) sorted by null

1 2

  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseLocaleTest.java 113 String expectedString = new String(new int[] {0xFE000}, 0, 1);
114 mDatabase.execSQL("INSERT INTO test(id, data) VALUES(1, '" + expectedString + "')");
120 assertEquals(expectedString.length(), actualString.length());
121 for (int i = 0; i < expectedString.length(); i++) {
122 assertEquals((int)expectedString.charAt(i), (int)actualString.charAt(i));
124 assertEquals(expectedString, actualString);
  /cts/tests/tests/content/src/android/content/res/cts/
RawResourceTest.java 43 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen";
51 + " expected " + expectedString.charAt(curIndex)
53 buffer[i], expectedString.charAt(curIndex));
ResourcesTest.java 589 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen";
597 + " expected " + expectedString.charAt(curIndex)
599 buffer[i], expectedString.charAt(curIndex));
  /frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java 36 String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen";
44 + " expected " + expectedString.charAt(curIndex)
46 buffer[i], expectedString.charAt(curIndex));
  /packages/apps/Contacts/tests/src/com/android/contacts/util/
HtmlUtilsTest.java 54 private final void checkTrimNewLines(String expectedString, CharSequence text) {
56 assertEquals(expectedString,
59 assertEquals(expectedString,
  /external/chromium_org/third_party/icu/source/test/cintltst/
cintltst.h 101 * Assert that the actualString equals the expectedString, and return
104 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
  /external/icu4c/test/cintltst/
cintltst.h 129 * Assert that the actualString equals the expectedString, and return
132 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
  /libcore/dom/src/test/java/org/w3c/domts/
JUnitTestCaseAdapter.java 252 String expectedString;
261 expectedString = (String) expectedIter.next();
262 if(actualString.equalsIgnoreCase(expectedString)) {
264 expectedArray.remove(expectedString);
279 String expectedString;
282 expectedString = (String) expected.get(i);
284 if(!expectedString.equalsIgnoreCase(actualString)) {
285 assertEquals(assertID,expectedString,actualString);
381 String expectedString;
390 expectedString = (String) expectedIter.next()
    [all...]
  /external/icu4c/test/intltest/
ucharstrietest.cpp 824 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape();
825 UChar32 c=expectedString[0];
826 UChar32 nextCp=expectedString.length()>1 ? expectedString[1] : 0;
838 c=expectedString.char32At(0);
840 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0;
860 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape();
861 int32_t stringLength= (i&1) ? -1 : expectedString.length();
864 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) |
    [all...]
bytestrietest.cpp 766 const char *expectedString=data[i].s;
767 int32_t stringLength=strlen(expectedString);
770 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) {
793 result=trie.next(expectedString+partialLength,
801 next(expectedString+partialLength,
821 const char *expectedString=data[i].s;
822 int32_t stringLength=strlen(expectedString);
823 if(!trie.next(expectedString, stringLength/2)) {
828 if(trie.next(expectedString+stringLength/2, stringLength+1-stringLength/2)) {
itrbnf.cpp     [all...]
  /cts/tests/tests/database/src/android/database/cts/
CursorWindowTest.java 285 String expectedString = "";
288 expectedString += baseString;
296 cursorWindow.putString(expectedString, 0, 0);
301 assertEquals(expectedString,
305 expectedString += baseString;
307 cursorWindow.putString(expectedString, 0, 1);
311 assertEquals(expectedString,
313 assertEquals(70, expectedString.length());
314 assertEquals(expectedString.length(), charArrayBuffer.data.length);
  /external/guava/guava-tests/test/com/google/common/io/
MultiReaderTest.java 75 String expectedString = testString + testString;
76 assertEquals(expectedString, CharStreams.toString(joinedReader));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DoubleTest.java 186 String expectedString) {
194 assertEquals(expectedString.toLowerCase(Locale.US), convertedString
432 String testString, expectedString;
433 testString = expectedString = "3.4e-" + i;
434 doTestCompareRawBits(testString, rawBitsFor3_4en324ToN1[324 - i], expectedString);
449 String testString, expectedString;
450 testString = expectedString = "1.2e" + i;
451 doTestCompareRawBits(testString, rawBitsFor1_2e0To309[i], expectedString);
    [all...]
FloatTest.java 88 String expectedString) {
476 String expectedString = Integer.toHexString(Float.floatToIntBits(expected));
479 + ">.The expected result should be:<" + expectedString
525 String expectedString = Integer.toHexString(Float.floatToIntBits(expected));
528 + ">.The expected result should be:<" + expectedString
575 String expectedString = Integer.toHexString(Float.floatToIntBits(expected));
578 + ">.The expected result should be:<" + expectedString
625 String expectedString = Integer.toHexString(Float.floatToIntBits(expected));
628 + ">.The expected result should be:<" + expectedString
675 String expectedString = Integer.toHexString(Float.floatToIntBits(expected))
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/
LoginModuleUtilsTest.java 60 String expectedString = PASSWORD_AS_STRING + "\r";
61 assertTrue(Arrays.equals(expectedString.toCharArray(), password));
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 156 String expectedString = "12/18/08";
159 assertEquals(expectedString, actual.toString());
162 assertEquals(expectedString, actual.toString());
164 assertEquals(expectedString, actual.toString());
  /external/junit/src/org/junit/
Assert.java 654 String expectedString= String.valueOf(expected);
656 if (expectedString.equals(actualString))
658 + formatClassAndValue(expected, expectedString)
661 return formatted + "expected:<" + expectedString + "> but was:<"
  /external/chromium_org/third_party/icu/source/test/iotest/
stream.cpp 230 const UChar* expectedString,
258 if (str != UnicodeString(expectedString)) {
259 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString);
  /external/icu4c/test/iotest/
stream.cpp 220 const UChar* expectedString,
243 if (str != UnicodeString(expectedString)) {
244 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString);
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
FileRotatorTest.java 421 final String expectedString = Arrays.toString(expected);
423 fail("expected: " + expectedString + " but was: " + actualString);
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
MimeMessageTest.java 418 String expectedString =
423 byte[] expected = expectedString.getBytes();
  /libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.java 420 String expectedString = nodeToNormalizedString(expectedNode);
424 expectedString, actualString);
  /external/chromium_org/third_party/icu/source/test/intltest/
rbbiapts.cpp     [all...]
itrbnf.cpp     [all...]

Completed in 2034 milliseconds

1 2