comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/micro/BigObjectParams01.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
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.micro; 23 package com.oracle.graal.jtt.micro;
24 24
25 import com.oracle.graal.jtt.*;
25 import org.junit.*; 26 import org.junit.*;
26 27
27 /* 28 /*
28 */ 29 */
29 public class BigObjectParams01 { 30 public class BigObjectParams01 extends JTTTest {
30 31
31 @SuppressWarnings("unused") 32 @SuppressWarnings("unused")
32 public static String test(String p0, String p1, String p2, String p3, String p4, String p5, String p6, String p7, String p8, String p9) { 33 public static String test(String p0, String p1, String p2, String p3, String p4, String p5, String p6, String p7, String p8, String p9) {
33 return p0; 34 return p0;
34 } 35 }
35 36
36 @Test 37 @Test
37 public void run0() throws Throwable { 38 public void run0() throws Throwable {
38 Assert.assertEquals("0", test("0", "1", "2", "3", "4", "5", "6", "7", "8", "9")); 39 runTest("test", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9");
39 } 40 }
40 41
41 @Test 42 @Test
42 public void run1() throws Throwable { 43 public void run1() throws Throwable {
43 Assert.assertEquals("a", test("a", null, null, null, null, null, null, null, null, null)); 44 runTest("test", "a", null, null, null, null, null, null, null, null, null);
44 } 45 }
45 46
46 } 47 }