Searched refs:lastOne (Results 1 – 1 of 1) sorted by relevance
289 Operation lastOne = aqs.getLastCancelableOperation(); in testCancel_simpleCancelLastTest() local292 assertTrue("1) delay=3 is not last", toBeCancelled1.equivalent(lastOne)); in testCancel_simpleCancelLastTest()293 assertEquals("Can't cancel delay 3", 1, aqs.cancelOperation(lastOne.token)); in testCancel_simpleCancelLastTest()322 Operation lastOne = aqs.getLastCancelableOperation(); // delay = 3 in testCancel_cancelSecondToLast() local323 assertTrue("2) delay=3 is not last", toBeCancelled1.equivalent(lastOne)); in testCancel_cancelSecondToLast()352 Operation lastOne = aqs.getLastCancelableOperation(); // delay = 3 in testCancel_multipleCancels() local353 assertTrue("3) delay=3 is not last", work[4].equivalent(lastOne)); in testCancel_multipleCancels()