14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package test.sandbox;
27
28 /**
29 * Global constants for sandbox tests.
30 */
31 public class Constants {
32
33 // Test timeout in milliseconds
34 public static final int TIMEOUT = 8000;
35
36 // Time in milliseconds to show the stage
37 public static final int SHOWTIME = 2500;
38
39 // Error exit codes. Note that 0 and 1 are reserved for normal exit and
40 // failure to launch java, respectively
41 public static final int ERROR_NONE = 2;
42
43 public static final int ERROR_TIMEOUT = 3;
44 public static final int ERROR_SECURITY_EXCEPTION = 4;
45 public static final int ERROR_NO_SECURITY_EXCEPTION = 5;
46 public static final int ERROR_UNEXPECTED_EXCEPTION = 6;
47
48 // No need to ever create an instance of this class
49 private Constants() {}
50
51 }
|
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package test.sandbox;
27
28 /**
29 * Global constants for sandbox tests.
30 */
31 public class Constants {
32
33 // Test timeout in milliseconds
34 public static final int TIMEOUT = 10000;
35
36 // Time in milliseconds to show the stage
37 public static final int SHOWTIME = 2500;
38
39 // Error exit codes. Note that 0 and 1 are reserved for normal exit and
40 // failure to launch java, respectively
41 public static final int ERROR_NONE = 2;
42
43 public static final int ERROR_TIMEOUT = 3;
44 public static final int ERROR_SECURITY_EXCEPTION = 4;
45 public static final int ERROR_NO_SECURITY_EXCEPTION = 5;
46 public static final int ERROR_UNEXPECTED_EXCEPTION = 6;
47
48 // No need to ever create an instance of this class
49 private Constants() {}
50
51 }
|