Class ImpExModifierTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class ImpExModifierTest extends AbstractImpExTest
This test class is used for testing the different modifiers possible in header descriptors.
  • Constructor Details

    • ImpExModifierTest

      public ImpExModifierTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • testModifierAllowNull

      public void testModifierAllowNull()
      Tests the validation with and without modifier allowNull.
    • testSwitchingToLegacyHandlerForJaloOnlyFeatures

      public void testSwitchingToLegacyHandlerForJaloOnlyFeatures()
    • testSwitchingToLegacyHandlerForImpexLegacyFlagInHeader

      public void testSwitchingToLegacyHandlerForImpexLegacyFlagInHeader()
    • testImportWithNonLegacyHandlerOnly

      public void testImportWithNonLegacyHandlerOnly()
    • testImportWithLegacyHandlerOnly

      public void testImportWithLegacyHandlerOnly()
    • testSwitchingToLegacyHandlerUsedByDefaultNotNeededForImpexLegacyFlagInHeader

      public void testSwitchingToLegacyHandlerUsedByDefaultNotNeededForImpexLegacyFlagInHeader()
    • testModifierDefault

      public void testModifierDefault()
      Tests the default modifier in simple cases.
    • testModifierDefaultBehind

      public void testModifierDefaultBehind()
      Tests the default modifier behind another modifier. See CORE-3932.
    • testModifierDefaultTranslator

      public void testModifierDefaultTranslator()
      Tests the default modifier in case of translators. See CORE-3932.
    • testModifierDefaultSpecialTranslator

      public void testModifierDefaultSpecialTranslator()
      Tests the default modifier in case of special translators. See CORE-3932.
    • testModifierBatchMode

      public void testModifierBatchMode()
      Tests the modifier batch mode.
    • testModifierCacheUniqueKeys

      public void testModifierCacheUniqueKeys()
      Tests the modifier for caching unique keys and related CachingExistingItemResolver.
    • testModifierCollectionDelimiter

      public void testModifierCollectionDelimiter() throws ImpExException
      Tests import of collections using different collection delimiters with modifier collection-delimiter.
      Throws:
      ImpExException
    • testModifierDefaultCollection

      public void testModifierDefaultCollection()
      Tests if the default value for an collection attribute can be composed from default values from item path. See PLA-5.
    • testModifierForceWrite

      public void testModifierForceWrite()
      Tests the forceWrite modifier.

      Tests only insertion of non modifiable because there are no real case where there is used a non-initial not-writable attribute :

      Or you have full mutable attribute- which is not a case here;

      Or you have non writable but modified only for initial purposes attribute;

    • testModifierPathDelimiter

      public void testModifierPathDelimiter() throws Exception
      Tests modifier path-delimiter.
      Throws:
      Exception
    • testModifierPosition

      public void testModifierPosition()
      Tests the modifier pos.
    • testModifierProcessor

      public void testModifierProcessor()
      Tests the processor modifier.
    • testModifierVirtual

      public void testModifierVirtual()
      Tests the modifier virtual.
    • testModifierLanguage

      public void testModifierLanguage()
      Tests the modifier lang.