Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/profiles/IdentityValueProfileTest.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 IdentityValueProfileTest { | 36 public class IdentityValueProfileTest { |
38 | 37 |
39 @DataPoint public static final String O1 = new String(); | 38 @DataPoint public static final String O1 = new String(); |
40 @DataPoint public static final String O2 = O1; | 39 @DataPoint public static final String O2 = O1; |
41 @DataPoint public static final Object O3 = new Object(); | 40 @DataPoint public static final Object O3 = new Object(); |