/** * Create a test with just test's package visible * and the default parent packages * * It imports nothing * * @param clazz the test class * @return the test */ public static Test suite(Class<?> clazz) { return suite(clazz, false); }
/** * Create a test with just test's package visible * and the default parent packages * * It imports nothing * * @param clazz the test class * @return the test */ public static Test suite(Class<?> clazz) { return suite(clazz, false); }
/** * Create a test with just test's package visible * and the default parent packages * * It exports everything * * @param clazz the test class * @param importAll whether to import all * @return the test */ public static Test suite(Class<?> clazz, boolean importAll) { return suite(clazz, importAll, new Class[0]); }
/** * Create a test with just test's package visible * and the default parent packages * * It exports everything * * @param clazz the test class * @param importAll whether to import all * @return the test */ public static Test suite(Class<?> clazz, boolean importAll) { return suite(clazz, importAll, new Class[0]); }
/** * Create a test with test's package visible and the packages * of the classes listed with the default parent packages * * It exports everything * It imports nothing * * @param clazz the test class * @param packages the classes in packages that should also be included * @return the test */ public static Test suite(Class<?> clazz, Class<?>... packages) { return suite(clazz, false, packages); }
/** * Create a test with test's package visible and the packages * of the classes listed with the default parent packages * * It exports everything * It imports nothing * * @param clazz the test class * @param packages the classes in packages that should also be included * @return the test */ public static Test suite(Class<?> clazz, Class<?>... packages) { return suite(clazz, false, packages); }