use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddCyclewayTest method testCyclewayBusLane.
public void testCyclewayBusLane() {
putBothSides(Cycleway.BUSWAY);
verify(new StringMapEntryAdd("cycleway:both", "share_busway"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddCyclewayTest method testCyclewayLane.
public void testCyclewayLane() {
putBothSides(Cycleway.LANE);
verify(new StringMapEntryAdd("cycleway:both", "lane"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddMaxSpeedTest method testNoSign.
public void testNoSign() {
bundle.putString(AddMaxSpeedForm.MAX_SPEED_IMPLICIT_ROADTYPE, "flubberway");
bundle.putString(AddMaxSpeedForm.MAX_SPEED_IMPLICIT_COUNTRY, "XX");
verify(new StringMapEntryAdd(MAXSPEED_TYPE, "XX:flubberway"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddMaxSpeedTest method testNormalSign.
public void testNormalSign() {
bundle.putString(AddMaxSpeedForm.MAX_SPEED, "123");
verify(new StringMapEntryAdd("maxspeed", "123"), new StringMapEntryAdd(MAXSPEED_TYPE, "sign"));
}
use of de.westnordost.streetcomplete.data.osm.changes.StringMapEntryAdd in project StreetComplete by westnordost.
the class AddParkingFeeTest method testNo.
public void testNo() {
bundle.putBoolean(AddParkingFeeForm.FEE, false);
verify(new StringMapEntryAdd("fee", "no"));
}
Aggregations