Mercurial > hg > truffle
comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/lang/Object_notifyAll02.java @ 7282:390448a6b535
converted the JTT tests to use the GraalCompilerTest framework which offers more control over what is compiled and executed
the HP_series and FloatingReads tests have been disabled temporarily
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 20 Dec 2012 14:59:57 +0100 |
parents | e808627bd16f |
children | 64dcb92ee75a |
comparison
equal
deleted
inserted
replaced
7281:e960cda050d7 | 7282:390448a6b535 |
---|---|
22 */ | 22 */ |
23 /* | 23 /* |
24 */ | 24 */ |
25 package com.oracle.graal.jtt.lang; | 25 package com.oracle.graal.jtt.lang; |
26 | 26 |
27 import com.oracle.graal.jtt.*; | |
27 import org.junit.*; | 28 import org.junit.*; |
28 | 29 |
29 @SuppressWarnings("static-method") | 30 public final class Object_notifyAll02 extends JTTTest { |
30 public final class Object_notifyAll02 { | |
31 | 31 |
32 static final Object object = new Object(); | 32 static final Object object = new Object(); |
33 | 33 |
34 public static boolean test() { | 34 public static boolean test() { |
35 synchronized (object) { | 35 synchronized (object) { |
38 return true; | 38 return true; |
39 } | 39 } |
40 | 40 |
41 @Test | 41 @Test |
42 public void run0() throws Throwable { | 42 public void run0() throws Throwable { |
43 Assert.assertEquals(true, test()); | 43 runTest("test"); |
44 } | 44 } |
45 | 45 |
46 } | 46 } |