HomeSort by relevance Sort by last modified time
    Searched refs:testString (Results 51 - 75 of 312) sorted by null

1 23 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/io/
OldInputStreamTest.java 25 public static final String testString = "Lorem ipsum dolor sit amet,\n" +
38 input = testString.getBytes();
88 byte[] ref = testString.getBytes();
168 byte[] ref = testString.getBytes();
224 byte[] ref = testString.getBytes();
OldPipedWriterTest.java 27 static final String testString = "Lorem ipsum...";
28 static final int testLength = testString.length();
105 assertEquals("Test 3: Incorrect character string received.", testString,
147 assertEquals("Test 3: Incorrect character string received.", testString,
165 assertEquals("Test 1: Flush failed. ", testString,
196 pw.write(testBuf, 5, testString.length());
261 testString.getChars(0, testLength, testBuf, 0);
OldRandomAccessFileTest.java 43 static final String testString = "Lorem ipsum dolor sit amet,\n" +
46 static final int testLength = testString.length();
190 raf.write(testString.getBytes());
218 raf.write(testString.getBytes(), 0, testLength);
236 raf.write(testString.getBytes());
253 byte[] testBuf = testString.getBytes();
255 for (i = 0; i < testString.length(); i++) {
266 for (i = 0; i < testString.length(); i++) {
293 fos.write(testString.getBytes(), 0, testLength);
302 assertEquals("Test 2: Incorrect bytes read. ", testString,
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
TestUScriptRun.java 340 String testString = "";
349 testString += test[run].runText;
356 scriptRun = new UScriptRun(testString);
359 errln("new UScriptRun(testString) produced an IllegalArgumentException!");
370 scriptRun = new UScriptRun(testString.toCharArray());
373 errln("new UScriptRun(testString.toCharArray()) produced an IllegalArgumentException!");
394 scriptRun.reset(testString, 0, testString.length());
397 errln("scriptRun.reset(testString, 0, testString.length) produced an IllegalArgumentException!")
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
TestUScriptRun.java 337 String testString = "";
346 testString += test[run].runText;
353 scriptRun = new UScriptRun(testString);
356 errln("new UScriptRun(testString) produced an IllegalArgumentException!");
367 scriptRun = new UScriptRun(testString.toCharArray());
370 errln("new UScriptRun(testString.toCharArray()) produced an IllegalArgumentException!");
391 scriptRun.reset(testString, 0, testString.length());
394 errln("scriptRun.reset(testString, 0, testString.length) produced an IllegalArgumentException!")
    [all...]
  /prebuilts/go/darwin-x86/src/bytes/
buffer_test.go 17 var testString string // test data for write tests
18 var testBytes []byte // test data; same as testString but as a slice.
29 testString = string(testBytes)
93 check(t, "NewBuffer", buf, testString)
97 buf := NewBufferString(testString)
98 check(t, "NewBufferString", buf, testString)
142 buf.WriteByte(testString[1])
149 check(t, "TestBasicOperations (6)", &buf, testString[0:26])
152 check(t, "TestBasicOperations (7)", &buf, testString[0:26])
155 check(t, "TestBasicOperations (8)", &buf, testString[0:20]
    [all...]
  /prebuilts/go/linux-x86/src/bytes/
buffer_test.go 17 var testString string // test data for write tests
18 var testBytes []byte // test data; same as testString but as a slice.
29 testString = string(testBytes)
93 check(t, "NewBuffer", buf, testString)
97 buf := NewBufferString(testString)
98 check(t, "NewBufferString", buf, testString)
142 buf.WriteByte(testString[1])
149 check(t, "TestBasicOperations (6)", &buf, testString[0:26])
152 check(t, "TestBasicOperations (7)", &buf, testString[0:26])
155 check(t, "TestBasicOperations (8)", &buf, testString[0:20]
    [all...]
  /cts/hostsidetests/tv/src/com/android/cts/tv/
TvInputManagerHostTest.java 108 String testString = "";
117 testString = line.split(":")[1].trim();
121 if (!testString.isEmpty()) {
127 assertEquals("Incorrect test string", INPUT_UPDATED_STRING, testString);
  /external/chromium-trace/catapult/common/py_utils/py_utils/
camel_case_unittest.py 12 def testString(self):
  /external/icu/icu4c/source/samples/citer/
citer.cpp 53 UnicodeString testString(testChars,"");
54 const UChar *testText = testString.getTerminatedBuffer();
120 UnicodeString testString(testChars,"");
121 const UChar *testText = testString.getTerminatedBuffer();
  /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...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java     [all...]
StaticLayoutTest.java 611 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) {
616 normalizedStrings.add(Normalizer.normalize(testString, form));
648 return "testString: \"" + seq.toString() + "\"[" + builder.toString() + "]" +
657 for (String testString: testStrings) {
658 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) {
680 String testString = "ab\r\nde";
681 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) {
714 for (String testString: testStrings) {
715 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) {
741 String testString = "\u00C1\u00C2\u00C3\u00C4\u00C5"
    [all...]
  /prebuilts/go/darwin-x86/src/log/
log_test.go 82 const testString = "test"
85 l.Println(testString)
86 if expect := testString + "\n"; b.String() != expect {
188 const testString = "test"
193 l.Println(testString)
198 const testString = "test"
203 l.Println(testString)
  /prebuilts/go/linux-x86/src/log/
log_test.go 82 const testString = "test"
85 l.Println(testString)
86 if expect := testString + "\n"; b.String() != expect {
188 const testString = "test"
193 l.Println(testString)
198 const testString = "test"
203 l.Println(testString)
  /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);
  /external/guava/guava-tests/test/com/google/common/io/
CharStreamsTest.java 136 String testString = "abcdef";
137 Reader reader = new StringReader(testString);
139 assertEquals(testString.charAt(0), reader.read());
141 assertEquals(testString.charAt(2), reader.read());
143 assertEquals(testString.charAt(5), reader.read());
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_plistlib.py 169 testString = "string containing %s" % c
172 plistlib.writePlistToString(testString)
176 testString)
  /cts/tests/tests/content/src/android/content/cts/
ContextTest.java 55 String testString = mContext.getString(R.string.context_test_string1);
56 assertEquals("This is %s string.", testString);
58 testString = mContext.getString(R.string.context_test_string1, "expected");
59 assertEquals("This is expected string.", testString);
61 testString = mContext.getString(R.string.context_test_string2);
62 assertEquals("This is test string.", testString);
66 testString = mContext.getString(0, "expected");
73 testString = mContext.getString(0);
  /cts/tests/tests/graphics/src/android/graphics/cts/
TypefaceTest.java 255 final String testString = "abcde";
256 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT);
257 float widthCustomTypeface = measureText(testString, typeface);
265 final String testString = "abcde";
266 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT);
267 float widthCustomTypeface = measureText(testString, typeface);
295 final String testString = "\u0100\u0400";
296 final float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT);
297 final float widthCustomTypeface = measureText(testString, typeface);
310 final String testString = "\u0100\uFE00\u0400\uFE00"
    [all...]
  /external/icu/icu4c/source/test/cintltst/
custrtst.c 480 const UChar testString[] = {0x0061, 0x0062, 0x0063, 0x0064, 0x0064, 0x0061, 0};
504 if (u_strpbrk(testString, a) != &testString[0]) {
507 if (u_strpbrk(testString, dc) != &testString[2]) {
510 if (u_strpbrk(testString, cd) != &testString[2]) {
513 if (u_strpbrk(testString, cdh) != &testString[2]) {
516 if (u_strpbrk(testString, f) != NULL)
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
BaseMovementMethodTest.java 75 final String testString = testLine + "\n" + testLine;
80 mTextView.setText(testString, EDITABLE);
140 final String testString = testLine + "\n" + testLine;
145 mTextView.setText(testString, EDITABLE);
  /external/tensorflow/tensorflow/python/data/util/
convert_test.py 45 def testString(self):
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
InflaterOutputStreamTest.java 40 private String testString = "Hello world";
232 int length = compressToBytes(testString);
241 assertEquals(testString, result);
265 int length = compressToBytes(testString);
272 assertEquals(testString, result);
  /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);

Completed in 889 milliseconds

1 23 4 5 6 7 8 91011>>