| /external/webkit/WebCore/bridge/ |
| testqtbindings.cpp | 43 Q_PROPERTY(QString testString READ testString WRITE setTestString) 57 QString testString() const { 58 qDebug() << "called testString" << string; 84 "myInterface.testString = \"Hello\";\n" 85 "str = myInterface.testString;\n"
|
| /libcore/luni/src/test/java/tests/api/java/io/ |
| OutputStreamWriterTest.java | 57 public String testString = "This is a test message with Unicode characters. \u4e2d\u56fd is China's name in Chinese"; 330 char[] buf = new char[testString.length()]; 331 osw.write(testString, 0, testString.length()); 336 new String(buf, 0, buf.length).equals(testString)); 610 char[] chars = testString.toCharArray(); 693 "hi" + testString, baos.toString("utf-8")); 723 for (int j = 0; j < testString.length(); j++) { 724 writer.write(testString.charAt(j)); 802 writer.write(testString, 1, testString.length()) [all...] |
| DataOutputStreamTest.java | 55 private static final String testString = "Lorem ipsum dolor sit amet,\n" + 59 private static final int testLength = testString.length(); 108 os.write(testString.getBytes(), 0, testLength / 2); 131 os.write(testString.getBytes(), 5, testLength - 7); 141 testString.substring(5, testLength - 2))); 221 os.writeBytes(testString); 229 new String(rbuf, 0, testLength).equals(testString)); 233 os.writeBytes(testString);
|
| RandomAccessFileTest.java | 49 static final String testString = "Lorem ipsum dolor sit amet,\n" + 52 static final int testLength = testString.length(); 220 raf.write(testString.getBytes()); 260 raf.write(testString.getBytes(), 0, testLength); 284 raf.write(testString.getBytes()); 315 byte[] testBuf = testString.getBytes(); 317 for (i = 0; i < testString.length(); i++) { 328 for (i = 0; i < testString.length(); i++) { 361 fos.write(testString.getBytes(), 0, testLength); 370 assertEquals("Test 2: Incorrect bytes read. ", testString, [all...] |
| ObjectInputStreamTest.java | 65 private final String testString = "Lorem ipsum..."; 67 private final int testLength = testString.length(); 101 oos.writeObject(testString); 156 oos.writeBytes(testString); 175 oos.writeObject(testString); 201 oos.writeObject(testString); 230 String s = testString; 290 oos.writeObject(testString); 317 oos.writeBytes(testString); 322 assertEquals("Read incorrect bytes", testString, new String(buf)) [all...] |
| FilterInputStreamTest.java | 47 private static final String testString = "Lorem ipsum dolor sit amet,\n" + 51 private static final int testLength = testString.length(); 212 testString.charAt(0), c); 237 testString.substring(0, 100))); 261 buf1.length).equals(testString.substring(10, 30))); 407 testString.substring(10, 20))); 433 fos.write(testString.getBytes());
|
| PipedWriterTest.java | 32 static final String testString = "Lorem ipsum..."; 33 static final int testLength = testString.length(); 144 assertEquals("Test 3: Incorrect character string received.", testString, 204 assertEquals("Test 3: Incorrect character string received.", testString, 231 assertEquals("Test 1: Flush failed. ", testString, 271 pw.write(testBuf, 5, testString.length()); 486 testString.getChars(0, testLength, testBuf, 0);
|
| InputStreamTest.java | 32 public static final String testString = "Lorem ipsum dolor sit amet,\n" + 45 input = testString.getBytes(); 162 byte[] ref = testString.getBytes(); 260 byte[] ref = testString.getBytes(); 346 byte[] ref = testString.getBytes();
|
| /cts/tests/tests/content/src/android/content/cts/ |
| ContextTest.java | 68 String testString = mContext.getString(R.string.context_test_string1); 69 assertEquals("This is %s string.", testString); 71 testString = mContext.getString(R.string.context_test_string1, "expected"); 72 assertEquals("This is expected string.", testString); 74 testString = mContext.getString(R.string.context_test_string2); 75 assertEquals("This is test string.", testString); 79 testString = mContext.getString(0, "expected"); 86 testString = mContext.getString(0);
|
| /external/v8/test/mjsunit/third_party/ |
| string-trim.js | 41 var testString = 'foo bar'; 79 trimString = wsString + testString + wsString; 80 leftTrimString = testString + wsString; // Trimmed from the left. 81 rightTrimString = wsString + testString; // Trimmed from the right. 87 assertEquals(trimString.trim(), testString); 91 assertEquals(leftTrimString.trim(), testString); 93 assertEquals(leftTrimString.trimRight(), testString); 95 assertEquals(rightTrimString.trim(), testString); 96 assertEquals(rightTrimString.trimLeft(), testString);
|
| /external/chromium/third_party/icu/source/test/intltest/ |
| rbbiapts.h | 96 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
|
| rbbitst.h | 126 const UnicodeString &testString,
|
| /external/icu4c/samples/citer/ |
| citer.cpp | 47 UnicodeString testString(testChars,""); 48 const UChar *testText = testString.getTerminatedBuffer(); 114 UnicodeString testString(testChars,""); 115 const UChar *testText = testString.getTerminatedBuffer();
|
| /external/icu4c/test/intltest/ |
| rbbiapts.h | 96 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
|
| rbbitst.h | 126 const UnicodeString &testString,
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
| OutputStreamWriterTest.java | 56 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"; 576 osw.write(testString, 0, testString.length()); 625 char[] buf = new char[testString.length()]; 626 osw.write(testString, 0, testString.length()); 631 .equals(testString)); 667 char[] buf = new char[testString.length()]; 668 osw.write(testString, 0, testString.length()) [all...] |
| /cts/tests/tests/text/src/android/text/cts/ |
| TextUtilsTest.java | [all...] |
| /libcore/luni/src/test/java/libcore/java/text/ |
| OldAttributedStringTest.java | 41 String testString = "Test string"; 42 AttributedString attrString = new AttributedString(testString); 45 assertEqualString("String must match!", testString, attrString2); 49 String testString = "Test string"; 50 AttributedString attrString = new AttributedString(testString); 92 String testString = "Test string"; 93 AttributedString attrString = new AttributedString(testString);
|
| /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
| InflaterOutputStreamTest.java | 35 private String testString = "Hello world"; 211 int length = compressToBytes(testString); 220 assertEquals(testString, result); 243 int length = compressToBytes(testString); 250 assertEquals(testString, result);
|
| /external/chromium/third_party/icu/source/test/cintltst/ |
| custrtst.c | 483 const UChar testString[] = {0x0061, 0x0062, 0x0063, 0x0064, 0x0064, 0x0061, 0}; 507 if (u_strpbrk(testString, a) != &testString[0]) { 510 if (u_strpbrk(testString, dc) != &testString[2]) { 513 if (u_strpbrk(testString, cd) != &testString[2]) { 516 if (u_strpbrk(testString, cdh) != &testString[2]) { 519 if (u_strpbrk(testString, f) != NULL) [all...] |
| /external/icu4c/test/cintltst/ |
| custrtst.c | 483 const UChar testString[] = {0x0061, 0x0062, 0x0063, 0x0064, 0x0064, 0x0061, 0}; 507 if (u_strpbrk(testString, a) != &testString[0]) { 510 if (u_strpbrk(testString, dc) != &testString[2]) { 513 if (u_strpbrk(testString, cd) != &testString[2]) { 516 if (u_strpbrk(testString, cdh) != &testString[2]) { 519 if (u_strpbrk(testString, f) != NULL) [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/ |
| OldStringTest.java | 44 String testString = "Test String"; 46 testString.charAt(testString.length()); 53 testString.charAt(Integer.MAX_VALUE); 60 testString.charAt(-1);
|
| /cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super/d/ |
| T_invoke_super_12.d | 31 invoke-super {v5, v5}, dot.junit.opcodes.invoke_super.d.T_invoke_super_12/testString(Ljava/lang/String;)V
|
| /cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super_range/d/ |
| T_invoke_super_range_12.d | 31 invoke-super/range {v4..v5}, dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_12/testString(Ljava/lang/String;)V
|
| /external/v8/test/mjsunit/ |
| value-callic-prototype-change.js | 31 function testString() { 50 testString();
|