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.RemoteException
MXException
public void testCalculateTravelTimeMatrixForWithoutServiceURL() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testCalculateTravelTimeMatrixForWithoutLicence1() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testCalculateTravelTimeMatrixForWithLicence1() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testCalculateTravelTimeMatrixForWithoutLicence2() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testCalculateTravelTimeMatrixForWithLicence2() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void testFixPartialTravelTimeListsOrder()
public void testCalculateTravelTimeMatrixWithinUsageLimitsSuccess() throws MXException, java.io.IOException
MXException
java.io.IOException
public void testCalculateTravelTimeMatrixWithinUsageLimitsSomeInvalidValues() throws MXException, java.io.IOException
MXException
java.io.IOException
public void testCalculateTravelTimeMatrixWithinUsageLimitsError() throws MXException, java.io.IOException
MXException
java.io.IOException
public java.util.ArrayList<java.lang.Long> runTestCalculateTravelTimeMatrixWithinUsageLimits(GMapsTravelTimeMatrix gmapsTravelTimeMatrix, java.lang.String mockedJsonResponseString) throws MXException, java.io.IOException
MXException
java.io.IOException