Class ConcurrencyUtilsTest
java.lang.Object
org.apache.maven.surefire.api.util.internal.ConcurrencyUtilsTest
Concurrency utilities.
- Since:
- 2.19
- Author:
- Tibor Digana (tibor17)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
-
Constructor Details
-
ConcurrencyUtilsTest
public ConcurrencyUtilsTest()
-
-
Method Details
-
countDownShouldBeUnchangedAsZeroNegativeTest
public void countDownShouldBeUnchangedAsZeroNegativeTest() -
countDownShouldBeUnchangedAsNegativeNegativeTest
public void countDownShouldBeUnchangedAsNegativeNegativeTest() -
countDownShouldBeDecreasedByOneThreadModification
public void countDownShouldBeDecreasedByOneThreadModification() -
countDownToZeroShouldBeDecreasedByOneThreadModification
public void countDownToZeroShouldBeDecreasedByOneThreadModification() -
countDownShouldBeDecreasedByTwoThreadsModification
public void countDownShouldBeDecreasedByTwoThreadsModification() throws ExecutionException, InterruptedException
-