diff options
author | Andy Clement <aclement@pivotal.io> | 2018-10-10 12:56:00 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2018-10-10 12:56:00 -0700 |
commit | 46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17 (patch) | |
tree | 0088ad1a923a4d13e34f921abd65ab73241bc6d8 /testing-drivers | |
parent | 95a9c5db0c9b4b0011f12eb0df93beac5278aa0b (diff) | |
download | aspectj-46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17.tar.gz aspectj-46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17.zip |
Reverse default - behave like 1.5 (support annotations) by default
Diffstat (limited to 'testing-drivers')
-rw-r--r-- | testing-drivers/testsrc/org/aspectj/testing/drivers/AjcHarnessTestsUsingJUnit.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/testing-drivers/testsrc/org/aspectj/testing/drivers/AjcHarnessTestsUsingJUnit.java b/testing-drivers/testsrc/org/aspectj/testing/drivers/AjcHarnessTestsUsingJUnit.java index ae7de7137..efaae5c25 100644 --- a/testing-drivers/testsrc/org/aspectj/testing/drivers/AjcHarnessTestsUsingJUnit.java +++ b/testing-drivers/testsrc/org/aspectj/testing/drivers/AjcHarnessTestsUsingJUnit.java @@ -14,7 +14,8 @@ package org.aspectj.testing.drivers; import org.aspectj.ajdt.internal.core.builder.AjState; -import junit.framework.*; +import junit.framework.TestCase; +import junit.framework.TestSuite; /* * Run harness tests as JUnit test suites. @@ -45,17 +46,13 @@ public class AjcHarnessTestsUsingJUnit extends TestCase { super(name); } - /* (non-Javadoc) - * @see junit.framework.TestCase#setUp() - */ + @Override protected void setUp() throws Exception { super.setUp(); AjState.FORCE_INCREMENTAL_DURING_TESTING = true; } - /* (non-Javadoc) - * @see junit.framework.TestCase#tearDown() - */ + @Override protected void tearDown() throws Exception { super.tearDown(); AjState.FORCE_INCREMENTAL_DURING_TESTING = false; |