Searched refs:TEST_STRING (Results 1 – 9 of 9) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | WrappedCharBufferTest2.java | 24 protected static final String TEST_STRING = "123456789abcdef12345"; field in WrappedCharBufferTest2 28 buf = CharBuffer.wrap(TEST_STRING); in setUp() 39 String str = TEST_STRING; in testWrappedCharSequence_IllegalArg()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractExecutorServiceTest.java | 88 assertSame(TEST_STRING, result); in testSubmitCallable() 106 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 108 assertSame(TEST_STRING, result); in testSubmitRunnable2() 120 return TEST_STRING; in testSubmitPrivilegedAction() 123 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedAction() 141 return TEST_STRING; in testSubmitPrivilegedExceptionAction() 144 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedExceptionAction() 313 assertSame(TEST_STRING, result); in testInvokeAny5() 388 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 481 assertSame(TEST_STRING, result); [all …]
|
D | ForkJoinPoolTest.java | 449 assertSame(TEST_STRING, future.get()); in testSubmitCallable() 474 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 475 assertSame(TEST_STRING, future.get()); in testSubmitRunnable2() 486 public Object run() { return TEST_STRING; }}); in testSubmitPrivilegedAction() 492 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedAction() 505 public Object run() { return TEST_STRING; }}); in testSubmitPrivilegedExceptionAction() 511 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedExceptionAction() 698 assertSame(TEST_STRING, result); in testInvokeAny6() 775 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 869 assertSame(TEST_STRING, result); [all …]
|
D | ScheduledExecutorTest.java | 837 assertSame(TEST_STRING, result); in testSubmitCallable() 859 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 861 assertSame(TEST_STRING, result); in testSubmitRunnable2() 936 assertSame(TEST_STRING, result); in testInvokeAny5() 1011 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 1104 assertSame(TEST_STRING, result); 1198 assertSame(TEST_STRING, future.get());
|
D | ScheduledExecutorSubclassTest.java | 888 assertSame(TEST_STRING, result); in testSubmitCallable() 910 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 912 assertSame(TEST_STRING, result); in testSubmitRunnable2() 987 assertSame(TEST_STRING, result); in testInvokeAny5() 1062 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 1155 assertSame(TEST_STRING, result); 1248 assertSame(TEST_STRING, future.get());
|
D | ThreadPoolExecutorTest.java | 1445 assertSame(TEST_STRING, result); in testSubmitCallable() 1473 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 1475 assertSame(TEST_STRING, result); in testSubmitRunnable2() 1565 assertSame(TEST_STRING, result); in testInvokeAny5() 1655 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 1767 assertSame(TEST_STRING, result); 1879 assertSame(TEST_STRING, future.get());
|
D | ThreadPoolExecutorSubclassTest.java | 1438 assertSame(TEST_STRING, result); in testSubmitCallable() 1466 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() 1468 assertSame(TEST_STRING, result); in testSubmitRunnable2() 1558 assertSame(TEST_STRING, result); in testInvokeAny5() 1648 assertSame(TEST_STRING, future.get()); in testInvokeAll5() 1760 assertSame(TEST_STRING, result); 1872 assertSame(TEST_STRING, future.get());
|
D | ExecutorCompletionServiceTest.java | 137 assertSame(TEST_STRING, f.get()); in testPoll1()
|
D | JSR166TestCase.java | 1462 public static final String TEST_STRING = "a test string"; 1466 public StringTask() { this(TEST_STRING); } 1477 return TEST_STRING;
|