Package de.hybris.platform.catalog
Class CatalogUnawarePDTRowTest<T extends PDTRowModel>
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.catalog.CatalogUnawarePDTRowTest<T>
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
CatalogUnawareEurope1DiscountsTest,CatalogUnawareEurope1PricesTest,CatalogUnawareEurope1TaxesTest
public abstract class CatalogUnawarePDTRowTest<T extends PDTRowModel> extends ServicelayerBaseTest
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelServicemodelServiceprotected CatalogVersionModelotherCatalogVersionprotected ProductModelotherProductprotected CatalogVersionModeltestCatalogVersionprotected CurrencyModeltestCurrencyprotected ProductModeltestProductprotected UnitModeltestUnit-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CatalogUnawarePDTRowTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
modelService
protected ModelService modelService
-
testCatalogVersion
protected CatalogVersionModel testCatalogVersion
-
otherCatalogVersion
protected CatalogVersionModel otherCatalogVersion
-
testProduct
protected ProductModel testProduct
-
otherProduct
protected ProductModel otherProduct
-
testUnit
protected UnitModel testUnit
-
testCurrency
protected CurrencyModel testCurrency
-
-
Method Detail
-
setUp
public void setUp()
-
shouldGetRowForAnyProduct
public void shouldGetRowForAnyProduct()
-
shouldGetRowByProductCode
public void shouldGetRowByProductCode()
-
shouldGetRowByProduct
public void shouldGetRowByProduct()
-
shouldNotFindRowForDifferentProductCode
public void shouldNotFindRowForDifferentProductCode()
-
shouldNotFindRowForDifferentProduct
public void shouldNotFindRowForDifferentProduct()
-
shouldFindOnlyRowsForProductCode
public void shouldFindOnlyRowsForProductCode()
-
shouldFindOnlyRowsForProduct
public void shouldFindOnlyRowsForProduct()
-
shouldFindMultipleRows
public void shouldFindMultipleRows()
-
shouldNotRemoveRowForAnyProduct
public void shouldNotRemoveRowForAnyProduct()
-
shouldNotRemoveRowForProductCode
public void shouldNotRemoveRowForProductCode()
-
shouldRemoveRowForProduct
public void shouldRemoveRowForProduct()
-
shouldRemoveOnlyRowForProduct
public void shouldRemoveOnlyRowForProduct()
-
shouldSynchronizeRowForProduct
public void shouldSynchronizeRowForProduct()
-
shouldNotSynchronizeAnyProductRow
public void shouldNotSynchronizeAnyProductRow()
-
shouldNotSynchronizeRowForProductCode
public void shouldNotSynchronizeRowForProductCode()
-
givenRowForProduct
protected abstract T givenRowForProduct(ProductModel product)
-
givenRowForProductId
protected abstract T givenRowForProductId(java.lang.String productId)
-
givenRowForAnyProduct
protected abstract T givenRowForAnyProduct()
-
getSynchronizedRows
protected abstract java.util.List<T> getSynchronizedRows()
-
assertThatTgtRowMatchSrcRow
protected abstract void assertThatTgtRowMatchSrcRow(T tgtRow, T srcRow)
-
getRowsFrom
protected abstract java.util.Collection<T> getRowsFrom(ProductModel product)
-
performTestCatalogSynchronization
protected void performTestCatalogSynchronization()
-
-