|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mod4j.runtime.test.AbstractLoggingTest
org.mod4j.runtime.aspects.TimingAspectTest
public class TimingAspectTest
Test for TimingAspect.
| Field Summary |
|---|
| Fields inherited from class org.mod4j.runtime.test.AbstractLoggingTest |
|---|
logger, mockHandler |
| Constructor Summary | |
|---|---|
TimingAspectTest()
|
|
| Method Summary | |
|---|---|
protected org.apache.commons.logging.Log |
getLog()
The Log we'll work with. |
void |
testNoLogging()
Test the TimingAspect#time(ProceedingJoinPoint) method with loglevel set to 'info', which should in
nothing but a call to proceed(). |
void |
testTiming()
Test the TimingAspect#time(ProceedingJoinPoint) method. |
| Methods inherited from class org.mod4j.runtime.test.AbstractLoggingTest |
|---|
setUp, tearDown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimingAspectTest()
| Method Detail |
|---|
public void testTiming()
throws java.lang.Throwable
TimingAspect#time(ProceedingJoinPoint) method.
java.lang.Throwable - Not expect.
public void testNoLogging()
throws java.lang.Throwable
TimingAspect#time(ProceedingJoinPoint) method with loglevel set to 'info', which should in
nothing but a call to proceed().
java.lang.Throwable - Not expected.protected org.apache.commons.logging.Log getLog()
AbstractLoggingTestLog we'll work with. Has to be implemented by the subclass.
getLog in class AbstractLoggingTestLog for the target (which is this class).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||