--- /dev/null
+package org.aspectj.matcher.tools;
+
+import org.aspectj.matcher.tools.CommonAdvancedPointcutExpressionTests;
+import org.aspectj.weaver.World;
+import org.aspectj.weaver.reflect.ReflectionWorld;
+
+/**
+ * Run all the pointcut parsing/matching tests against a ReflectionWorld.
+ *
+ * @author Andy Clement
+ */
+public class ReflectionWorldAdvancedPointcutExpressionTests extends CommonAdvancedPointcutExpressionTests {
+
+ protected World getWorld() {
+ World w = new ReflectionWorld(false, getClass().getClassLoader());
+ w.setBehaveInJava5Way(true);
+ return w;
+ }
+
+}
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.aspectj.matcher.tools.ReflectionWorldAdvancedPointcutExpressionTests;
import org.aspectj.weaver.reflect.ReflectionWorldReferenceTypeTest;
import org.aspectj.weaver.reflect.ReflectionWorldSpecificTest;
import org.aspectj.weaver.tools.PointcutExpressionTest;
suite.addTest(BcweaverModuleTests15.suite());
suite.addTestSuite(ReflectionWorldReferenceTypeTest.class);
suite.addTestSuite(PointcutExpressionTest.class);
+ suite.addTestSuite(ReflectionWorldAdvancedPointcutExpressionTests.class);
suite.addTestSuite(ReflectionWorldSpecificTest.class);
// $JUnit-END$
return suite;