HomeSort by relevance Sort by last modified time
    Searched defs:testString (Results 101 - 125 of 243) sorted by null

1 2 3 45 6 7 8 910

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
OutputStreamWriterTest.java 55 String testString = "Test_All_Tests\nTest_java_io_BufferedInputStream\nTest_java_io_BufferedOutputStream\nTest_java_io_ByteArrayInputStream\nTest_java_io_ByteArrayOutputStream\nTest_java_io_DataInputStream\n";
573 osw.write(testString, 0, testString.length());
622 char[] buf = new char[testString.length()];
623 osw.write(testString, 0, testString.length());
628 .equals(testString));
665 char[] buf = new char[testString.length()];
666 osw.write(testString, 0, testString.length())
    [all...]
PrintStreamTest.java 576 String testString = "My Test String";
579 printStream.append(testString);
581 assertEquals(testString, out.toString());
589 String testString = "My Test String";
592 printStream.append(testString, 1, 3);
594 assertEquals(testString.substring(1, 3), out.toString());
PrintWriterTest.java 695 String testString = "My Test String";
698 printWriter.append(testString);
700 assertEquals(testString, out.toString());
709 String testString = "My Test String";
712 printWriter.append(testString, 1, 3);
714 assertEquals(testString.substring(1, 3), out.toString());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DoubleTest.java 448 String testString, expectedString;
449 testString = expectedString = "3.4e-" + i;
450 doTestCompareRawBits(testString, rawBitsFor3_4en324ToN1[324 - i], expectedString);
465 String testString, expectedString;
466 testString = expectedString = "1.2e" + i;
467 doTestCompareRawBits(testString, rawBitsFor1_2e0To309[i], expectedString);
    [all...]
FloatTest.java 321 String testString;
322 testString = "3.4028234663852886e-" + i;
323 doTestCompareRawBits(testString, rawBitsFor3_4eN38To38[38 - i],
348 String testString;
349 testString = "3.4028234663852886e+" + i;
350 doTestCompareRawBits(testString, rawBitsFor3_4eN38To38[38 + i],
356 String testString;
357 testString = "-1.1754943508222875e-" + i;
358 doTestCompareRawBits(testString, rawBitsFor1_17eN38To38[38 - i],
383 String testString;
    [all...]
  /packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
AddressUnitTests.java 80 String testString = "xyza\0\"";
82 int len = testString.length();
86 String prefix = testString.substring(0, i);
  /cts/tests/tests/widget/src/android/widget/cts/
AutoCompleteTextViewTest.java 501 String testString = "";
504 testString = "8337777";
506 testString = "tes";
515 mInstrumentation.sendStringSync(testString);
522 testString = "84428";
524 testString = "that";
526 mInstrumentation.sendStringSync(testString);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
TestCharsetDetector.java 395 String testString = testText.toString();
407 checkEncoding(testString, encoding, language, checkRoundtrip,
418 private void checkMatch(CharsetDetector det, String testString,
446 if (! testString.equals(decoded)) {
452 if (! testString.equals(decoded)) {
457 private void checkEncoding(String testString,
462 bytes = testString.getBytes(encoding);
480 checkMatch(det, testString, encoding, language, checkRoundtrip, id);
483 checkMatch(det, testString, encoding, language, checkRoundtrip, id);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
BreakIteratorTest.java 792 String testString = "boo.";
794 wb.setText(testString);
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
SpoofCheckerTest.java 578 String testString = (String) test[0];
586 boolean actualValue = sc.failsChecks(testString, checkResult);
587 assertEquals("Testing restriction level for '" + testString + "'",
592 assertEquals("Testing spoof restriction level for '" + testString + "', " + levelSetInSpoofChecker,
621 String testString = (String) test[0];
627 boolean actualValue = sc.failsChecks(testString, checkResult);
629 assertEquals("Testing spoof mixed numbers for '" + testString + "', ", expected.size() > 1, actualValue);
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cbiapts.c 632 UChar testString[TEST_STRING_LENGTH];
645 u_uastrncpy(testString, "ABC", TEST_STRING_LENGTH);
648 bi = ubrk_openRules(rules, -1, testString, -1, NULL, &status);
    [all...]
cucdtst.c     [all...]
  /external/icu/icu4c/source/test/intltest/
ustrtest.cpp     [all...]
regextst.cpp     [all...]
transtst.cpp     [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
TestCharsetDetector.java 394 String testString = testText.toString();
406 checkEncoding(testString, encoding, language, checkRoundtrip,
417 private void checkMatch(CharsetDetector det, String testString,
445 if (! testString.equals(decoded)) {
451 if (! testString.equals(decoded)) {
456 private void checkEncoding(String testString,
461 bytes = testString.getBytes(encoding);
479 checkMatch(det, testString, encoding, language, checkRoundtrip, id);
482 checkMatch(det, testString, encoding, language, checkRoundtrip, id);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
BreakIteratorTest.java 791 String testString = "boo.";
793 wb.setText(testString);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
SpoofCheckerTest.java 577 String testString = (String) test[0];
585 boolean actualValue = sc.failsChecks(testString, checkResult);
586 assertEquals("Testing restriction level for '" + testString + "'",
591 assertEquals("Testing spoof restriction level for '" + testString + "', " + levelSetInSpoofChecker,
620 String testString = (String) test[0];
626 boolean actualValue = sc.failsChecks(testString, checkResult);
628 assertEquals("Testing spoof mixed numbers for '" + testString + "', ", expected.size() > 1, actualValue);
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
ByteStringTest.java 133 String testString = "I love unicode \u1234\u5678 characters";
134 ByteString byteString = ByteString.copyFrom(testString, UTF_16);
135 byte[] testBytes = testString.getBytes(UTF_16);
141 String testString = "I love unicode \u1234\u5678 characters";
142 ByteString byteString = ByteString.copyFromUtf8(testString);
143 byte[] testBytes = testString.getBytes(Internal.UTF_8);
404 String testString = "I love unicode \u1234\u5678 characters";
405 byte[] testBytes = testString.getBytes(Internal.UTF_8);
408 testString, byteString.toStringUtf8());
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/
EmojiCompatTest.java 75 import android.support.text.emoji.util.TestString;
151 final Spannable spannable = new SpannableString(new TestString('a')
174 CharSequence testString = "abc";
175 assertSame(testString, EmojiCompat.get().process(testString));
177 testString = new SpannableString("abc");
178 assertSame(testString, EmojiCompat.get().process(testString));
180 testString = new TestString(new int[]{CHAR_DEFAULT_EMOJI_STYLE}).toString()
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
ProcessBuilderTest.java 175 String testString = "process input and output for testing\n" + TAG;
180 checkProcessExecution(pb, ResultCodes.ZERO, testString, testString, "");
186 checkProcessExecution(pb, ResultCodes.ZERO, testString, testString, "");
192 ProcessBuilder pb = new ProcessBuilder("echo", testString);
193 checkProcessExecution(pb, ResultCodes.ZERO, "", testString + "\n", "");
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
PatternTest.java 218 String testString;
223 testString = "A";
225 mat = pat.matcher(testString);
229 testString = "A";
231 mat = pat.matcher(testString);
235 testString = "B";
237 mat = pat.matcher(testString);
241 testString = "B";
243 mat = pat.matcher(testString);
247 testString = "B"
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ScannerTest.java 131 String testString = "test";
133 os.write(testString.getBytes());
136 assertEquals(testString, s.next());
230 String testString = "???????";
232 os.write(testString.getBytes());
236 assertEquals(testString, s.next());
241 if (s.next().equals(testString)) {
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java     [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldResultSetGetterTests.java 269 String testString = "HelloWorld";
274 stPrep.setBytes(1, testString.getBytes());
283 assertEquals(testString, helloTest);
302 String testString = "HelloWorld";
306 stPrep.setBytes(1, testString.getBytes());
315 assertEquals(testString, helloTest);
351 String testString = "HelloWorld";
356 stPrep.setBytes(1, testString.getBytes());
365 assertEquals(testString, helloTest);
384 String testString = "HelloWorld"
    [all...]

Completed in 968 milliseconds

1 2 3 45 6 7 8 910