Home
last modified time | relevance | path

Searched refs:afterCalled (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java52 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE
62 afterCalled.countDown(); in afterExecute()
71 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorTest.ExtendedTPE
72 return afterCalled.getCount() == 0; in afterCalled()
1427 await(p.afterCalled); in testBeforeAfter()
1429 assertTrue(p.afterCalled()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java199 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE
209 afterCalled.countDown(); in afterExecute()
218 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE
219 return afterCalled.getCount() == 0; in afterCalled()
1420 await(p.afterCalled); in testBeforeAfter()
1422 assertTrue(p.afterCalled()); in testBeforeAfter()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java74 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE
84 afterCalled.countDown(); in afterExecute()
93 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorTest.ExtendedTPE
94 return afterCalled.getCount() == 0; in afterCalled()
1444 await(p.afterCalled); in testBeforeAfter()
1446 assertTrue(p.afterCalled()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java221 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE
231 afterCalled.countDown(); in afterExecute()
240 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE
241 return afterCalled.getCount() == 0; in afterCalled()
1442 await(p.afterCalled); in testBeforeAfter()
1444 assertTrue(p.afterCalled()); in testBeforeAfter()