Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/lang/String_intern02.java @ 15321:c6fcb4a36c6a
unittest: remove @LongTest
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 23 Apr 2014 11:48:54 +0200 |
parents | 64dcb92ee75a |
children |
comparison
equal
deleted
inserted
replaced
15320:0ba5f1038bd4 | 15321:c6fcb4a36c6a |
---|---|
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.lang; | 23 package com.oracle.graal.jtt.lang; |
24 | 24 |
25 import org.junit.*; | |
26 | |
25 import com.oracle.graal.jtt.*; | 27 import com.oracle.graal.jtt.*; |
26 import com.oracle.graal.test.*; | |
27 | 28 |
28 /* | 29 /* |
29 */ | 30 */ |
30 public class String_intern02 extends JTTTest { | 31 public class String_intern02 extends JTTTest { |
31 | 32 |
32 public static boolean test(int i) { | 33 public static boolean test(int i) { |
33 return ("id" + i).intern() == ("id" + i).intern(); | 34 return ("id" + i).intern() == ("id" + i).intern(); |
34 } | 35 } |
35 | 36 |
36 @LongTest | 37 @Test |
37 public void run0() throws Throwable { | 38 public void run0() throws Throwable { |
38 runTest("test", 0); | 39 runTest("test", 0); |
39 } | 40 } |
40 | 41 |
41 @LongTest | 42 @Test |
42 public void run1() throws Throwable { | 43 public void run1() throws Throwable { |
43 runTest("test", 1); | 44 runTest("test", 1); |
44 } | 45 } |
45 | 46 |
46 @LongTest | 47 @Test |
47 public void run2() throws Throwable { | 48 public void run2() throws Throwable { |
48 runTest("test", 2); | 49 runTest("test", 2); |
49 } | 50 } |
50 | 51 |
51 } | 52 } |