Home
last modified time | relevance | path

Searched refs:TEST_STRING (Results 1 – 13 of 13) sorted by relevance

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceStringDebuggee.java28 public static final String TEST_STRING = "my test string"; field in NewInstanceStringDebuggee
29 public static final byte[] BYTE_ARRAY = TEST_STRING.getBytes();
30 public static final char[] CHAR_ARRAY = new char[TEST_STRING.length()];
31 public static final int[] INT_ARRAY = new int[TEST_STRING.length()];
34 public static final StringBuffer STRING_BUFFER = new StringBuffer(TEST_STRING);
35 public static final StringBuilder STRING_BUILDER = new StringBuilder(TEST_STRING);
38 TEST_STRING.getChars(0, TEST_STRING.length(), CHAR_ARRAY, 0);
40 INT_ARRAY[i] = TEST_STRING.codePointAt(i);
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/utils/
DIndentingPrintWriterTest.java33 private static final String TEST_STRING = "sense"; field in IndentingPrintWriterTest
49 indentingPrintWriter.println(TEST_STRING); in println_printString_noIndent()
51 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in println_printString_noIndent()
56 indentingPrintWriter.increaseIndent().println(TEST_STRING); in println_printString_withIndent()
59 .isEqualTo(IndentingPrintWriter.SINGLE_INDENT + TEST_STRING + "\n"); in println_printString_withIndent()
64 indentingPrintWriter.decreaseIndent().println(TEST_STRING); in decreaseIndent_noIndent()
66 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in decreaseIndent_noIndent()
71 indentingPrintWriter.increaseIndent().decreaseIndent().println(TEST_STRING); in decreaseIndent_withIndent()
73 assertThat(stringWriter.toString()).isEqualTo(TEST_STRING + "\n"); in decreaseIndent_withIndent()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSpannableStringTest.java15 private static final String TEST_STRING = "Visit us at http://www.foobar.com for more selections"; field in ShadowSpannableStringTest
21 spanStr = new SpannableString(TEST_STRING); in setUp()
26 assertThat(spanStr.toString()).isSameInstanceAs(TEST_STRING); in testToString()
47 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testRemoveSpan()
60 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testGetSpans()
65 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class); in testGetSpans()
87 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in assertBothSpans()
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.h28 #ifndef TEST_STRING
29 #define TEST_STRING hello_world macro
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java35 private static final String TEST_STRING = field in UnicodeEscaperTest
60 assertEquals(TEST_STRING, escapeAsString(e, TEST_STRING)); in testNopEscaper()
73 assertEquals(expected, escapeAsString(e, TEST_STRING)); in testSimpleEscaper()
/external/guava/android/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java35 private static final String TEST_STRING = field in UnicodeEscaperTest
60 assertEquals(TEST_STRING, escapeAsString(e, TEST_STRING)); in testNopEscaper()
73 assertEquals(expected, escapeAsString(e, TEST_STRING)); in testSimpleEscaper()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java43 private static final String TEST_STRING = "test"; field in AbstractInjectorGrapherTest
140 TEST_STRING, in setUp()
152 bind(String.class).toInstance(TEST_STRING); in testLinkedAndInstanceBindings()
182 bind(String.class).toInstance(TEST_STRING); in testProviderBindings()
216 bind(String.class).toInstance(TEST_STRING); in testGraphWithGivenRoot()
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c20 #define TEST_STRING "Test sysv5 msg" macro
178 memcpy(msgbuf.mtext, TEST_STRING, sizeof(TEST_STRING)); in fill_msgque()
179 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque()
/external/cldr/tools/java/org/unicode/cldr/tool/
DMakeTransliterator.java44 private static final String TEST_STRING = "territories"; field in MakeTransliterator
143 if (TEST_STRING != null && source.equals(TEST_STRING)) { in main()
176 if (TEST_STRING != null && source.equals(TEST_STRING)) { in main()
261 if (TEST_STRING != null && source.equals(TEST_STRING)) { in main()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java826 public static final String TEST_STRING = "a test string"; field in JSR166TestCase
830 return TEST_STRING; in call()
841 return TEST_STRING; in latchAwaitingStringTask()
DMoreExecutorsTest.java542 assertSame(TEST_STRING, result); in testInvokeAnyImpl()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java841 public static final String TEST_STRING = "a test string"; field in JSR166TestCase
846 return TEST_STRING; in call()
858 return TEST_STRING; in latchAwaitingStringTask()
DMoreExecutorsTest.java542 assertSame(TEST_STRING, result); in testInvokeAnyImpl()