Package de.hybris.platform.storelocator
Class GeocodingJobTest
- java.lang.Object
-
- de.hybris.platform.storelocator.GeocodingJobTest
-
@UnitTest public class GeocodingJobTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.IntegerBATCH_SIZEprotected static java.lang.IntegerINTERNAL_DELAYstatic doubleWROCLAW_LATITUDEstatic doubleWROCLAW_LONGTITUDE
-
Constructor Summary
Constructors Constructor Description GeocodingJobTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GeocodeAddressesCronJobModelcronJob(java.lang.Integer batchSize, java.lang.Integer internalDelay)voidsetUp()voidshouldFailCronJobWhenUsingWrongCronJobType()voidshouldGeocodeAddresses()
-
-
-
Field Detail
-
BATCH_SIZE
protected static final java.lang.Integer BATCH_SIZE
-
INTERNAL_DELAY
protected static final java.lang.Integer INTERNAL_DELAY
-
WROCLAW_LATITUDE
public static final double WROCLAW_LATITUDE
- See Also:
- Constant Field Values
-
WROCLAW_LONGTITUDE
public static final double WROCLAW_LONGTITUDE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
cronJob
protected GeocodeAddressesCronJobModel cronJob(java.lang.Integer batchSize, java.lang.Integer internalDelay)
-
shouldFailCronJobWhenUsingWrongCronJobType
public void shouldFailCronJobWhenUsingWrongCronJobType() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldGeocodeAddresses
public void shouldGeocodeAddresses() throws java.lang.Exception- Throws:
java.lang.Exception
-
-