comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/profiles/BranchProfileTest.java @ 22530:4ba1aa33fda4

Run all tests with SeparateClassLoaderRunner to ensure package private methods are accessible even if the truffle.jar is on bootclasspath.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Wed, 06 Jan 2016 13:52:35 +0100
parents a5e58793bbca
children
comparison
equal deleted inserted replaced
22529:2643b968c0c6 22530:4ba1aa33fda4
24 24
25 import com.oracle.truffle.api.nodes.Node; 25 import com.oracle.truffle.api.nodes.Node;
26 import static org.junit.Assert.assertTrue; 26 import static org.junit.Assert.assertTrue;
27 27
28 import org.junit.Test; 28 import org.junit.Test;
29 import org.junit.runner.RunWith;
29 30
31 @RunWith(SeparateClassloaderTestRunner.class)
30 public class BranchProfileTest { 32 public class BranchProfileTest {
31 33
32 @Test 34 @Test
33 public void testEnter() { 35 public void testEnter() {
34 BranchProfile profile = BranchProfile.Enabled.create0(); 36 BranchProfile profile = BranchProfile.Enabled.create0();