Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DWrappedCharBufferTest2.java24 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/
DAbstractExecutorServiceTest.java64 assertSame(TEST_STRING, result); in testSubmitCallable()
82 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
84 assertSame(TEST_STRING, result); in testSubmitRunnable2()
96 return TEST_STRING; in testSubmitPrivilegedAction()
99 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedAction()
117 return TEST_STRING; in testSubmitPrivilegedExceptionAction()
120 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedExceptionAction()
296 assertSame(TEST_STRING, result); in testInvokeAny5()
379 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
474 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
[all …]
DForkJoinPoolTest.java439 assertSame(TEST_STRING, future.get()); in testSubmitCallable()
468 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
469 assertSame(TEST_STRING, future.get()); in testSubmitRunnable2()
482 public Object run() { return TEST_STRING; }}); in testSubmitPrivilegedAction()
488 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedAction()
503 public Object run() { return TEST_STRING; }}); in testSubmitPrivilegedExceptionAction()
509 assertSame(TEST_STRING, future.get()); in testSubmitPrivilegedExceptionAction()
709 assertSame(TEST_STRING, result); in testInvokeAny6()
792 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
889 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
[all …]
DScheduledExecutorTest.java752 assertSame(TEST_STRING, result); in testSubmitCallable()
778 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
780 assertSame(TEST_STRING, result); in testSubmitRunnable2()
860 assertSame(TEST_STRING, result); in testInvokeAny5()
941 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
1037 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
1136 assertSame(TEST_STRING, future.get()); in testTimedInvokeAll5()
1150 l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); in testTimedInvokeAll6()
DScheduledExecutorSubclassTest.java801 assertSame(TEST_STRING, result); in testSubmitCallable()
827 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
829 assertSame(TEST_STRING, result); in testSubmitRunnable2()
909 assertSame(TEST_STRING, result); in testInvokeAny5()
990 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
1086 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
1185 assertSame(TEST_STRING, future.get()); in testTimedInvokeAll5()
1199 l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); in testTimedInvokeAll6()
DThreadPoolExecutorTest.java1400 assertSame(TEST_STRING, result); in testSubmitCallable()
1432 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
1434 assertSame(TEST_STRING, result); in testSubmitRunnable2()
1529 assertSame(TEST_STRING, result); in testInvokeAny5()
1627 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
1741 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
1858 assertSame(TEST_STRING, future.get()); in testTimedInvokeAll5()
1875 l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); in testTimedInvokeAll6()
DThreadPoolExecutorSubclassTest.java1270 assertSame(TEST_STRING, result); in testSubmitCallable()
1296 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2()
1298 assertSame(TEST_STRING, result); in testSubmitRunnable2()
1378 assertSame(TEST_STRING, result); in testInvokeAny5()
1459 assertSame(TEST_STRING, future.get()); in testInvokeAll5()
1555 assertSame(TEST_STRING, result); in testTimedInvokeAny5()
1654 assertSame(TEST_STRING, future.get()); in testTimedInvokeAll5()
1668 l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); in testTimedInvokeAll6()
DJSR166TestCase.java777 public static final String TEST_STRING = "a test string"; field in JSR166TestCase
780 public String call() { return TEST_STRING; } in call()
789 return TEST_STRING; in latchAwaitingStringTask()
DExecutorCompletionServiceTest.java133 assertSame(TEST_STRING, f.get()); in testPoll1()