diff options
author | Jiri Vanek <[email protected]> | 2012-12-21 13:19:14 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2012-12-21 13:19:14 +0100 |
commit | 77d66397adaec6704b0c3961b3c9e5e2ba733712 (patch) | |
tree | a098ea1c57ab574951c4d866df0efa7677dbe025 /tests/reproducers | |
parent | 266d97d1c75a7ec774a77baa166d5f8ffd6d86c2 (diff) |
Forgotten condition for AviationWeather first run
Diffstat (limited to 'tests/reproducers')
-rw-r--r-- | tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java | 10 |
1 files changed, 9 insertions, 1 deletions
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"); |