|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectps6.test.TestRecord
public final class TestRecord
A test record is a fairly simple record type to hold a query and its expected results
| Nested Class Summary | |
|---|---|
static class |
TestRecord.TestType
|
| Field Summary | |
|---|---|
String[] |
directions
sequence of directions lines expected from getDirections, or null if we expect not to find any directions. |
Address |
end
destination of the query |
String |
errorMessage
The error message. |
double |
length
expected result of getLength(), or NaN if we expect not to find and directions |
Address |
start
start of the query |
String |
tripLength
The trip length or trip time that appear at the end of the directions. |
TestRecord.TestType |
type
the type of this test |
| Constructor Summary | |
|---|---|
TestRecord(TestRecord.TestType type,
Address start,
Address end,
String[] directions,
String tripLength,
double length,
String errorMessage)
|
|
| Method Summary | |
|---|---|
String |
getDirectionType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Address start
public final Address end
public TestRecord.TestType type
public final String[] directions
public final String tripLength
public final double length
public final String errorMessage
| Constructor Detail |
|---|
public TestRecord(TestRecord.TestType type,
Address start,
Address end,
String[] directions,
String tripLength,
double length,
String errorMessage)
| Method Detail |
|---|
public String getDirectionType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||