2016-03-12 18:51:43 +01:00
|
|
|
package net.osmand.router;
|
|
|
|
|
|
|
|
import net.osmand.data.LatLon;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by User on 07.03.2016.
|
|
|
|
*/
|
|
|
|
public class TestEntry {
|
|
|
|
|
|
|
|
private String testName;
|
|
|
|
private LatLon startPoint;
|
|
|
|
private LatLon endPoint;
|
2016-04-13 00:47:05 +02:00
|
|
|
private boolean ignore;
|
2016-03-12 18:51:43 +01:00
|
|
|
private Map<Long, String> expectedResults;
|
2016-05-30 10:25:02 +02:00
|
|
|
private Map<String, String> params;
|
2016-07-28 21:02:23 +02:00
|
|
|
private int planRoadDirection;
|
|
|
|
private boolean shortWay;
|
2016-03-12 18:51:43 +01:00
|
|
|
|
2016-07-28 21:02:23 +02:00
|
|
|
|
|
|
|
public void setShortWay(boolean shortWay) {
|
|
|
|
this.shortWay = shortWay;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isShortWay() {
|
|
|
|
return shortWay;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int getPlanRoadDirection() {
|
|
|
|
return planRoadDirection;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setPlanRoadDirection(int planRoadDirection) {
|
|
|
|
this.planRoadDirection = planRoadDirection;
|
|
|
|
}
|
|
|
|
|
2016-03-12 18:51:43 +01:00
|
|
|
public LatLon getStartPoint() {
|
|
|
|
return startPoint;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setStartPoint(LatLon startPoint) {
|
|
|
|
this.startPoint = startPoint;
|
|
|
|
}
|
2016-04-13 00:47:05 +02:00
|
|
|
|
|
|
|
public void setIgnore(boolean ignore) {
|
|
|
|
this.ignore = ignore;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isIgnore() {
|
|
|
|
return ignore;
|
|
|
|
}
|
2016-03-12 18:51:43 +01:00
|
|
|
|
|
|
|
public LatLon getEndPoint() {
|
|
|
|
return endPoint;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setEndPoint(LatLon endPoint) {
|
|
|
|
this.endPoint = endPoint;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Map<Long, String> getExpectedResults() {
|
|
|
|
return expectedResults;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setExpectedResults(Map<Long, String> expectedResults) {
|
|
|
|
this.expectedResults = expectedResults;
|
|
|
|
}
|
2016-05-30 10:25:02 +02:00
|
|
|
|
|
|
|
public void setParams(Map<String, String> params) {
|
|
|
|
this.params = params;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Map<String, String> getParams() {
|
|
|
|
return params;
|
|
|
|
}
|
2016-03-12 18:51:43 +01:00
|
|
|
|
|
|
|
public String getTestName() {
|
|
|
|
return testName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public TestEntry(String testName, LatLon startPoint, LatLon endPoint, Map<Long, String> expectedResults) {
|
|
|
|
this.testName = testName;
|
|
|
|
this.startPoint = startPoint;
|
|
|
|
this.endPoint = endPoint;
|
|
|
|
this.expectedResults = expectedResults;
|
|
|
|
}
|
|
|
|
}
|