use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddParkingFeeTest method testYesButOnlyAt.
public void testYesButOnlyAt() {
bundle.putBoolean(AddParkingFeeForm.FEE, false);
bundle.putString(AddParkingFeeForm.FEE_CONDITONAL_HOURS, "xyz");
verify(new StringMapEntryAdd("fee", "no"), new StringMapEntryAdd("fee:conditional", "yes @ (xyz)"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddRecyclingTypeTest method testRecyclingUndergroundContainer.
public void testRecyclingUndergroundContainer() {
bundle.putStringArrayList(AddRecyclingTypeForm.OSM_VALUES, getAsStringArray("underground"));
verify(new StringMapEntryAdd("recycling_type", "container"));
verify(new StringMapEntryAdd("location", "underground"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddSportTest method testAddSport.
public void testAddSport() {
bundle.putStringArrayList(AddSportForm.OSM_VALUES, getAsStringArray("soccer"));
verify(new StringMapEntryAdd("sport", "soccer"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddWheelchairBusinessTest method testBusinessYes.
public void testBusinessYes() {
bundle.putString(AddWheelchairAccessBusinessForm.ANSWER, "yes");
verify(new StringMapEntryAdd("wheelchair", "yes"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddWheelchairBusinessTest method testBusinessNo.
public void testBusinessNo() {
bundle.putString(AddWheelchairAccessBusinessForm.ANSWER, "no");
verify(new StringMapEntryAdd("wheelchair", "no"));
}
Aggregations