@IntegrationTest public class DefaultClassificationServiceIntegrationTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
DefaultClassificationServiceIntegrationTest() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultClassificationServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testClassificationFeaturesReadAndWrite()
public void testClassificationClasses()
public void testGetAttributeUnits()
public void testSetFeatureValuesToZero()
public void testSetFeatureValuesToLessThanNormal()
public void testSetFeatureValuesToMoreThanNormal()
public void testRemovalOfReferenceByClassificationAttributeProduct()
public void testTest()
public void testSetFeatureValuesToZero(java.lang.String identifier)
public void testSetModelFVToLessThanJaloFV(java.lang.String identifier)
public void testSetModelFVToMoreThanJaloFV(java.lang.String identifier)
public void testGetProductsByFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetProductsByFilterWithoutFilterAttributes()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetProductsByFilterWithLimit()
throws java.lang.Exception
java.lang.Exceptionpublic void test_PLA_8083()
public void testPLA_8081()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void shouldThrowIllegalArgumentExceptionWhenTryingToSetFeaturesForUnsavedProduct()
public void shouldThrowIllegalArgumentExceptionWhenTryingToReplaceFeaturesForUnsavedProduct()
public void shouldThrowIllegalArgumentExceptionWhenTryingToSetFeatureForUnsavedProduct()
public void shouldThrowIllegalArgumentExceptionWhenTryingToGetFeaturesForUnsavedProduct()
public void shouldThrowIllegalArgumentExceptionWhenTryingToGetFeatureForUnsavedProduct()
public void shouldProperlyReplaceFeaturesUsingFeatureListFromAnotherProductKeepingSourceUntouched()
public void testSetSingleFeatureWithValues()
public void productOnEachLevelShouldContainsOnlyFeaturesWithValuesFromSelfLevel()
public void productInTwoCategoriesShouldBeClassifiedByCorrectClassification()
Classification - Common Class (attributes: common_attribute)
+- Classification - Special Class (attributes: special_attribute)
+- Category 1
+- Category 2
+- Category 3
+- Category 4
+- Product prodInOneCtg
+- Product prodInTwoCtgs
+- Category 5
+- prodInTwoCtgs
In above structure assumption is that productInTwoCtgs has both: common_class.common_attribute and
special_class.special_attribute. featuresInHierarchy-PLA-11992.csv file.Copyright © 2018 SAP SE. All Rights Reserved.