/hg/icedtea-web: Forgotten condition for AviationWeather first run

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Fri Dec 21 04:17:50 PST 2012


changeset a24c48429ff1 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=a24c48429ff1
author: Jiri Vanek <jvanek at redhat.com>
date: Fri Dec 21 13:19:14 2012 +0100

	Forgotten condition for AviationWeather first run


diffstat:

 ChangeLog                                                                |   7 +++++++
 tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java |  10 +++++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 4d294d8ea881 -r a24c48429ff1 ChangeLog
--- a/ChangeLog	Thu Dec 20 15:51:45 2012 -0500
+++ b/ChangeLog	Fri Dec 21 13:19:14 2012 +0100
@@ -1,3 +1,10 @@
+2012-12-21  Jiri Vanek <jvanek at redhat.com>
+
+	Forgotten condition for AviationWeather first run:
+	* tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
+	(AviationWeather) added condition for first run when creation of
+	FileManager is written to stderr.
+
 2012-12-20  Saad Mohammad  <smohammad at redhat.com>
 
 	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
diff -r 4d294d8ea881 -r a24c48429ff1 tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java
--- a/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java	Thu Dec 20 15:51:45 2012 -0500
+++ b/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java	Fri Dec 21 13:19:14 2012 +0100
@@ -188,7 +188,15 @@
         }
     }
 
-    public static class AviationWeather extends NoOutputs {
+    public static class AviationWeather extends StringBasedURL {
+
+        @Override
+        public void evaluate(ProcessResult pr) {
+            Assert.assertTrue(stdoutEmpty, pr.stdout.length() == 0);
+            Assert.assertTrue(pr.stderr.length() == 0 || (pr.stderr.contains("Cannot read File Manager history data file,")
+                    && pr.stderr.contains("FileMgr will be initialized with default options")));
+
+        }
 
         public AviationWeather() {
             super("http://aviationweather.gov/static/adds/java/fpt/fpt.jnlp");



More information about the distro-pkg-dev mailing list