Package de.hybris.platform.impex.jalo
Class ImpExTranslatorTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.impex.jalo.AbstractImpExTest
de.hybris.platform.impex.jalo.ImpExTranslatorTest
- All Implemented Interfaces:
JaloSessionHolder
This test class is used for testing the different translators provided by ImpEx.
-
Field Summary
Fields inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
english, german, utf8, windows1252Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidtearDown()voidTestexportValuemethod ofAtomicValueTranslator.voidTestimportValuemethod ofAtomicValueTranslator.voidTestexportValuemethod ofCollectionValueTranslator.voidTestimportValuemethod ofCollectionValueTranslator.voidvoidTestexportValuemethod ofItemExpressionTranslator.voidTestimportValuemethod ofItemExpressionTranslator.voidTestimportValuemethod ofItemExpressionTranslatorwith nested pk translation PLA-6104.voidTestexportValuemethod ofItemPKTranslator.voidTestimportValuemethod ofItemPKTranslator.voidTestexportValuemethod ofMapValueTranslator.voidTestimportValuemethod ofMapValueTranslator.voidTestexportValuemethod ofItemExpressionTranslatorwith nested dateformat stuff.voidTestimportValuemethod ofItemExpressionTranslatorwith nested dateformat stuff.voidTests an export using theUserPasswordTranslator.voidTests an import using theUserPasswordTranslator.voidTestperformExportmethod ofVelocityTranslator.Methods inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
initJaloItems, setLegacyModeMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ImpExTranslatorTest
public ImpExTranslatorTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testAtomicValueTranslatorImport
public void testAtomicValueTranslatorImport()TestimportValuemethod ofAtomicValueTranslator. -
testAtomicValueTranslatorExport
public void testAtomicValueTranslatorExport()TestexportValuemethod ofAtomicValueTranslator. -
testCollectionValueTranslatorImport
public void testCollectionValueTranslatorImport()TestimportValuemethod ofCollectionValueTranslator. -
testCollectionValueTranslatorExport
public void testCollectionValueTranslatorExport()TestexportValuemethod ofCollectionValueTranslator. -
testItemPKTranslatorImport
public void testItemPKTranslatorImport()TestimportValuemethod ofItemPKTranslator. -
testItemPkTranslatorExport
public void testItemPkTranslatorExport()TestexportValuemethod ofItemPKTranslator. -
testVelocityTranslatorExport
public void testVelocityTranslatorExport()TestperformExportmethod ofVelocityTranslator. -
shouldNotAllowJavaReflectionAPICalls
- Throws:
ImpExException
-
testItemExpressionTranslatorImport
public void testItemExpressionTranslatorImport()TestimportValuemethod ofItemExpressionTranslator. -
testItemExpressionTranslatorExport
public void testItemExpressionTranslatorExport()TestexportValuemethod ofItemExpressionTranslator. -
testConvertPlaintextToEncodedUserPasswordTranslator
public void testConvertPlaintextToEncodedUserPasswordTranslator() -
testUserPasswordTranslatorImport
public void testUserPasswordTranslatorImport()Tests an import using theUserPasswordTranslator. -
testUserPasswordTranslatorExport
public void testUserPasswordTranslatorExport()Tests an export using theUserPasswordTranslator. Creates two sample customers, exports them and compares the resulting text with the created customers. -
testMapValueTranslatorImport
TestimportValuemethod ofMapValueTranslator. -
testMapValueTranslatorExport
public void testMapValueTranslatorExport()TestexportValuemethod ofMapValueTranslator. -
testNestedDateFormatImport
public void testNestedDateFormatImport()TestimportValuemethod ofItemExpressionTranslatorwith nested dateformat stuff. -
testNestedDateFormatExport
public void testNestedDateFormatExport()TestexportValuemethod ofItemExpressionTranslatorwith nested dateformat stuff. -
testItemPKItemExpressionTranslatorImport
public void testItemPKItemExpressionTranslatorImport()TestimportValuemethod ofItemExpressionTranslatorwith nested pk translation PLA-6104.
-