11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 4904135 4923181
27 * @summary Unit test for EnumSet
28 * @author Josh Bloch
29 * @author Neal Gafter
30 * @author Yo Ma Ma
31 */
32
33 import java.util.*;
34 import java.io.*;
35
36 public class EnumSetBash {
37 static Random rnd = new Random();
38
39 public static void main(String[] args) {
40 bash(Silly0.class);
41 bash(Silly1.class);
42 bash(Silly31.class);
43 bash(Silly32.class);
44 bash(Silly33.class);
45 bash(Silly63.class);
46 bash(Silly64.class);
47 bash(Silly65.class);
48 bash(Silly127.class);
49 bash(Silly128.class);
50 bash(Silly129.class);
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @bug 4904135 4923181
27 * @summary Unit test for EnumSet
28 * @author Josh Bloch
29 * @author Neal Gafter
30 * @author Yo Ma Ma
31 * @key randomness
32 */
33
34 import java.util.*;
35 import java.io.*;
36
37 public class EnumSetBash {
38 static Random rnd = new Random();
39
40 public static void main(String[] args) {
41 bash(Silly0.class);
42 bash(Silly1.class);
43 bash(Silly31.class);
44 bash(Silly32.class);
45 bash(Silly33.class);
46 bash(Silly63.class);
47 bash(Silly64.class);
48 bash(Silly65.class);
49 bash(Silly127.class);
50 bash(Silly128.class);
51 bash(Silly129.class);
|