From bb14e258c5d1769b3987a2e11f02c29f90f30e36 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 22 Nov 2006 10:24:34 +0000 Subject: [PATCH] tests and implementation for 165153: outputting aspectj trace to a named file --- .../aspectj/systemtest/tracing/TracingTests.java | 8 ++++++++ .../src/org/aspectj/systemtest/tracing/tracing.xml | 12 ++++++++++++ tests/tracing/ant.xml | 14 ++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/tests/src/org/aspectj/systemtest/tracing/TracingTests.java b/tests/src/org/aspectj/systemtest/tracing/TracingTests.java index a0164d305..c144e48e8 100644 --- a/tests/src/org/aspectj/systemtest/tracing/TracingTests.java +++ b/tests/src/org/aspectj/systemtest/tracing/TracingTests.java @@ -45,5 +45,13 @@ public class TracingTests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testJDK14Tracing_pr159854 () { runTest("JDK 1.4 tracing"); } + + public void testTracingFileSystemProperty () { + runTest("Tracing file System Property"); + + File dir = getSandboxDirectory(); + File file = new File(dir,"tracing.txt"); + assertTrue("Missing tracing file: " + file,file.exists()); + } } diff --git a/tests/src/org/aspectj/systemtest/tracing/tracing.xml b/tests/src/org/aspectj/systemtest/tracing/tracing.xml index 7a1405a78..122dbe28a 100644 --- a/tests/src/org/aspectj/systemtest/tracing/tracing.xml +++ b/tests/src/org/aspectj/systemtest/tracing/tracing.xml @@ -84,4 +84,16 @@ + + + + + + + + + + diff --git a/tests/tracing/ant.xml b/tests/tracing/ant.xml index 8e7ddad18..f41252dcc 100644 --- a/tests/tracing/ant.xml +++ b/tests/tracing/ant.xml @@ -63,4 +63,18 @@ + + + + + + + + + + + + + + -- 2.39.5