10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 20 * CA 95054 USA or visit www.sun.com if you need additional information or 21 * have any questions. 22 */ 23 24 /* 25 * @test 26 * @bug 4904140 27 * @summary Unit test for EnumMap 28 * @author Josh Bloch 29 * @author Yo Yo Ma 30 * 31 * @compile -source 1.5 EnumMapBash.java 32 * @run main EnumMapBash 33 */ 34 35 import java.util.*; 36 import java.io.*; 37 38 public class EnumMapBash { 39 static Random rnd = new Random(); 40 41 public static void main(String[] args) { 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); 51 bash(Silly500.class); 52 } | 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 20 * CA 95054 USA or visit www.sun.com if you need additional information or 21 * have any questions. 22 */ 23 24 /* 25 * @test 26 * @bug 4904140 27 * @summary Unit test for EnumMap 28 * @author Josh Bloch 29 * @author Yo Yo Ma 30 */ 31 32 import java.util.*; 33 import java.io.*; 34 35 public class EnumMapBash { 36 static Random rnd = new Random(); 37 38 public static void main(String[] args) { 39 bash(Silly31.class); 40 bash(Silly32.class); 41 bash(Silly33.class); 42 bash(Silly63.class); 43 bash(Silly64.class); 44 bash(Silly65.class); 45 bash(Silly127.class); 46 bash(Silly128.class); 47 bash(Silly129.class); 48 bash(Silly500.class); 49 } |