diff options
Diffstat (limited to 'weaver5/java5-testsrc')
-rw-r--r-- | weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceTest.java | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceTest.java b/weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceTest.java index 283aadb55..5accd227b 100644 --- a/weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceTest.java +++ b/weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceTest.java @@ -13,12 +13,8 @@ package org.aspectj.weaver; import org.aspectj.weaver.tools.DefaultTrace; import org.aspectj.weaver.tools.Jdk14Trace; -import junit.framework.TestCase; +public class Jdk14TraceTest extends AbstractTraceTest { -public class Jdk14TraceTest extends TestCase { - - private Jdk14Trace trace; - protected void setUp() throws Exception { super.setUp(); trace = new Jdk14Trace(getClass()); @@ -29,35 +25,6 @@ public class Jdk14TraceTest extends TestCase { Jdk14Trace trace = new Jdk14Trace(getClass()); } - public void testEnterWithThisAndArgs() { - trace.enter("testEnterWithThisAndArgs",this,new Object[] { "arg1", "arg2" }); - } - - public void testEnterWithThis() { - trace.enter("testEnterWithThis",this); - } - - public void testEnter() { - trace.enter("testEnter"); - } - - public void testExitWithReturn() { - trace.exit("testExitWithReturn","ret"); - } - - public void testExitWithThrowable() { - trace.exit("testExitWithThrowable",new RuntimeException()); - } - - public void testExit() { - trace.exit("testExit"); - } - - public void testIsTraceEnabled() { - DefaultTrace trace = new DefaultTrace(getClass()); - assertFalse(trace.isTraceEnabled()); - } - public void testSetTraceEnabled() { DefaultTrace trace = new DefaultTrace(getClass()); trace.setTraceEnabled(true); |