comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/profiles/IntValueProfileTest.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 a63bda98cfdb
children
comparison
equal deleted inserted replaced
22529:2643b968c0c6 22530:4ba1aa33fda4
27 import static org.junit.Assert.assertThat; 27 import static org.junit.Assert.assertThat;
28 28
29 import org.junit.Before; 29 import org.junit.Before;
30 import org.junit.Test; 30 import org.junit.Test;
31 import org.junit.experimental.theories.DataPoint; 31 import org.junit.experimental.theories.DataPoint;
32 import org.junit.experimental.theories.Theories;
33 import org.junit.experimental.theories.Theory; 32 import org.junit.experimental.theories.Theory;
34 import org.junit.runner.RunWith; 33 import org.junit.runner.RunWith;
35 34
36 @RunWith(Theories.class) 35 @RunWith(SeparateClassloaderTestRunner.Theories.class)
37 public class IntValueProfileTest { 36 public class IntValueProfileTest {
38 37
39 @DataPoint public static final int VALUE0 = Integer.MIN_VALUE; 38 @DataPoint public static final int VALUE0 = Integer.MIN_VALUE;
40 @DataPoint public static final int VALUE1 = 0; 39 @DataPoint public static final int VALUE1 = 0;
41 @DataPoint public static final int VALUE2 = 14; 40 @DataPoint public static final int VALUE2 = 14;