Browse Source

341446: adjust test structure to avoid inclusion of incorrect (level50) classes in packaged jars

tags/V1_6_12M1
aclement 13 years ago
parent
commit
293a0756b2

+ 0
- 1
org.aspectj.matcher/.classpath View File

@@ -8,6 +8,5 @@
<classpathentry kind="src" path="/bridge"/>
<classpathentry kind="lib" path="/lib/commons/commons.jar" sourcepath="/lib/commons/commons-src.zip"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="testdata/testdata.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

BIN
org.aspectj.matcher/testdata/testdata.jar View File


+ 0
- 8
org.aspectj.matcher/testsrc/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java View File

@@ -25,14 +25,6 @@ import org.aspectj.weaver.tools.StandardPointcutParser;
*
* This is based on the Reflection oriented PointcutExpressionTest in the weaver project.
*
* TESTDATA. The testdata for these tests is kept in org.aspectj.matcher/testdata. It is a series of .java files that need to be
* compiled and available at runtime. Since they are java5 (they include annotations) they cannot be in a source folder for the
* project, so they are compiled separately and then jar'd into a testdata.jar file in that folder. This folder is defined to be on
* the classpath for org.aspectj.matcher, this enables them to be seen by a simple world that uses the classpath of the matcher
* project as the definition of what it can see. Other worlds, for example JDT World, will need to have those types defined in a
* project that is accessible in the JDT World instance. Because these tests exercise Java5 matching, the concrete ReflectionWorld
* subtype is not defined in here, it is defined in weaver5 (messy, but works well).
*
* @author Andy Clement
*/
public abstract class CommonAdvancedPointcutExpressionTests extends TestCase {

org.aspectj.matcher/testdata/AnnotatedClass.java → org.aspectj.matcher/testsrc/testdata/AnnotatedClass.java View File


org.aspectj.matcher/testdata/MethodLevelAnnotation.java → org.aspectj.matcher/testsrc/testdata/MethodLevelAnnotation.java View File


org.aspectj.matcher/testdata/SomeAnnotation.java → org.aspectj.matcher/testsrc/testdata/SomeAnnotation.java View File


Loading…
Cancel
Save