Mercurial > hg > release > icedtea-web-1.2
changeset 234:f93285fdccdf
Innerclasses and jnlp files are now skipped during testing without warning or eror
author | Jiri Vanek <jvanek@redhat.com> |
---|---|
date | Mon, 09 May 2011 21:58:48 +0200 |
parents | c4a58969d117 |
children | 114a981d3552 |
files | ChangeLog tests/junit-runner/CommandLine.java |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue May 03 09:14:16 2011 -0400 +++ b/ChangeLog Mon May 09 21:58:48 2011 +0200 @@ -1,3 +1,7 @@ +2011-05-09 Jiri Vanek <jvanek@redhat.com> + * tests/junit-runner/CommandLine.java:r added skipping of inner + classes and one jnlp file from sources package. + 2011-05-03 Denis Lila <dlila@redhat.com> * netx/net/sourceforge/jnlp/NetxPanel.java:
--- a/tests/junit-runner/CommandLine.java Tue May 03 09:14:16 2011 -0400 +++ b/tests/junit-runner/CommandLine.java Mon May 09 21:58:48 2011 +0200 @@ -34,6 +34,8 @@ 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);