diff options
author | aclement <aclement> | 2011-08-05 16:08:12 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-08-05 16:08:12 +0000 |
commit | 62e0378eae5a23c7ba62f24914a19066c0aac7f8 (patch) | |
tree | d229df39e6712358b88c74473411068d7cd9be18 | |
parent | 2ef23bfc6f47549965f1acdbcdef8520a7da92fc (diff) | |
download | aspectj-62e0378eae5a23c7ba62f24914a19066c0aac7f8.tar.gz aspectj-62e0378eae5a23c7ba62f24914a19066c0aac7f8.zip |
353936: refactoring
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/IntertypeTests.java | 13 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java | 12 |
2 files changed, 0 insertions, 25 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc169/IntertypeTests.java b/tests/src/org/aspectj/systemtest/ajc169/IntertypeTests.java index d18fe1320..8a8df7cb4 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/IntertypeTests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/IntertypeTests.java @@ -13,9 +13,6 @@ import java.io.PrintWriter; import junit.framework.Test; -import org.aspectj.apache.bcel.classfile.JavaClass; -import org.aspectj.apache.bcel.util.ClassPath; -import org.aspectj.apache.bcel.util.SyntheticRepository; import org.aspectj.asm.AsmManager; import org.aspectj.asm.IRelationshipMap; import org.aspectj.testing.XMLBasedAjcTestCase; @@ -205,16 +202,6 @@ public class IntertypeTests extends org.aspectj.testing.XMLBasedAjcTestCase { // } // -- - public SyntheticRepository createRepos(File cpentry) { - ClassPath cp = new ClassPath(cpentry + File.pathSeparator + System.getProperty("java.class.path")); - return SyntheticRepository.getInstance(cp); - } - - protected JavaClass getClassFrom(File where, String clazzname) throws ClassNotFoundException { - SyntheticRepository repos = createRepos(where); - return repos.loadClass(clazzname); - } - public static Test suite() { return XMLBasedAjcTestCase.loadSuite(IntertypeTests.class); } diff --git a/tests/src/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java b/tests/src/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java index 058b058c9..a64c390da 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java @@ -19,8 +19,6 @@ import org.aspectj.apache.bcel.classfile.Field; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; -import org.aspectj.apache.bcel.util.ClassPath; -import org.aspectj.apache.bcel.util.SyntheticRepository; import org.aspectj.testing.XMLBasedAjcTestCase; /** @@ -234,16 +232,6 @@ public class TransparentWeavingTests extends org.aspectj.testing.XMLBasedAjcTest // -- - public SyntheticRepository createRepos(File cpentry) { - ClassPath cp = new ClassPath(cpentry + File.pathSeparator + System.getProperty("java.class.path")); - return SyntheticRepository.getInstance(cp); - } - - protected JavaClass getClassFrom(File where, String clazzname) throws ClassNotFoundException { - SyntheticRepository repos = createRepos(where); - return repos.loadClass(clazzname); - } - public static Test suite() { return XMLBasedAjcTestCase.loadSuite(TransparentWeavingTests.class); } |