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