Mercurial > hg > truffle
comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/except/Catch_Two02.java @ 8341:c38d2870439e
unittest: move testcases that takes longer than 100ms into longunittest
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 18 Mar 2013 13:21:05 +0100 |
parents | 390448a6b535 |
children | 64dcb92ee75a |
comparison
equal
deleted
inserted
replaced
8340:d9d883aeb96f | 8341:c38d2870439e |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.graal.jtt.except; | 23 package com.oracle.graal.jtt.except; |
24 | 24 |
25 import com.oracle.graal.test.*; | |
25 import com.oracle.graal.jtt.*; | 26 import com.oracle.graal.jtt.*; |
26 import org.junit.*; | |
27 | 27 |
28 /* | 28 /* |
29 */ | 29 */ |
30 public class Catch_Two02 extends JTTTest { | 30 public class Catch_Two02 extends JTTTest { |
31 | 31 |
47 if (arg == 11) { | 47 if (arg == 11) { |
48 throw new ArithmeticException(); | 48 throw new ArithmeticException(); |
49 } | 49 } |
50 } | 50 } |
51 | 51 |
52 @Test | 52 @LongTest |
53 public void run0() throws Throwable { | 53 public void run0() throws Throwable { |
54 runTest("test", 0); | 54 runTest("test", 0); |
55 } | 55 } |
56 | 56 |
57 @Test | 57 @LongTest |
58 public void run1() throws Throwable { | 58 public void run1() throws Throwable { |
59 runTest("test", 1); | 59 runTest("test", 1); |
60 } | 60 } |
61 | 61 |
62 @Test | 62 @LongTest |
63 public void run2() throws Throwable { | 63 public void run2() throws Throwable { |
64 runTest("test", 3); | 64 runTest("test", 3); |
65 } | 65 } |
66 | 66 |
67 } | 67 } |