Class CronJobServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
-
- de.hybris.platform.servicelayer.cronjob.CronJobServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CronJobServiceTest extends ServicelayerTransactionalBaseTest
More integration tests are inCronJobServiceDemoTest
.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CronJobServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCreate()
void
testCronJobCodes()
void
testGetLogTextForOneEntry()
void
testGetNotExistingCronJob()
void
testGetNotExistingJob()
void
testInit()
void
testInvalidCustomCronJobFactory()
void
testNonexistentCustomCronJobFactory()
void
testServicelayerJobWithEmptyBean()
void
testServicelayerJobWithNonExistingBean()
void
testServicelayerJobWithNullBean()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testCreate
public void testCreate()
-
testInit
public void testInit() throws InterceptorException
- Throws:
InterceptorException
-
testGetLogTextForOneEntry
public void testGetLogTextForOneEntry()
-
testCronJobCodes
public void testCronJobCodes()
-
testInvalidCustomCronJobFactory
public void testInvalidCustomCronJobFactory()
-
testNonexistentCustomCronJobFactory
public void testNonexistentCustomCronJobFactory()
-
testGetNotExistingJob
public void testGetNotExistingJob() throws BusinessException
- Throws:
BusinessException
-
testGetNotExistingCronJob
public void testGetNotExistingCronJob() throws BusinessException
- Throws:
BusinessException
-
testServicelayerJobWithNonExistingBean
public void testServicelayerJobWithNonExistingBean()
-
testServicelayerJobWithEmptyBean
public void testServicelayerJobWithEmptyBean()
-
testServicelayerJobWithNullBean
public void testServicelayerJobWithNullBean()
-
-