Class ImpExTest

    • Field Detail

      • nextLine

        public static java.util.List<java.lang.String> nextLine
    • Constructor Detail

      • ImpExTest

        public ImpExTest()
    • Method Detail

      • testSiblingAttributes

        public void testSiblingAttributes()
        Tests different kinds of equal attribute name in header.
      • getOtherRequiredAttributes

        protected java.lang.String getOtherRequiredAttributes​(ComposedType composedType,
                                                              java.util.List alreadyGot)
        Gets semicolon separated string with all attributes of given type not listed in alreadyGot.
        Parameters:
        composedType - type for which all attributes are needed
        alreadyGot - list of attributes which have to be excluded
        Returns:
        semicolon separated string of attributes
      • testHeaderErrors

        public void testHeaderErrors()
        Tests the header validation with different errors.
      • testHeaderDetection

        public void testHeaderDetection()
        Checks if header lines are detected correct. See PLA-5115.
      • testHeaderParsing

        public void testHeaderParsing()
        Tests the correct parsing of headers using ImpExReader.
      • testAbstractInsertUpdate

        public void testAbstractInsertUpdate()
        Tests if inserts and updates of abstract types are handled correct.
        See PLA-5106.
      • testSubtypeReferenceExpression

        public void testSubtypeReferenceExpression()
        Tests the usage of subtype references in header descriptor.
      • testBeanShellAfterEach

        public void testBeanShellAfterEach()
        Tests the afterEach bean shell marker.
      • testBeanShell

        public void testBeanShell()
        Tests the usage of bean shell.
      • testBeanShellIf

        public void testBeanShellIf()
        Tests the bean shell if condition.
      • testBeanShellIncludeExternaDataChained

        public void testBeanShellIncludeExternaDataChained()
        Tests the includeExternalData statement of bean shell.
      • testIncludeCSVFromProperties

        public void testIncludeCSVFromProperties()
      • testReaderManager

        public void testReaderManager()
        Test the ReaderManager class.
      • testBeanShellIncludeExternaData

        public void testBeanShellIncludeExternaData()
        Tests the including of external data in chained case.
      • testLocalizedAttributePartialChange

        public void testLocalizedAttributePartialChange()
        Tests the partial update of localized attributes, means the update of only some localizations.
      • testBeanShellExternalSyntaxParsing

        public void testBeanShellExternalSyntaxParsing()
        Tests external syntax parsing.
      • testDefinitions

        public void testDefinitions()
        Tests the usage of definitions.
      • testIllegalAttributeType

        public void testIllegalAttributeType()
        Tests for correct errors if using illegal attribute types in header descriptor.
      • checkColumnDescriptor

        protected void checkColumnDescriptor​(StandardColumnDescriptor columnDescriptor,
                                             HeaderDescriptor header,
                                             java.lang.String qualifier,
                                             int position,
                                             AttributeDescriptor attributeDescriptor,
                                             boolean localized,
                                             boolean initial,
                                             boolean readonly,
                                             boolean partof,
                                             boolean mandatory,
                                             boolean unique,
                                             java.lang.String languageIso,
                                             java.util.Map modifiers)
        Checks if given column descriptor has all given attributes.
        Parameters:
        columnDescriptor - column descriptor which will be checked
        header - expected header
        qualifier - expected qualifier
        position - expected position
        attributeDescriptor - expected attribute descriptor
        localized - expected localized flag
        initial - expected initial flag
        readonly - expected readonly flag
        partof - expected partof flag
        mandatory - expected mandatory flag
        unique - expected unique flag
        languageIso - expected languageIso
        modifiers - expected modifiers
      • testReferenceByRelation

        public void testReferenceByRelation()
        Tests usage of relation as reference type in header descriptor.
      • removeQuietly

        protected void removeQuietly​(Item... items)
      • testBeanShellInsertLine

        public void testBeanShellInsertLine()
        Tests bean shell method insetLine.
      • testBeanShellDiscardAndDumpLine

        public void testBeanShellDiscardAndDumpLine()
        Tests the methods discardLine and dumpLine for bean shell usage.
      • testBeforeEach

        public void testBeforeEach()
                            throws java.io.IOException
        Tests the methods discardLine and dumpLine for bean shell usage.
        Throws:
        java.io.IOException
      • testBeforeEachMultiThread

        public void testBeforeEachMultiThread()
                                       throws java.io.IOException
        Throws:
        java.io.IOException