comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/profiles/PrimitiveValueProfileTest.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
30 import static org.junit.Assert.assertTrue; 30 import static org.junit.Assert.assertTrue;
31 31
32 import org.junit.Before; 32 import org.junit.Before;
33 import org.junit.Test; 33 import org.junit.Test;
34 import org.junit.experimental.theories.DataPoint; 34 import org.junit.experimental.theories.DataPoint;
35 import org.junit.experimental.theories.Theories;
36 import org.junit.experimental.theories.Theory; 35 import org.junit.experimental.theories.Theory;
37 import org.junit.runner.RunWith; 36 import org.junit.runner.RunWith;
38 37
39 @SuppressWarnings("deprecation") 38 @SuppressWarnings("deprecation")
40 @RunWith(Theories.class) 39 @RunWith(SeparateClassloaderTestRunner.Theories.class)
41 public class PrimitiveValueProfileTest { 40 public class PrimitiveValueProfileTest {
42 41
43 @DataPoint public static final String O1 = new String(); 42 @DataPoint public static final String O1 = new String();
44 @DataPoint public static final String O2 = O1; 43 @DataPoint public static final String O2 = O1;
45 @DataPoint public static final Object O3 = new Object(); 44 @DataPoint public static final Object O3 = new Object();