use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddWheelchairPublicTransportTest method testPublicTransportNo.
public void testPublicTransportNo() {
bundle.putString(AddWheelchairAccessPublicTransportForm.ANSWER, "no");
verify(new StringMapEntryAdd("wheelchair", "no"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddHousenumberTest method testConscriptionNumberAndStreetNumber.
public void testConscriptionNumberAndStreetNumber() {
bundle.putString(AddHousenumberForm.CONSCRIPTIONNUMBER, "I.123");
bundle.putString(AddHousenumberForm.STREETNUMBER, "12b");
verify(new StringMapEntryAdd("addr:conscriptionnumber", "I.123"), new StringMapEntryAdd("addr:streetnumber", "12b"), new StringMapEntryAdd("addr:housenumber", "12b"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddHousenumberTest method testNumber.
public void testNumber() {
bundle.putString(AddHousenumberForm.HOUSENUMBER, "99b");
verify(new StringMapEntryAdd("addr:housenumber", "99b"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddOpeningHoursTest method testOpeningHours.
public void testOpeningHours() {
bundle.putString(AddOpeningHoursForm.OPENING_HOURS, "my cool opening hours");
verify(new StringMapEntryAdd("opening_hours", "my cool opening hours"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddRoadNameTest method testMultipleNames.
public void testMultipleNames() {
bundle.putStringArray(AddRoadNameForm.NAMES, new String[] { "my name", "kröötz" });
bundle.putStringArray(AddRoadNameForm.LANGUAGE_CODES, new String[] { "en", "de" });
verify(new StringMapEntryAdd("name", "my name"), new StringMapEntryAdd("name:en", "my name"), new StringMapEntryAdd("name:de", "kröötz"));
}
Aggregations