8079782: RandomFactory should be in the jdk.testlibrary package

Reviewed-by: bpb
This commit is contained in:
Chris Hegarty 2015-05-08 11:02:33 +01:00
parent 94dbab9120
commit 008fee0591
15 changed files with 21 additions and 0 deletions

View File

@ -32,6 +32,8 @@
* @key randomness
*/
import jdk.testlibrary.RandomFactory;
public class ParseHexFloatingPoint {
private ParseHexFloatingPoint(){}

View File

@ -33,6 +33,7 @@
*/
import java.util.Random;
import jdk.testlibrary.RandomFactory;
import static java.lang.Integer.*;
public class BitTwiddle {

View File

@ -33,6 +33,7 @@
*/
import java.util.Random;
import jdk.testlibrary.RandomFactory;
import static java.lang.Long.*;
public class BitTwiddle {

View File

@ -32,6 +32,8 @@
* @key randomness
*/
import jdk.testlibrary.RandomFactory;
public class CubeRootTests {
private CubeRootTests(){}

View File

@ -32,6 +32,8 @@
* @key randomness
*/
import jdk.testlibrary.RandomFactory;
public class HypotTests {
private HypotTests(){}

View File

@ -32,6 +32,8 @@
* @key randomness
*/
import jdk.testlibrary.RandomFactory;
public class IeeeRecommendedTests {
private IeeeRecommendedTests(){}

View File

@ -32,6 +32,8 @@
* @key randomness
*/
import jdk.testlibrary.RandomFactory;
public class Log1pTests {
private Log1pTests(){}

View File

@ -33,6 +33,7 @@
import java.math.*;
import java.util.Random;
import jdk.testlibrary.RandomFactory;
public class StringConstructor {

View File

@ -40,6 +40,7 @@ import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import java.util.Random;
import jdk.testlibrary.RandomFactory;
/**
* This is a simple test class created to ensure that the results

View File

@ -37,6 +37,7 @@ import java.math.BigInteger;
import java.security.*;
import java.security.spec.*;
import java.util.Random;
import jdk.testlibrary.RandomFactory;
public class ModPow65537 {

View File

@ -40,6 +40,7 @@ import java.util.NavigableSet;
import java.util.Set;
import java.util.SplittableRandom;
import java.util.TreeSet;
import jdk.testlibrary.RandomFactory;
import static java.util.stream.Collectors.toCollection;
import static java.util.stream.Collectors.toList;

View File

@ -40,6 +40,7 @@ import java.io.ObjectOutputStream;
import java.util.Arrays;
import java.math.BigInteger;
import java.util.Random;
import jdk.testlibrary.RandomFactory;
public class SymmetricRangeTests {

View File

@ -46,6 +46,7 @@ import java.io.*;
import java.util.*;
import java.nio.CharBuffer;
import java.util.function.Predicate;
import jdk.testlibrary.RandomFactory;
/**
* This is a test class created to check the operation of

View File

@ -21,6 +21,8 @@
* questions.
*/
package jdk.testlibrary;
import java.util.Random;
import java.util.SplittableRandom;

View File

@ -40,6 +40,7 @@ import java.math.BigInteger;
import java.security.*;
import java.security.interfaces.*;
import java.security.spec.*;
import jdk.testlibrary.RandomFactory;
public class TestKeyPairGenerator extends PKCS11Test {