source: josm/trunk/test/unit/org/openstreetmap/josm/gui/io/UploadPrimitivesTaskTest.java@ 15010

Last change on this file since 15010 was 12687, checked in by Don-vip, 7 years ago

see #15182 - move UploadStrategySpecification and required enums from gui.io to io

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.io;
3
4import static org.junit.Assert.assertNotNull;
5
6import org.junit.Rule;
7import org.junit.Test;
8import org.openstreetmap.josm.data.osm.Changeset;
9import org.openstreetmap.josm.data.osm.DataSet;
10import org.openstreetmap.josm.gui.layer.OsmDataLayer;
11import org.openstreetmap.josm.io.UploadStrategySpecification;
12import org.openstreetmap.josm.testutils.JOSMTestRules;
13
14import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
15
16/**
17 * Unit tests of {@link UploadPrimitivesTask} class.
18 */
19public class UploadPrimitivesTaskTest {
20
21 /**
22 * Setup tests
23 */
24 @Rule
25 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
26 public JOSMTestRules test = new JOSMTestRules();
27
28 /**
29 * Test of {@link UploadPrimitivesTask#UploadPrimitivesTask}.
30 */
31 @Test
32 public void testUploadPrimitivesTask() {
33 assertNotNull(new UploadPrimitivesTask(
34 new UploadStrategySpecification(),
35 new OsmDataLayer(new DataSet(), null, null),
36 null,
37 new Changeset()));
38 }
39}
Note: See TracBrowser for help on using the repository browser.