summaryrefslogtreecommitdiffstats
path: root/jack/tests/com/android/jack/preprocessor/PreProcessorTest.java
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2015-06-12 16:29:20 +0200
committerJean-Marie Henaff <jmhenaff@google.com>2015-06-24 13:53:21 +0200
commitf1828481ebcfee3bddc323fca178a4502a60ceef (patch)
tree1a706277eaae29edc8f7f8532f7686383689cc95 /jack/tests/com/android/jack/preprocessor/PreProcessorTest.java
parentc33c369849c5864b1e918fb4995cd88a2f67aba4 (diff)
downloadtoolchain_jack-f1828481ebcfee3bddc323fca178a4502a60ceef.zip
toolchain_jack-f1828481ebcfee3bddc323fca178a4502a60ceef.tar.gz
toolchain_jack-f1828481ebcfee3bddc323fca178a4502a60ceef.tar.bz2
Remove assertion status from Jack sanity checks
- adds a property to set when invoking ant to disable assertion (-Dtests.disable-assertions=true) - remove assertion status modification done in tests (cherry picked from commit 9fcbabb82e5292b7df75ea396eddd34ea8a1558c) Change-Id: Ibfc41fc8b0e7e47c597d3f92e420dfb151681396
Diffstat (limited to 'jack/tests/com/android/jack/preprocessor/PreProcessorTest.java')
-rw-r--r--jack/tests/com/android/jack/preprocessor/PreProcessorTest.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/jack/tests/com/android/jack/preprocessor/PreProcessorTest.java b/jack/tests/com/android/jack/preprocessor/PreProcessorTest.java
index cb38d2a..098463e 100644
--- a/jack/tests/com/android/jack/preprocessor/PreProcessorTest.java
+++ b/jack/tests/com/android/jack/preprocessor/PreProcessorTest.java
@@ -16,7 +16,6 @@
package com.android.jack.preprocessor;
-import com.android.jack.Main;
import com.android.jack.Options;
import com.android.jack.TestTools;
import com.android.jack.ir.ast.JAnnotationType;
@@ -30,7 +29,6 @@ import junit.framework.Assert;
import org.antlr.runtime.ANTLRFileStream;
import org.antlr.runtime.CommonTokenStream;
-import org.junit.BeforeClass;
import org.junit.Test;
import java.io.File;
@@ -38,11 +36,6 @@ import java.util.Collection;
public class PreProcessorTest {
- @BeforeClass
- public static void setUpClass() throws Exception {
- Main.class.getClassLoader().setDefaultAssertionStatus(true);
- }
-
@Test
public void test001() throws Exception {
File testDir = TestTools.getJackTestsWithJackFolder("preprocessor/test001");