@IntegrationTest public class CatalogTest extends HybrisJUnit4TransactionalTest
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
AU |
protected static java.lang.String |
CATALOGVERSION_LANGUAGE_DE |
protected static java.lang.String |
CATALOGVERSION_LANGUAGE_EN |
protected static java.lang.String |
CH |
protected static java.lang.String |
DE |
jaloSession| Constructor and Description |
|---|
CatalogTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCatalogVersion(CatalogVersion catalogVersion,
java.lang.String versionStr) |
protected void |
createCatalog() |
protected Media |
createMedia(java.lang.String id,
java.lang.String file,
CatalogVersion catVersion) |
protected Product |
createProduct(java.lang.String id,
java.lang.String name,
java.lang.String desc,
CatalogVersion catVersion) |
void |
setUp() |
void |
testCatalog() |
void |
testDefaultVersionOwner() |
void |
testGetterMethods() |
void |
testOrderOverride() |
void |
testPLA7006default() |
void |
testPLA7006withDisabledinSessionContext() |
void |
testPLA7006withEnabledinSessionContext() |
void |
testRemoveActiveCatalogVersion() |
void |
testRemoveDefaultCatalog() |
void |
testSetAllName() |
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected static final java.lang.String DE
protected static final java.lang.String AU
protected static final java.lang.String CH
protected static final java.lang.String CATALOGVERSION_LANGUAGE_DE
protected static final java.lang.String CATALOGVERSION_LANGUAGE_EN
public void setUp()
throws java.lang.Exception
java.lang.Exceptionprotected void createCatalog()
throws java.lang.Exception
java.lang.Exceptionprotected Product createProduct(java.lang.String id, java.lang.String name, java.lang.String desc, CatalogVersion catVersion) throws java.lang.Exception
java.lang.Exceptionprotected Media createMedia(java.lang.String id, java.lang.String file, CatalogVersion catVersion) throws java.lang.Exception
java.lang.Exceptionprotected void checkCatalogVersion(CatalogVersion catalogVersion, java.lang.String versionStr)
public void testOrderOverride()
public void testCatalog()
throws JaloSecurityException
JaloSecurityExceptionpublic void testGetterMethods()
public void testRemoveDefaultCatalog()
public void testRemoveActiveCatalogVersion()
public void testSetAllName()
throws java.lang.Exception
java.lang.Exceptionpublic void testDefaultVersionOwner()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void testPLA7006default()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void testPLA7006withDisabledinSessionContext()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void testPLA7006withEnabledinSessionContext()
throws ConsistencyCheckException
ConsistencyCheckExceptionCopyright © 2018 SAP SE. All Rights Reserved.