Home
last modified time | relevance | path

Searched refs:TEST_STRING (Results 1 – 8 of 8) 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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSpannableStringTest.java23 private static final String TEST_STRING = field in SpannableStringTest
28 spanStr = new SpannableString(TEST_STRING); in setUp()
33 assertThat(spanStr.toString(), sameInstance(TEST_STRING)); in testToString()
54 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testRemoveSpan()
67 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in testGetSpans()
72 spans = spanStr.getSpans(0, TEST_STRING.length(), URLSpan.class); in testGetSpans()
104 spanStr.setSpan(s2, 2, TEST_STRING.length(), 0); in testGetSpanStart()
119 spanStr.setSpan(s2, 2, TEST_STRING.length(), 0); in testGetSpanEnd()
120 assertThat(spanStr.getSpanEnd(s2), equalTo(TEST_STRING.length())); in testGetSpanEnd()
124 Object[] spans = spanStr.getSpans(0, TEST_STRING.length(), Object.class); in assertBothSpans()
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java36 private static final String TEST_STRING = field in UnicodeEscaperTest
61 assertEquals(TEST_STRING, escapeAsString(e, TEST_STRING)); in testNopEscaper()
70 assertEquals(expected, escapeAsString(e, TEST_STRING)); in testSimpleEscaper()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java45 private static final String TEST_STRING = "test"; field in AbstractInjectorGrapherTest
120 TEST_STRING, ImmutableList.<Member>of()); in setUp()
128 bind(String.class).toInstance(TEST_STRING); in testLinkedAndInstanceBindings()
151 bind(String.class).toInstance(TEST_STRING); in testProviderBindings()
174 bind(String.class).toInstance(TEST_STRING); in testGraphWithGivenRoot()
/external/valgrind/VEX/test/
Dtest-i386.c1146 #define TEST_STRING(OP, REP)\ macro
1159 TEST_STRING(stos, ""); in test_string()
1160 TEST_STRING(stos, "rep "); in test_string()
1163 TEST_STRING(movs, ""); in test_string()
1164 TEST_STRING(movs, "rep "); in test_string()
1168 TEST_STRING(scas, ""); in test_string()
1170 TEST_STRING(scas, "repnz "); in test_string()
1172 TEST_STRING(cmps, "repz "); in test_string()
Dtest-amd64.c1186 #define TEST_STRING(OP, REP)\ macro
1199 TEST_STRING(stos, ""); in test_string()
1200 TEST_STRING(stos, "rep "); in test_string()
1203 TEST_STRING(movs, ""); in test_string()
1204 TEST_STRING(movs, "rep "); in test_string()
1208 TEST_STRING(scas, ""); in test_string()
1210 TEST_STRING(scas, "repnz "); in test_string()
1212 TEST_STRING(cmps, "repz "); in test_string()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java906 public static final String TEST_STRING = "a test string"; field in JSR166TestCase
909 public String call() { return TEST_STRING; } in call()
918 return TEST_STRING; in latchAwaitingStringTask()
DMoreExecutorsTest.java491 assertSame(TEST_STRING, result); in testInvokeAnyImpl()