Class CronJobTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.cronjob.jalo.CronJobTest
All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class CronJobTest extends HybrisJUnit4Test
Test for extension Cronjob
  • Constructor Details

    • CronJobTest

      public CronJobTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown()
    • testCronjob

      public void testCronjob()
    • testResetRunningCronJobs

      public void testResetRunningCronJobs() throws Exception
      Throws:
      Exception
    • testResetRunningCronJobAndItsHistory

      public void testResetRunningCronJobAndItsHistory() throws Exception
      Throws:
      Exception
    • testResetAllCronJobHistoryEntries

      public void testResetAllCronJobHistoryEntries() throws Exception
      Throws:
      Exception
    • testResetAllCronJobHistoryEntriesWithDefaultFlagValue

      public void testResetAllCronJobHistoryEntriesWithDefaultFlagValue() throws Exception
      Throws:
      Exception
    • testResetAllCronJobHistoryEntriesWhenNoHistoryEntries

      public void testResetAllCronJobHistoryEntriesWhenNoHistoryEntries() throws Exception
      Throws:
      Exception
    • testTrigger

      public void testTrigger() throws Exception
      Throws:
      Exception
    • testEmailNotification

      public void testEmailNotification() throws Exception
      Throws:
      Exception
    • testSetSteps

      public void testSetSteps()
    • testJobRestrictions

      public void testJobRestrictions() throws Exception
      Throws:
      Exception
    • testTriggerCreationForTriggerableJobs

      public void testTriggerCreationForTriggerableJobs() throws Exception
      Throws:
      Exception
    • testCompositeCronJob

      public void testCompositeCronJob() throws Exception
      Throws:
      Exception
    • testLogCronJob

      public void testLogCronJob() throws Exception
      Throws:
      Exception
    • testNestedExecution

      public void testNestedExecution() throws Exception
      Throws:
      Exception
    • testSessionContextAttributeFiltering

      public void testSessionContextAttributeFiltering() throws JaloInvalidParameterException, JaloSecurityException, JaloBusinessException
      Throws:
      JaloInvalidParameterException
      JaloSecurityException
      JaloBusinessException
    • shouldFilterRedundantSessionCtxAttributesIfImportModeIsTrue

      public void shouldFilterRedundantSessionCtxAttributesIfImportModeIsTrue()
    • shouldNotFilterSessionCtxAttributesIfImportModeIsFalse

      public void shouldNotFilterSessionCtxAttributesIfImportModeIsFalse()
    • shouldNotFilterSessionCtxAttributesIfThereIsNoImportModeAttribute

      public void shouldNotFilterSessionCtxAttributesIfThereIsNoImportModeAttribute()
    • shouldNotFilterSessionCtxAttributesIfPropertyIsEmpty

      public void shouldNotFilterSessionCtxAttributesIfPropertyIsEmpty()
    • shouldCreateCronJobInImportModeWithoutRedundantSessionCtxAttributes

      public void shouldCreateCronJobInImportModeWithoutRedundantSessionCtxAttributes()
    • shouldFilterRedundantSessionContextValuesAndNotAddThemToSessionContext

      public void shouldFilterRedundantSessionContextValuesAndNotAddThemToSessionContext()
    • shouldNotFilterSessionContextValuesIfHaveNotBeenAddedDuringImport

      public void shouldNotFilterSessionContextValuesIfHaveNotBeenAddedDuringImport()