Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/nodes/SafeReplaceTest.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 5bc7f7b867ab |
children |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
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.truffle.api.test.nodes; | 23 package com.oracle.truffle.api.test.nodes; |
24 | 24 |
25 import static org.junit.Assert.*; | 25 import com.oracle.truffle.api.frame.VirtualFrame; |
26 | 26 import com.oracle.truffle.api.nodes.Node; |
27 import org.junit.*; | 27 import com.oracle.truffle.api.nodes.RootNode; |
28 | |
29 import com.oracle.truffle.api.frame.*; | |
30 import com.oracle.truffle.api.nodes.*; | |
31 import com.oracle.truffle.api.test.TestingLanguage; | 28 import com.oracle.truffle.api.test.TestingLanguage; |
29 import static org.junit.Assert.assertEquals; | |
30 import static org.junit.Assert.assertFalse; | |
31 import static org.junit.Assert.assertTrue; | |
32 import org.junit.Test; | |
32 | 33 |
33 /** | 34 /** |
34 * Tests optional method for ensuring that a node replacement is type safe. Ordinary node | 35 * Tests optional method for ensuring that a node replacement is type safe. Ordinary node |
35 * replacement is performed by unsafe assignment of a parent node's child field. | 36 * replacement is performed by unsafe assignment of a parent node's child field. |
36 */ | 37 */ |