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
public class CoordinatesTest extends HybrisJUnit4TransactionalTest
JUnit Tests for the Geolocation extension
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CoordinatesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestDMSPatterns()The following example tests proper validation of DMS format patternsvoidtestGeoLocatorException()voidtestGPSToDMSString()The following example tests if the toDMSString method works as expectedvoidtestGPSToString()The following example tests if the toString method works as expectedvoidtestInstantiationGPSParametersBeyondLimits()The following example tests instantiation of GPS when improper values of decimal coordinates are given as parameters.voidtestInstantiationGPSParametersInvalidDMSSyntax()the following example tests the proper instantiation of GPS location when improper DMS format is given as a String argumentvoidtestInstantiationGPSParametersInvalidDMSValues()the following example tests the proper instantiation of GPS location when improper DMS values are givenvoidtestInstantiationGPSParametersValidDMS()The following example tests the proper instantiation of GPS location when valid DMS coordinates are givenvoidtestInstantiationGPSParametersWithinLimits()The following example tests the proper instantiation of GPS when the decimal coordinates are given from within the limitsvoidtestOneGPSInstantiatedFromAnothersToDMSString()The following example shows the mutual ralations between two GPS locations created with different 'create' method calls-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
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
-
-