public class GMapsTravelTimeMatrixTest
extends java.lang.Object
| Constructor and Description |
|---|
GMapsTravelTimeMatrixTest() |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.Long> |
runTestCalculateTravelTimeMatrixWithinUsageLimits(GMapsTravelTimeMatrix gmapsTravelTimeMatrix,
java.lang.String mockedJsonResponseString) |
void |
testCalculateTravelTimeMatrixForWithLicence1() |
void |
testCalculateTravelTimeMatrixForWithLicence2() |
void |
testCalculateTravelTimeMatrixForWithoutLicence1() |
void |
testCalculateTravelTimeMatrixForWithoutLicence2() |
void |
testCalculateTravelTimeMatrixForWithoutServiceURL() |
void |
testCalculateTravelTimeMatrixWithinUsageLimitsError() |
void |
testCalculateTravelTimeMatrixWithinUsageLimitsSomeInvalidValues() |
void |
testCalculateTravelTimeMatrixWithinUsageLimitsSuccess() |
void |
testFixPartialTravelTimeListsOrder() |
void |
verifyCorrectnessOfRequestsToMapProvider(java.lang.String license,
java.lang.Integer numberOfOrigins,
java.lang.Integer numberOfDestinations,
java.lang.Integer numberOfExpectedRequests,
java.lang.Integer topLeftMatrixIdx,
java.lang.Integer topLeftExpectedNumberOfOrigins,
java.lang.Integer topLeftExpectedNumberOfDestinations,
java.lang.Integer topRightMatrixIdx,
java.lang.Integer topRightExpectedNumberOfOrigins,
java.lang.Integer topRightExpectedNumberOfDestinations,
java.lang.Integer bottomLeftMatrixIdx,
java.lang.Integer bottomLeftExpectedNumberOfOrigins,
java.lang.Integer bottomLeftExpectedNumberOfDestinations,
java.lang.Integer bottomRightMatrixIdx,
java.lang.Integer bottomRightExpectedNumberOfOrigins,
java.lang.Integer bottomRightExpectedNumberOfDestinations) |
public void verifyCorrectnessOfRequestsToMapProvider(java.lang.String license,
java.lang.Integer numberOfOrigins,
java.lang.Integer numberOfDestinations,
java.lang.Integer numberOfExpectedRequests,
java.lang.Integer topLeftMatrixIdx,
java.lang.Integer topLeftExpectedNumberOfOrigins,
java.lang.Integer topLeftExpectedNumberOfDestinations,
java.lang.Integer topRightMatrixIdx,
java.lang.Integer topRightExpectedNumberOfOrigins,
java.lang.Integer topRightExpectedNumberOfDestinations,
java.lang.Integer bottomLeftMatrixIdx,
java.lang.Integer bottomLeftExpectedNumberOfOrigins,
java.lang.Integer bottomLeftExpectedNumberOfDestinations,
java.lang.Integer bottomRightMatrixIdx,
java.lang.Integer bottomRightExpectedNumberOfOrigins,
java.lang.Integer bottomRightExpectedNumberOfDestinations)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testCalculateTravelTimeMatrixForWithoutServiceURL()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testCalculateTravelTimeMatrixForWithoutLicence1()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testCalculateTravelTimeMatrixForWithLicence1()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testCalculateTravelTimeMatrixForWithoutLicence2()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testCalculateTravelTimeMatrixForWithLicence2()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void testFixPartialTravelTimeListsOrder()
public void testCalculateTravelTimeMatrixWithinUsageLimitsSuccess()
throws MXException,
java.io.IOException
MXExceptionjava.io.IOExceptionpublic void testCalculateTravelTimeMatrixWithinUsageLimitsSomeInvalidValues()
throws MXException,
java.io.IOException
MXExceptionjava.io.IOExceptionpublic void testCalculateTravelTimeMatrixWithinUsageLimitsError()
throws MXException,
java.io.IOException
MXExceptionjava.io.IOExceptionpublic java.util.ArrayList<java.lang.Long> runTestCalculateTravelTimeMatrixWithinUsageLimits(GMapsTravelTimeMatrix gmapsTravelTimeMatrix, java.lang.String mockedJsonResponseString) throws MXException, java.io.IOException
MXExceptionjava.io.IOException