Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java21 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE
31 afterCalled.countDown(); in afterExecute()
40 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorTest.ExtendedTPE
41 return afterCalled.getCount() == 0; in afterCalled()
1379 await(p.afterCalled); in testBeforeAfter()
1381 assertTrue(p.afterCalled()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java161 final CountDownLatch afterCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE
171 afterCalled.countDown(); in afterExecute()
180 public boolean afterCalled() { in afterCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE
181 return afterCalled.getCount() == 0; in afterCalled()
1252 await(p.afterCalled); in testBeforeAfter()
1254 assertTrue(p.afterCalled()); in testBeforeAfter()