Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java51 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE
59 beforeCalled.countDown(); in beforeExecute()
68 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorTest.ExtendedTPE
69 return beforeCalled.getCount() == 0; in beforeCalled()
1430 assertTrue(p.beforeCalled()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java198 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE
206 beforeCalled.countDown(); in beforeExecute()
215 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE
216 return beforeCalled.getCount() == 0; in beforeCalled()
1423 assertTrue(p.beforeCalled()); in testBeforeAfter()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java73 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE
81 beforeCalled.countDown(); in beforeExecute()
90 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorTest.ExtendedTPE
91 return beforeCalled.getCount() == 0; in beforeCalled()
1447 assertTrue(p.beforeCalled()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java220 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE
228 beforeCalled.countDown(); in beforeExecute()
237 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE
238 return beforeCalled.getCount() == 0; in beforeCalled()
1445 assertTrue(p.beforeCalled()); in testBeforeAfter()