kopia lustrzana https://github.com/JOSM/MapWithAI
Tests: Move annotations to separate package
Signed-off-by: Taylor Smock <tsmock@fb.com>pull/1/head
rodzic
a0ed7272aa
commit
cd95357e43
|
@ -17,7 +17,7 @@ import org.openstreetmap.josm.data.osm.DataSet;
|
|||
import org.openstreetmap.josm.data.osm.Node;
|
||||
import org.openstreetmap.josm.data.osm.OsmPrimitive;
|
||||
import org.openstreetmap.josm.data.osm.Way;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.Command;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command;
|
||||
import org.openstreetmap.josm.testutils.JOSMTestRules;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
|
|
@ -34,7 +34,7 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
|||
*
|
||||
* @author Taylor Smock
|
||||
*/
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.Command
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command
|
||||
class CreateConnectionsCommandTest {
|
||||
@RegisterExtension
|
||||
@SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
||||
|
|
|
@ -36,8 +36,8 @@ import org.openstreetmap.josm.data.validation.tests.SharpAngles;
|
|||
import org.openstreetmap.josm.gui.MainApplication;
|
||||
import org.openstreetmap.josm.gui.layer.OsmDataLayer;
|
||||
import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.BleedTest;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.Command;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.BleedTest;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.MapWithAITestRules;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.MissingConnectionTagsMocker;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.PleaseWaitDialogMocker;
|
||||
|
|
|
@ -37,7 +37,7 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
|||
/**
|
||||
* @author Taylor Smock
|
||||
*/
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.Command
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command
|
||||
class MergeDuplicateWaysTest {
|
||||
@RegisterExtension
|
||||
@SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.openstreetmap.josm.data.osm.DataSet;
|
|||
import org.openstreetmap.josm.data.osm.Node;
|
||||
import org.openstreetmap.josm.data.osm.OsmPrimitive;
|
||||
import org.openstreetmap.josm.data.osm.Way;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.Command;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command;
|
||||
import org.openstreetmap.josm.testutils.JOSMTestRules;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.openstreetmap.josm.plugins.mapwithai.commands.AlreadyConflatedCommand
|
|||
import org.openstreetmap.josm.plugins.mapwithai.data.mapwithai.PreConflatedDataUtils;
|
||||
import org.openstreetmap.josm.testutils.JOSMTestRules;
|
||||
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.Command
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command
|
||||
class AlreadyConflatedCommandTest {
|
||||
@RegisterExtension
|
||||
JOSMTestRules rule = new JOSMTestRules().projection();
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.openstreetmap.josm.testutils.JOSMTestRules;
|
|||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
|
||||
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.Command
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command
|
||||
@BasicPreferences
|
||||
class MergeAddressBuildingsTest {
|
||||
@RegisterExtension
|
||||
|
|
|
@ -26,13 +26,13 @@ import org.openstreetmap.josm.gui.MainApplication;
|
|||
import org.openstreetmap.josm.gui.layer.OsmDataLayer;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.commands.cleanup.MissingConnectionTags;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.MissingConnectionTagsMocker;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.WoundedTest;
|
||||
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.WoundedTest;
|
||||
import org.openstreetmap.josm.testutils.JOSMTestRules;
|
||||
import org.openstreetmap.josm.testutils.mockers.WindowMocker;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.Command
|
||||
@org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.Command
|
||||
class MissingConnectionTagsTest {
|
||||
@RegisterExtension
|
||||
@SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// License: GPL. For details, see LICENSE file.
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils;
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
|
@ -1,5 +1,5 @@
|
|||
// License: GPL. For details, see LICENSE file.
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils;
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
|
@ -1,5 +1,5 @@
|
|||
// License: GPL. For details, see LICENSE file.
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils;
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
|
@ -1,5 +1,5 @@
|
|||
// License: GPL. For details, see LICENSE file.
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils;
|
||||
package org.openstreetmap.josm.plugins.mapwithai.testutils.annotations;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
Ładowanie…
Reference in New Issue