Aquarium
Aquarium copied to clipboard
[RubyForge-19664] No JoinPoints matched error for pointcut constants
Date:2008-04-20 11:58 Priority:4 Submitted By:Dean Wampler (deanwampler) Assigned To:Dean Wampler (deanwampler) Category:Pointcut Handling State:Open Summary:No JoinPoints matched error for pointcut constants
Detailed description
When running rake website
, some of the specs. that used :named_pointcuts
that specified types with class constant :pointcuts
sometimes return no join points matched. This doesn't happen when running the specs in TextMate.
I suspect this is a strange interaction between the logic in the PointcutFinderTestClasses
that checks to see if the constant pointcut is already defined before defining it, so we don't get errors about redefining a constant. This can happen because several spec files load these test classes.
This problem doesn't happen when class variable pointcuts are used.
A test case demonstrating the problem is TBD.