From 77d66397adaec6704b0c3961b3c9e5e2ba733712 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Fri, 21 Dec 2012 13:19:14 +0100 Subject: Forgotten condition for AviationWeather first run --- .../custom/remote/testcases/RemoteApplicationSettings.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/reproducers') diff --git a/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java b/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java index 99455bc..40beca0 100644 --- a/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java +++ b/tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java @@ -188,7 +188,15 @@ public class RemoteApplicationSettings { } } - 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"); -- cgit v1.2.3