Package de.hybris.platform.catalog.jalo
Class CatalogTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
de.hybris.platform.catalog.jalo.CatalogTest
- All Implemented Interfaces:
JaloSessionHolder
Test for extension Catalog
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckCatalogVersion(CatalogVersion catalogVersion, String versionStr) protected voidprotected MediacreateMedia(String id, String file, CatalogVersion catVersion) protected ProductcreateProduct(String id, String name, String desc, CatalogVersion catVersion) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
DE
- See Also:
-
AU
- See Also:
-
CH
- See Also:
-
CATALOGVERSION_LANGUAGE_DE
- See Also:
-
CATALOGVERSION_LANGUAGE_EN
- See Also:
-
-
Constructor Details
-
CatalogTest
public CatalogTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
createCatalog
- Throws:
Exception
-
createProduct
protected Product createProduct(String id, String name, String desc, CatalogVersion catVersion) throws Exception - Throws:
Exception
-
createMedia
- Throws:
Exception
-
checkCatalogVersion
-
testOrderOverride
public void testOrderOverride() -
testCatalog
- Throws:
JaloSecurityException
-
testGetterMethods
public void testGetterMethods() -
testRemoveDefaultCatalog
public void testRemoveDefaultCatalog() -
testRemoveActiveCatalogVersion
public void testRemoveActiveCatalogVersion() -
testSetAllName
- Throws:
Exception
-
testDefaultVersionOwner
- Throws:
ConsistencyCheckException
-
testPLA7006default
- Throws:
ConsistencyCheckException
-
testPLA7006withDisabledinSessionContext
- Throws:
ConsistencyCheckException
-
testPLA7006withEnabledinSessionContext
- Throws:
ConsistencyCheckException
-