aboutsummaryrefslogtreecommitdiffstats
path: root/tests/junit-runner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit-runner')
-rw-r--r--tests/junit-runner/CommandLine.java2
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);