Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Unit testing methods that take JoinPoint as an argument

aspectj-users,

What mechanisms do people use to unit test methods that take a JoinPoint as
an argument? 

Take a simple method call tracing aspect that delegates the actual writing
of the trace to some writer. The writer might have an API such as:

public void methodEntry(JoinPoint jp);

How do people go about testing such a method?

Regards,

Jeff




Back to the top