comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/profiles/LoopConditionProfileTest.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
26 import static org.junit.Assert.assertThat; 26 import static org.junit.Assert.assertThat;
27 27
28 import org.junit.Before; 28 import org.junit.Before;
29 import org.junit.Test; 29 import org.junit.Test;
30 import org.junit.experimental.theories.DataPoints; 30 import org.junit.experimental.theories.DataPoints;
31 import org.junit.experimental.theories.Theories;
32 import org.junit.experimental.theories.Theory; 31 import org.junit.experimental.theories.Theory;
33 import org.junit.runner.RunWith; 32 import org.junit.runner.RunWith;
34 33
35 @RunWith(Theories.class) 34 @RunWith(SeparateClassloaderTestRunner.Theories.class)
36 public class LoopConditionProfileTest { 35 public class LoopConditionProfileTest {
37 36
38 @DataPoints public static boolean[] data = new boolean[]{true, false}; 37 @DataPoints public static boolean[] data = new boolean[]{true, false};
39 @DataPoints public static long[] lengthes = new long[]{Long.MAX_VALUE, 0L, Long.MAX_VALUE / 2L, Long.MAX_VALUE / 2 + 1L, 1L}; 38 @DataPoints public static long[] lengthes = new long[]{Long.MAX_VALUE, 0L, Long.MAX_VALUE / 2L, Long.MAX_VALUE / 2 + 1L, 1L};
40 39