use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddWheelchairPublicTransportTest method testPublicTransportLimited.
public void testPublicTransportLimited() {
bundle.putString(AddWheelchairAccessPublicTransportForm.ANSWER, "limited");
verify(new StringMapEntryAdd("wheelchair", "limited"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddHousenumberTest method testConscriptionNumber.
public void testConscriptionNumber() {
bundle.putString(AddHousenumberForm.CONSCRIPTIONNUMBER, "I.123");
verify(new StringMapEntryAdd("addr:conscriptionnumber", "I.123"), new StringMapEntryAdd("addr:housenumber", "I.123"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddHousenumberTest method testName.
public void testName() {
bundle.putString(AddHousenumberForm.HOUSENAME, "La Escalera");
verify(new StringMapEntryAdd("addr:housename", "La Escalera"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddRoadNameTest method testMultipleNamesDefaultNameIsOfNoSpecificLanguage.
public void testMultipleNamesDefaultNameIsOfNoSpecificLanguage() {
bundle.putStringArray(AddRoadNameForm.NAMES, new String[] { "my name / kröötz", "my name", "kröötz" });
bundle.putStringArray(AddRoadNameForm.LANGUAGE_CODES, new String[] { "", "en", "de" });
verify(new StringMapEntryAdd("name", "my name / kröötz"), new StringMapEntryAdd("name:en", "my name"), new StringMapEntryAdd("name:de", "kröötz"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddRoadNameTest method testNoName.
public void testNoName() {
bundle.putBoolean(AddRoadNameForm.NO_NAME, true);
verify(new StringMapEntryAdd("noname", "yes"));
}
Aggregations