Browse Source

Fix error. filtertrace was static...

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270917 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
35113692d5
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

+ 1
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java View File

@@ -129,7 +129,7 @@ public class JUnitTestRunner implements TestListener {
/**
* Do we filter junit.*.* stack frames out of failure and error exceptions.
*/
private static boolean filtertrace = true;
private boolean filtertrace = true;
private final static String[] DEFAULT_TRACE_FILTERS = new String[] {
"junit.framework.TestCase",
@@ -194,7 +194,6 @@ public class JUnitTestRunner implements TestListener {
*/
public JUnitTestRunner(JUnitTest test, boolean haltOnError, boolean filtertrace,
boolean haltOnFailure, ClassLoader loader) {
//JUnitTestRunner.filtertrace = filtertrace;
this.filtertrace = filtertrace;
this.junitTest = test;
this.haltOnError = haltOnError;


Loading…
Cancel
Save