before(Object testCase) : testsFlow(testCase) {
System.out.println(testCase); // not working, must print
"testM"...
}
}
I don't have an example in front of
me unfortunately, but I think that's close.
cheers,
-adrian.
--
Adrian Powell
Centre for IBM e-Business Innovation :: Vancouver
apowell@xxxxxxxxxx / 604-297-3194
André Dantas Rocha <ad-rocha@xxxxxxxxxx> Sent by: aspectj-users-admin@xxxxxxxxxxx
11/13/2004 08:57 PM
Please respond to
aspectj-users
To
<aspectj-users@xxxxxxxxxxx>
cc
Subject
[aspectj-users] How to?
Hi,
I'd like to print the TestCase name from
witch myMethod is called (not directly, but in the TestCase control-flow).
Is it possible via pointcut declaration?
my code is shown below...
public class MyClass {
void xx() { myMethod(); }
void myMethod() {...}
}