diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tests/junit-runner/CommandLine.java | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2011-05-09 Jiri Vanek <[email protected]> + * tests/junit-runner/CommandLine.java:r added skipping of inner + classes and one jnlp file from sources package. + 2011-05-03 Denis Lila <[email protected]> * netx/net/sourceforge/jnlp/NetxPanel.java: diff --git a/tests/junit-runner/CommandLine.java b/tests/junit-runner/CommandLine.java index 96ddc24..ad7dc7e 100644 --- a/tests/junit-runner/CommandLine.java +++ b/tests/junit-runner/CommandLine.java @@ -34,6 +34,8 @@ public class CommandLine extends JUnitCore { List<Failure> missingClasses = new ArrayList<Failure>(); for (String each : args) { try { + if (each.contains("$")) continue; + if (each.toLowerCase().endsWith(".jnlp")) continue; classes.add(Class.forName(each)); } catch (ClassNotFoundException e) { system.out().println("ERROR: Could not find class: " + each); |