RNG-163: Update JUnit 4 @Test to JUnit 5 @Test
authorAlex Herbert <aherbert@apache.org>
Sun, 15 Aug 2021 20:30:13 +0000 (21:30 +0100)
committerAlex Herbert <aherbert@apache.org>
Mon, 16 Aug 2021 22:45:03 +0000 (23:45 +0100)
commitc50b6781f076827c5542c818bb54d53d7a790c3b
treee204cded38021ad16b73f3c836dd0648e91b4852
parentad27ea7db0e20c2028cb38575e0b5a63e1f95cc4
RNG-163: Update JUnit 4 @Test to JUnit 5 @Test

Requires changing:

- @BeforeClass to @BeforeAll
- @Rule timeout to Assertions.assertTimeout
110 files changed:
commons-rng-core/src/test/java/org/apache/commons/rng/core/BaseProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/RandomProviderDefaultStateTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/DotyHumphreySmallFastCounting32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/ISAACRandomTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/IntProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/JDKRandomTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/JenkinsSmallFast32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/KISSRandomTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MersenneTwisterTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MiddleSquareWeylSequenceTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MultiplyWithCarry256Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/PcgMcgXshRr32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/PcgMcgXshRs32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/PcgXshRr32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/PcgXshRs32Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well1024aTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well19937aTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well19937cTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well44497aTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well44497bTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/Well512aTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/XoRoShiRo64StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/XoRoShiRo64StarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/XoShiRo128PlusPlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/XoShiRo128PlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/XoShiRo128StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/DotyHumphreySmallFastCounting64Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/JenkinsSmallFast64Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/LongProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/MersenneTwister64Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/PcgRxsMXs64Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/SplitMix64Test.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/TwoCmresTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo1024PlusPlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo1024StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo1024StarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo128PlusPlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo128PlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoRoShiRo128StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo256PlusPlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo256PlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo256StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo512PlusPlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo512PlusTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XoShiRo512StarStarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XorShift1024StarPhiTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/XorShift1024StarTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/util/NumberFactoryTest.java
commons-rng-examples/examples-stress/src/test/java/org/apache/commons/rng/examples/stress/HexTest.java
commons-rng-examples/examples-stress/src/test/java/org/apache/commons/rng/examples/stress/RngDataOutputTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CollectionSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CombinationSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CompositeSamplersTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/DiscreteProbabilityCollectionSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/ListSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/PermutationSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/UnitSphereSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AhrensDieterMarsagliaTsangGammaSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AliasMethodDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/BoxMullerGaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/BoxMullerNormalisedGaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ChengBetaSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousUniformSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DirichletSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteUniformSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/GaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/GeometricSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/GuideTableDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/InternalUtilsTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/InverseTransformContinuousSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/InverseTransformDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/InverseTransformParetoSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/KempSmallMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/LargeMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/LevySamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/LogNormalSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/MarsagliaNormalisedGaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/MarsagliaTsangWangDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/PoissonSamplerCacheTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/PoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/RejectionInversionZipfSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/SamplerBaseTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/SmallMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/UniformLongSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ZigguratNormalizedGaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ZigguratSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/BoxSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/CoordinatesTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/LineSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/TetrahedronSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/TriangleSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/UnitBallSamplerTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomWrapperTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/RandomSourceTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ThreadLocalRandomSourceTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ByteArray2IntArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ByteArray2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/IntArray2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/Long2IntArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/Long2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NativeSeedTypeParametricTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NativeSeedTypeTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NoOpConverterTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedConverterComposerTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedUtilsTest.java