@UnitTest public class GeocodingJobTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.Integer |
BATCH_SIZE |
protected static java.lang.Integer |
INTERNAL_DELAY |
static double |
WROCLAW_LATITUDE |
static double |
WROCLAW_LONGTITUDE |
| Constructor and Description |
|---|
GeocodingJobTest() |
| Modifier and Type | Method and Description |
|---|---|
protected GeocodeAddressesCronJobModel |
cronJob(java.lang.Integer batchSize,
java.lang.Integer internalDelay) |
void |
setUp() |
void |
shouldFailCronJobWhenUsingWrongCronJobType() |
void |
shouldGeocodeAddresses() |
protected static final java.lang.Integer BATCH_SIZE
protected static final java.lang.Integer INTERNAL_DELAY
public static final double WROCLAW_LATITUDE
public static final double WROCLAW_LONGTITUDE
public void setUp()
throws java.lang.Exception
java.lang.Exceptionprotected GeocodeAddressesCronJobModel cronJob(java.lang.Integer batchSize, java.lang.Integer internalDelay)
public void shouldFailCronJobWhenUsingWrongCronJobType()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldGeocodeAddresses()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.