/external/chromium_org/v8/test/cctest/ |
test-ostreams.cc | 25 #define TEST_STRING \ 34 size_t len = strlen(TEST_STRING); 36 oss.write(TEST_STRING, len); 39 TEST_STRING TEST_STRING TEST_STRING TEST_STRING TEST_STRING 40 TEST_STRING TEST_STRING TEST_STRING TEST_STRING TEST_STRIN [all...] |
/cts/hostsidetests/sample/app/src/android/sample/app/ |
SampleDeviceActivity.java | 35 private static final String TEST_STRING = "SampleTestString"; 41 Log.i(TAG, TEST_STRING);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SpannableStringTest.java | 23 private static final String TEST_STRING = 28 spanStr = new SpannableString(TEST_STRING); 33 assertThat(spanStr.toString(), sameInstance(TEST_STRING)); 54 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); 67 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); 72 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class); 104 spanStr.setSpan(s2, 2, TEST_STRING.length(), 0); 119 spanStr.setSpan(s2, 2, TEST_STRING.length(), 0); 120 assertThat(spanStr.getSpanEnd(s2), equalTo(TEST_STRING.length())); 124 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseKeyListenerTest.java | 35 private static final CharSequence TEST_STRING = "123456"; 38 final Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); 64 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 1); 69 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 1, 3); 74 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 0, 0); 79 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 2, 4); 84 prepTextViewSync(TEST_STRING, null, true, 1, 1); 86 assertEquals(TEST_STRING, mTextView.getText().toString()); 99 prepTextViewSync(TEST_STRING, mockBaseKeyListener, true, 0, 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
WrappedCharBufferTest2.java | 24 protected static final String TEST_STRING = "123456789abcdef12345"; 28 buf = CharBuffer.wrap(TEST_STRING); 39 String str = TEST_STRING;
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorWindowTest.java | 32 private static final String TEST_STRING = "Test String"; 117 cursorWindow.putString(TEST_STRING, TEST_NUMBER, 0); 123 assertEquals(TEST_STRING, cursorWindow.getString(TEST_NUMBER, 0)); 132 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); 140 assertFalse(cursorWindow.putString(TEST_STRING, 0, 0)); 152 assertTrue(cursorWindow.putString(TEST_STRING, 0, 0)); 153 assertEquals(TEST_STRING, cursorWindow.getString(0, 0)); 327 assertEquals(TEST_STRING + "3", cursorWindow.getString(3, 1)); 329 assertEquals(TEST_STRING + "4", cursorWindow.getString(4, 1)); 335 assertEquals(TEST_STRING + "0", cursorWindow.getString(3, 1)) [all...] |
AbstractWindowedCursorTest.java | 29 private static final String TEST_STRING = "TESTSTRING"; 185 assertTrue(mWindow.putString(TEST_STRING, ROW_INDEX0, COLUMN_INDEX0)); 191 CharArrayBuffer charArrayBuffer = new CharArrayBuffer(TEST_STRING.length()); 194 assertEquals(TEST_STRING.length(), charArrayBuffer.sizeCopied); 195 assertTrue(Arrays.equals(TEST_STRING.toCharArray(), charArrayBuffer.data));
|
MergeCursorTest.java | 128 String[] TEST_STRING = new String[] {"Test String1", "Test String2"}; 143 buildDatabaseWithTestValues(TEST_STRING[i], NUMBER_DOUBLE - i, NUMBER_LONG_INTEGER - i, 170 assertEquals(TEST_STRING[i], mergeCursor.getString(columnString));
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostTest.java | 65 private static final String TEST_STRING = "SampleTestString"; 138 assertEquals("Incorrect test string", TEST_STRING, testString);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractListeningExecutorServiceTest.java | 73 assertSame(TEST_STRING, result); 91 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 93 assertSame(TEST_STRING, result); 107 return TEST_STRING; 110 assertSame(TEST_STRING, future.get()); 130 return TEST_STRING; 133 assertSame(TEST_STRING, future.get()); 320 assertSame(TEST_STRING, result); 404 assertSame(TEST_STRING, future.get()); 502 assertSame(TEST_STRING, result) [all...] |
JSR166TestCase.java | 904 public static final String TEST_STRING = "a test string"; 907 public String call() { return TEST_STRING; } 916 return TEST_STRING; [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextOnPathActivity.java | 69 private static final String TEST_STRING = "Hello OpenGL renderer, text on path! "; 92 StringBuilder builder = new StringBuilder(TEST_STRING.length() * 2); 94 builder.append(TEST_STRING);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractExecutorServiceTest.java | 64 assertSame(TEST_STRING, result); 82 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 84 assertSame(TEST_STRING, result); 96 return TEST_STRING; 99 assertSame(TEST_STRING, future.get()); 117 return TEST_STRING; 120 assertSame(TEST_STRING, future.get()); 296 assertSame(TEST_STRING, result); 379 assertSame(TEST_STRING, future.get()); 474 assertSame(TEST_STRING, result) [all...] |
ForkJoinPoolTest.java | 439 assertSame(TEST_STRING, future.get()); 468 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 469 assertSame(TEST_STRING, future.get()); 482 public Object run() { return TEST_STRING; }}); 488 assertSame(TEST_STRING, future.get()); 503 public Object run() { return TEST_STRING; }}); 509 assertSame(TEST_STRING, future.get()); 709 assertSame(TEST_STRING, result); 792 assertSame(TEST_STRING, future.get()); 889 assertSame(TEST_STRING, result) [all...] |
ScheduledExecutorTest.java | 752 assertSame(TEST_STRING, result); 778 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 780 assertSame(TEST_STRING, result); 860 assertSame(TEST_STRING, result); [all...] |
ScheduledExecutorSubclassTest.java | 801 assertSame(TEST_STRING, result); 827 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); 829 assertSame(TEST_STRING, result); [all...] |
JSR166TestCase.java | 777 public static final String TEST_STRING = "a test string"; 780 public String call() { return TEST_STRING; } 789 return TEST_STRING; [all...] |
ThreadPoolExecutorSubclassTest.java | [all...] |
ThreadPoolExecutorTest.java | [all...] |
ExecutorCompletionServiceTest.java | 133 assertSame(TEST_STRING, f.get());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
SampleTestActivity.java | 51 private static final String TEST_STRING = "Sample Test String"; 106 outputStream.write(TEST_STRING.getBytes());
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
SmtpSenderUnitTests.java | 59 private final static String TEST_STRING = "Hello, world"; 117 body.mTextContent = TEST_STRING;
|
/external/valgrind/main/VEX/test/ |
test-amd64.c | 1186 #define TEST_STRING(OP, REP)\ 1194 void test_string(void) function 1199 TEST_STRING(stos, ""); 1200 TEST_STRING(stos, "rep "); 1201 // REINSTATE: TEST_STRING(lods, ""); /* to verify stos */ 1202 // REINSTATE: TEST_STRING(lods, "rep "); 1203 TEST_STRING(movs, ""); 1204 TEST_STRING(movs, "rep "); 1205 // REINSTATE: TEST_STRING(lods, ""); /* to verify stos */ 1208 TEST_STRING(scas, "") [all...] |
test-i386.c | 1146 #define TEST_STRING(OP, REP)\ 1154 void test_string(void) function 1159 TEST_STRING(stos, ""); 1160 TEST_STRING(stos, "rep "); 1161 // REINSTATE: TEST_STRING(lods, ""); /* to verify stos */ 1162 // REINSTATE: TEST_STRING(lods, "rep "); 1163 TEST_STRING(movs, ""); 1164 TEST_STRING(movs, "rep "); 1165 // REINSTATE: TEST_STRING(lods, ""); /* to verify stos */ 1168 TEST_STRING(scas, "") [all...] |