aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2011-05-09 21:58:48 +0200
committerJiri Vanek <[email protected]>2011-05-09 21:58:48 +0200
commita20b6152e9037c3f4e6f211d946035de7c803648 (patch)
tree454ecc89ea81b757a46ea46c7efc509ed2dd55cc
parentbbbb38b7c109881d023a8a183b367f3defdbdb96 (diff)
Innerclasses and jnlp files are now skipped during testing without warning or eror
-rw-r--r--ChangeLog4
-rw-r--r--tests/junit-runner/CommandLine.java2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6740252..0f82551 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);