Package de.hybris.platform.impex.jalo
Class ImpExImportPerformanceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.impex.jalo.AbstractImpExTest
de.hybris.platform.impex.jalo.ImpExImportPerformanceTest
- All Implemented Interfaces:
JaloSessionHolder
Performs an import test which checks the performance of the import process compared to programmatically import.
-
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 TypeMethodDescriptionprotected longcreateItemsJalo(int count, int offset) Creates unit items programmatically.protected longimportItems(int count, int offset) Creates unit items using impex import.voidtestPerf()Performance test which createsCOUNTitems programmatically, per import and per import.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
-
ImpExImportPerformanceTest
public ImpExImportPerformanceTest()
-
-
Method Details
-
testPerf
public void testPerf()Performance test which createsCOUNTitems programmatically, per import and per import. -
createItemsJalo
protected long createItemsJalo(int count, int offset) Creates unit items programmatically.- Parameters:
count- amount of items to createoffset- number offset for naming the items- Returns:
- creation time for all items
-
importItems
protected long importItems(int count, int offset) Creates unit items using impex import.- Parameters:
count- amount of items to createoffset- number offset for naming the items- Returns:
- time for all items
-