/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.5-5.js | 59 var TEST_STRING = ""; 62 TEST_STRING += String.fromCharCode( i ); 92 array[item++] = new TestCase( SECTION, "TEST_STRING.charCodeAt("+j+")", j, TEST_STRING.charCodeAt(j) );
|
/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 | 42 private static final CharSequence TEST_STRING = "123456"; 67 final Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING);
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
WrappedCharBufferTest2.java | 24 protected static final String TEST_STRING = "123456789abcdef12345"; 28 buf = CharBuffer.wrap(TEST_STRING); 39 String str = TEST_STRING;
|
/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);
|
/cts/tests/tests/database/src/android/database/cts/ |
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));
|
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...] |
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));
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
SmtpSenderUnitTests.java | 57 private final static String TEST_STRING = "Hello, world"; 115 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...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
JSR166TestCase.java | 904 public static final String TEST_STRING = "a test string"; 907 public String call() { return TEST_STRING; } 916 return TEST_STRING; [all...] |