Package de.hybris.platform.storelocator
Class CoordinatesTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
de.hybris.platform.storelocator.CoordinatesTest
- All Implemented Interfaces:
JaloSessionHolder
JUnit Tests for the Geolocation extension
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidtearDown()voidThe following example tests proper validation of DMS format patternsvoidvoidThe following example tests if the toDMSString method works as expectedvoidThe following example tests if the toString method works as expectedvoidThe following example tests instantiation of GPS when improper values of decimal coordinates are given as parameters.voidthe following example tests the proper instantiation of GPS location when improper DMS format is given as a String argumentvoidthe following example tests the proper instantiation of GPS location when improper DMS values are givenvoidThe following example tests the proper instantiation of GPS location when valid DMS coordinates are givenvoidThe following example tests the proper instantiation of GPS when the decimal coordinates are given from within the limitsvoidThe following example shows the mutual ralations between two GPS locations created with different 'create' method callsMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
CoordinatesTest
public CoordinatesTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testGeoLocatorException
public void testGeoLocatorException() -
testInstantiationGPSParametersWithinLimits
public void testInstantiationGPSParametersWithinLimits()The following example tests the proper instantiation of GPS when the decimal coordinates are given from within the limits -
testInstantiationGPSParametersBeyondLimits
public void testInstantiationGPSParametersBeyondLimits()The following example tests instantiation of GPS when improper values of decimal coordinates are given as parameters. -
testInstantiationGPSParametersValidDMS
public void testInstantiationGPSParametersValidDMS()The following example tests the proper instantiation of GPS location when valid DMS coordinates are given -
testInstantiationGPSParametersInvalidDMSSyntax
public void testInstantiationGPSParametersInvalidDMSSyntax()the following example tests the proper instantiation of GPS location when improper DMS format is given as a String argument -
testInstantiationGPSParametersInvalidDMSValues
public void testInstantiationGPSParametersInvalidDMSValues()the following example tests the proper instantiation of GPS location when improper DMS values are given -
testDMSPatterns
public void testDMSPatterns()The following example tests proper validation of DMS format patterns -
testOneGPSInstantiatedFromAnothersToDMSString
public void testOneGPSInstantiatedFromAnothersToDMSString()The following example shows the mutual ralations between two GPS locations created with different 'create' method calls -
testGPSToString
public void testGPSToString()The following example tests if the toString method works as expected -
testGPSToDMSString
public void testGPSToDMSString()The following example tests if the toDMSString method works as expected
-