<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>
+++ /dev/null
-package testdata;
-
-@SomeAnnotation
-public class AnnotatedClass {
-
- @MethodLevelAnnotation
- public void annotatedMethod() { }
-
- public void nonAnnotatedMethod() {
- }
-}
+++ /dev/null
-package testdata;
-import java.lang.annotation.*;
-
-@Retention(RetentionPolicy.RUNTIME)
-@interface MethodLevelAnnotation {}
+++ /dev/null
-package testdata;
-
-import java.lang.annotation.*;
-
-@Retention(RetentionPolicy.RUNTIME)
-@interface SomeAnnotation {}
*
* 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 {
--- /dev/null
+package testdata;
+
+@SomeAnnotation
+public class AnnotatedClass {
+
+ @MethodLevelAnnotation
+ public void annotatedMethod() { }
+
+ public void nonAnnotatedMethod() {
+ }
+}
--- /dev/null
+package testdata;
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface MethodLevelAnnotation {}
--- /dev/null
+package testdata;
+
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface SomeAnnotation {}