Changeset 10979 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2016-09-09T01:41:16+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui/preferences/server
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferenceTest.java
r10378 r10979 4 4 import static org.junit.Assert.assertNotNull; 5 5 6 import org.junit. BeforeClass;6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.JOSMFixture;9 8 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 12 11 13 /** … … 15 17 16 18 /** 17 * Setup test .19 * Setup tests 18 20 */ 19 @BeforeClass 20 public static void setUpBeforeClass() { 21 JOSMFixture.createUnitTestFixture().init(); 22 } 21 @Rule 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules test = new JOSMTestRules().preferences().platform(); 23 24 24 25 /** -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/server/OverpassServerPreferenceTest.java
r10378 r10979 4 4 import static org.junit.Assert.assertNotNull; 5 5 6 import org.junit. BeforeClass;6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.JOSMFixture;9 8 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 12 11 13 /** … … 15 17 16 18 /** 17 * Setup test .19 * Setup tests 18 20 */ 19 @BeforeClass 20 public static void setUpBeforeClass() { 21 JOSMFixture.createUnitTestFixture().init(); 22 } 21 @Rule 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules test = new JOSMTestRules().preferences().platform(); 23 24 24 25 /** -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/server/ProxyPreferenceTest.java
r10378 r10979 4 4 import static org.junit.Assert.assertNotNull; 5 5 6 import org.junit. BeforeClass;6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.JOSMFixture;9 8 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 12 11 13 /** … … 15 17 16 18 /** 17 * Setup test .19 * Setup tests 18 20 */ 19 @BeforeClass 20 public static void setUpBeforeClass() { 21 JOSMFixture.createUnitTestFixture().init(); 22 } 21 @Rule 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules test = new JOSMTestRules().preferences().platform(); 23 24 24 25 /** -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/server/ServerAccessPreferenceTest.java
r10378 r10979 4 4 import static org.junit.Assert.assertNotNull; 5 5 6 import org.junit. BeforeClass;6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.JOSMFixture;9 8 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 12 11 13 /** … … 15 17 16 18 /** 17 * Setup test .19 * Setup tests 18 20 */ 19 @BeforeClass 20 public static void setUpBeforeClass() { 21 JOSMFixture.createUnitTestFixture().init(); 22 } 21 @Rule 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules test = new JOSMTestRules().preferences().platform(); 23 24 24 25 /**
Note:
See TracChangeset
for help on using the changeset viewer.