java.lang.Object
de.hybris.platform.acceleratorservices.dataimport.batch.converter.DefaultImpexConverterTest

@UnitTest public class DefaultImpexConverterTest extends Object
  • Constructor Details

    • DefaultImpexConverterTest

      public DefaultImpexConverterTest()
  • Method Details

    • setUp

      public void setUp()
    • testSyntax

      public void testSyntax()
    • testSyntax2

      public void testSyntax2()
    • testSyntax3

      public void testSyntax3()
    • testSyntax4

      public void testSyntax4()
    • testMandatory

      public void testMandatory()
    • testSuccess

      public void testSuccess()
    • testSuccess2

      public void testSuccess2()
    • testOptional

      public void testOptional()
    • testEmpty

      public void testEmpty()
    • testSequence

      public void testSequence()
    • shouldEscapeSemicolonInValue

      public void shouldEscapeSemicolonInValue()
    • shouldEscapeQuoteInValue

      public void shouldEscapeQuoteInValue()
    • shouldEscapeCommaInValue

      public void shouldEscapeCommaInValue()
    • shouldDoubleEscapeEscapedValues

      public void shouldDoubleEscapeEscapedValues()
    • shouldDoubleEscapePartsOfEscapedValue

      public void shouldDoubleEscapePartsOfEscapedValue()
    • shouldDoubleEscapeEnclosingDoublequotesValues

      public void shouldDoubleEscapeEnclosingDoublequotesValues()
    • shouldNotDoubleEscapeInnerQuotesInValues

      public void shouldNotDoubleEscapeInnerQuotesInValues()
    • shouldEscapeCRInValue

      public void shouldEscapeCRInValue()
    • shouldEscapeLFInValue

      public void shouldEscapeLFInValue()
    • shouldEscapeQuotesWhenWordWithQuotes

      public void shouldEscapeQuotesWhenWordWithQuotes()
    • shouldEscapeQuotesForMultiWordColumnWhenOneWordWithQuotes

      public void shouldEscapeQuotesForMultiWordColumnWhenOneWordWithQuotes()
    • shouldEscapeQuotesForMultiWordColumnWhenAllWordsWithQuotes

      public void shouldEscapeQuotesForMultiWordColumnWhenAllWordsWithQuotes()
    • shouldNotEscapeQuotesWhenNoQuotesInWord

      public void shouldNotEscapeQuotesWhenNoQuotesInWord()
    • shouldNotEscapeQuotesWhenNoQuotesInMultiWordsColumn

      public void shouldNotEscapeQuotesWhenNoQuotesInMultiWordsColumn()
    • shouldNotAddQuotesWhenNewLineInRow

      public void shouldNotAddQuotesWhenNewLineInRow()
    • rows

      protected Map<Integer,String> rows(String... values)