Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/CodeFormatTest.java @ 16756:5148aab962af
Truffle-DSL: updated tests for the new generation layout.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 15:53:05 +0200 |
parents | fa65fc74eb76 |
children | 08aa0372dad4 |
comparison
equal
deleted
inserted
replaced
16755:bd28da642eea | 16756:5148aab962af |
---|---|
26 | 26 |
27 import com.oracle.truffle.api.dsl.*; | 27 import com.oracle.truffle.api.dsl.*; |
28 import com.oracle.truffle.api.dsl.test.CodeFormatTestFactory.LineWrappingTestFactory; | 28 import com.oracle.truffle.api.dsl.test.CodeFormatTestFactory.LineWrappingTestFactory; |
29 import com.oracle.truffle.api.dsl.test.TypeSystemTest.ValueNode; | 29 import com.oracle.truffle.api.dsl.test.TypeSystemTest.ValueNode; |
30 | 30 |
31 /** | |
32 * Tests the generated code compiles without warnings for unusual large guard names. | |
33 */ | |
31 public class CodeFormatTest { | 34 public class CodeFormatTest { |
32 | 35 |
33 @Test | 36 @Test |
34 public void test() { | 37 public void test() { |
35 Assert.assertEquals(42, TestHelper.createCallTarget(LineWrappingTestFactory.create()).call()); | 38 Assert.assertEquals(42, TestHelper.createCallTarget(LineWrappingTestFactory.create()).call()); |