Search in sources :

Example 1 with StringMapEntryAdd

use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.

the class AddRecyclingTypeTest method testRecyclingCentre.

public void testRecyclingCentre() {
    bundle.putStringArrayList(AddRecyclingTypeForm.OSM_VALUES, getAsStringArray("centre"));
    verify(new StringMapEntryAdd("recycling_type", "centre"));
}
Also used : StringMapEntryAdd(de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)

Example 2 with StringMapEntryAdd

use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.

the class AddRecyclingTypeTest method testRecyclingOvergroundContainer.

public void testRecyclingOvergroundContainer() {
    bundle.putStringArrayList(AddRecyclingTypeForm.OSM_VALUES, getAsStringArray("overground"));
    verify(new StringMapEntryAdd("recycling_type", "container"));
}
Also used : StringMapEntryAdd(de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)

Example 3 with StringMapEntryAdd

use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.

the class AddRoadSurfaceTest method testSurface.

public void testSurface() {
    bundle.putString(AddRoadSurfaceForm.SURFACE, "cobblestone");
    verify(new StringMapEntryAdd("surface", "cobblestone"));
}
Also used : StringMapEntryAdd(de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)

Example 4 with StringMapEntryAdd

use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.

the class AddWheelchairBusinessTest method testBusinessLimited.

public void testBusinessLimited() {
    bundle.putString(AddWheelchairAccessBusinessForm.ANSWER, "limited");
    verify(new StringMapEntryAdd("wheelchair", "limited"));
}
Also used : StringMapEntryAdd(de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)

Example 5 with StringMapEntryAdd

use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.

the class AddWheelchairPublicTransportTest method testPublicTransportYes.

public void testPublicTransportYes() {
    bundle.putString(AddWheelchairAccessPublicTransportForm.ANSWER, "yes");
    verify(new StringMapEntryAdd("wheelchair", "yes"));
}
Also used : StringMapEntryAdd(de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)

Aggregations

StringMapEntryAdd (de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd)51 StringMapChanges (de.westnordost.streetcomplete.data.osm.changes.StringMapChanges)2 StringMapEntryChange (de.westnordost.streetcomplete.data.osm.changes.StringMapEntryChange)2 ArrayList (java.util.ArrayList)2 OsmQuest (de.westnordost.streetcomplete.data.osm.OsmQuest)1 StringMapEntryDelete (de.westnordost.streetcomplete.data.osm.changes.StringMapEntryDelete)1 StringMapEntryModify (de.westnordost.streetcomplete.data.osm.changes.StringMapEntryModify)1