diff options
author | Jiri Vanek <[email protected]> | 2011-05-09 21:58:48 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2011-05-09 21:58:48 +0200 |
commit | a20b6152e9037c3f4e6f211d946035de7c803648 (patch) | |
tree | 454ecc89ea81b757a46ea46c7efc509ed2dd55cc /tests/junit-runner | |
parent | bbbb38b7c109881d023a8a183b367f3defdbdb96 (diff) |
Innerclasses and jnlp files are now skipped during testing without warning or eror
Diffstat (limited to 'tests/junit-runner')
-rw-r--r-- | tests/junit-runner/CommandLine.java | 2 |
1 files changed, 2 insertions, 0 deletions
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); |