Searched refs:beforeCalled (Results 1 – 4 of 4) sorted by relevance
51 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE59 beforeCalled.countDown(); in beforeExecute()68 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorTest.ExtendedTPE69 return beforeCalled.getCount() == 0; in beforeCalled()1430 assertTrue(p.beforeCalled()); in testBeforeAfter()
198 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE206 beforeCalled.countDown(); in beforeExecute()215 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE216 return beforeCalled.getCount() == 0; in beforeCalled()1423 assertTrue(p.beforeCalled()); in testBeforeAfter()
73 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorTest.ExtendedTPE81 beforeCalled.countDown(); in beforeExecute()90 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorTest.ExtendedTPE91 return beforeCalled.getCount() == 0; in beforeCalled()1447 assertTrue(p.beforeCalled()); in testBeforeAfter()
220 final CountDownLatch beforeCalled = new CountDownLatch(1); field in ThreadPoolExecutorSubclassTest.CustomTPE228 beforeCalled.countDown(); in beforeExecute()237 public boolean beforeCalled() { in beforeCalled() method in ThreadPoolExecutorSubclassTest.CustomTPE238 return beforeCalled.getCount() == 0; in beforeCalled()1445 assertTrue(p.beforeCalled()); in testBeforeAfter()