Searched refs:enterCount (Results 1 – 4 of 4) sorted by relevance
24 val enterCount = AtomicInteger(0) in <lambda>() constant31 enterCount.incrementAndGet() in <lambda>()53 … assertTrue(enterCount.get() > 0) // ensure timing is Ok and we don't cancel it all prematurely in <lambda>()54 assertEquals(enterCount.get(), interruptedCount.get()) in <lambda>()
55 private int enterCount; field in InternalContext67 this.enterCount = 1; in InternalContext()72 enterCount++; in enter()78 int newCount = --enterCount; in close()
131 private void checkSystemStateMethods(int enterCount) throws Exception { in checkSystemStateMethods() argument132 thread1.callAndAssertReturns(enterCount != 0, "isOccupied"); in checkSystemStateMethods()133 thread1.callAndAssertReturns(enterCount != 0, "isOccupiedByCurrentThread"); in checkSystemStateMethods()134 thread1.callAndAssertReturns(enterCount, "getOccupiedDepth"); in checkSystemStateMethods()136 thread2.callAndAssertReturns(enterCount != 0, "isOccupied"); in checkSystemStateMethods()