On Oct 27, 2003, at 5:44 AM, Andriy Shapochka wrote:
>
>> Some time back we had an offline conversation with Giulio Cesare about
>> AspectJ and AOP (actually it was "online", but off the list :-)) .
>
> Pity, you kept it to yourselves. I am delving into AspectJ and would
> have
> been interested in such a kind of discussion.
This was about a reworked expressions package. There wasn't anything
specific so far. If anyone is to plan on using the AOP in the core
code, this should definitely be discussed on the list.
> I created a very rough sketch in AspectJ modelling your situation.
> Hope it
> will help sort things out. Probably there could be more elegant
> solutions,
> conceptually, but this also works. One remark though, in general the
> 'unsupportedTests' pointcuts should be implemented more artfully to
> avoid
> the boring method enumerations. All the additional exception handling
> and
> argument passing technicalities can be easily handled with the well
> known
> AOP idioms, of course.
Thanks for the great example. This is something I was looking for. I
guess we may stick the adapter-specific aspects into corresponding
adapter testing delegates. I can identify the following things to be
customized:
1. Tables to be skipped during schema generation
2. Additional SQL to be executed during schema generation (used for
Stored Procedures testing)
3. Tests to be skipped.
Will think about a good way to configure this.... Although putting it
in one place in Java code is probably as good as creating an XML file
:-).
Andrus
This archive was generated by hypermail 2.0.0 : Mon Oct 27 2003 - 17:05:00 EST