[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Testing AOP code
|
Hi,
Is there some documentation
? Eclipse shows a compile error in my unit test code
when
it refers to inter-type declarations. So now I am looking
for more information.
I am trying to write test code that refers to some
inter-type declarations. How can do this with eclipse ?
Mohan
Hi,
My Junit tests don't compile when I am
testing when inter-type declarations are involved. Should unit tests also be aspects ?
My
JUnit tests compile and run fine testing "aspectized" code (advice,
declarations, intruductions... the whole thing). What is the compiler error you
receive?
Note
that depending on your aspects you may need to compile the unit tests w/ ajc,
too, as otherwise e.g. call - pointcuts will not be handled in the test
code.
-Antti-
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.