diff options
Diffstat (limited to 'tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java')
-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"); |