Class AspectAttributeTestTextService

java.lang.Object
mc.core.system.base.BaseBean
mc.core.system.base.BaseBeanTx
mc.core.system.test.TestBase
mc.core.domain.base.aspect.AspectAttributeTestTextService

public class AspectAttributeTestTextService extends mc.core.system.test.TestBase
PORTABLE TEST, similar to AspectAttributeTest but only tests text set related data values in shared mode of text pool!

onBeforeTest() creates in config:

  • nodeHrc with one nodeType and internalDesc "NT_TEST"
  • type attribute with single value, single locale text. internalDesc "ATT_SV_SL"
  • type attribute with single value, multi locale text. internalDesc "ATT_SV_ML"
  • type attribute with multi value, multi locale text. internalDesc "ATT_MV_ML"
  • type attribute with multi value, multi locale text, multi territory. internalDesc "ATT_TERR_ML"
  • type attribute with single value, single locale text, multi territory. internalDesc "ATT_TERR_SL"
  • enum type attribute with single locale independent value and 3 values ("KEY1" to "KEY3"). internalDesc "ATT_SV_ENUM"
  • enum type attribute with single locale dependent value and 3 values ("KEY1 (Wert 1/value 1)" to "KEY3 (Wert 3/value 3)"). internalDesc "ATT_SV_ML_ENUM"
  • enum type attribute, multivalue, locale independent with 4 values ("KEY1 (Wert 1/value 1)" to "KEY4 (Wert 4/value 4)"). internalDesc "ATT_MV_ENUM"
  • object attribute with single value, multi locale text. internalDesc "OBJ_ATT_SV_ML"
the type attributes and the attribute type for the object attribute must be configured for the node type. The DataType for ATT_MV_NUM must allow units and the ATT_MV_NUM must have kg and m as allowed units.
  • Constructor Details

    • AspectAttributeTestTextService

      public AspectAttributeTestTextService()
  • Method Details

    • testAddUpdateTranslations

      public void testAddUpdateTranslations() throws Exception
      Throws:
      Exception
    • testChangeTextSetForEntity

      public void testChangeTextSetForEntity() throws Exception
      Throws:
      Exception