From 51c9be21da2444d62ea4e37957b3d2b47ffe9e95 Mon Sep 17 00:00:00 2001
From: Robert Scott <code@humanleg.org.uk>
Date: Fri, 27 Apr 2018 22:26:31 +0100
Subject: [PATCH v2 20/28] PluginPreferenceTest: add .platform() option to
JOSMTestRules
This omission was clearly masked by previous tests in the test run
initializing this, when run alone it fails.
---
.../openstreetmap/josm/gui/preferences/plugin/PluginPreferenceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/unit/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferenceTest.java b/test/unit/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferenceTest.java
index dc2c05575..973afa7b4 100644
|
a
|
b
|
public class PluginPreferenceTest {
|
| 33 | 33 | */ |
| 34 | 34 | @Rule |
| 35 | 35 | @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") |
| 36 | | public JOSMTestRules test = new JOSMTestRules().preferences().assertionsInEDT(); |
| | 36 | public JOSMTestRules test = new JOSMTestRules().preferences().assertionsInEDT().platform(); |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * Unit test of {@link PluginPreference#PluginPreference}. |