Mercurial > hg > truffle
diff truffle/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/CachedTest.java @ 22272:5309cc9668e3
Cleanup DSL tests from instrumentation dependencies.
author | Christian Humer <christian.humer@oracle.com> |
---|---|
date | Thu, 01 Oct 2015 14:00:17 +0200 |
parents | 14e6dfb1ef05 |
children | dbbcd8eb5dae |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/CachedTest.java Thu Oct 01 13:38:28 2015 +0200 +++ b/truffle/com.oracle.truffle.api.dsl.test/src/com/oracle/truffle/api/dsl/test/CachedTest.java Thu Oct 01 14:00:17 2015 +0200 @@ -27,8 +27,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; -import org.junit.After; -import org.junit.Before; import org.junit.Test; import com.oracle.truffle.api.CallTarget; @@ -49,21 +47,10 @@ import com.oracle.truffle.api.dsl.test.CachedTestFactory.TestMultipleCachesFactory; import com.oracle.truffle.api.dsl.test.CachedTestFactory.UnboundCacheFactory; import com.oracle.truffle.api.dsl.test.TypeSystemTest.ValueNode; -import com.oracle.truffle.api.dsl.test.utilities.InstrumentationTestMode; @SuppressWarnings("unused") public class CachedTest { - @Before - public void before() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException { - InstrumentationTestMode.set(true); - } - - @After - public void after() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException { - InstrumentationTestMode.set(false); - } - @Test public void testUnboundCache() { CallTarget root = createCallTarget(UnboundCacheFactory.getInstance());