Class SchemaGeneratorIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.odata2services.odata.schema.SchemaGeneratorIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SchemaGeneratorIntegrationTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description IntegrationObjectItemsContextdefinitionsContextIntegrationObjectsContextintegrationObjectsContext-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SchemaGeneratorIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
definitionsContext
public IntegrationObjectItemsContext definitionsContext
-
integrationObjectsContext
public IntegrationObjectsContext integrationObjectsContext
-
-
Method Detail
-
testGenerateWhenNoIntegrationObjectItemsProvided
public void testGenerateWhenNoIntegrationObjectItemsProvided()
-
testGeneratePerformsEntityTypeGeneration
public void testGeneratePerformsEntityTypeGeneration() throws ImpExException- Throws:
ImpExException
-
testGeneratesIntegrationKeyForEntityType
public void testGeneratesIntegrationKeyForEntityType() throws ImpExException- Throws:
ImpExException
-
testGeneratePerformsEntityPropertyGeneration
public void testGeneratePerformsEntityPropertyGeneration() throws ImpExException- Throws:
ImpExException
-
testGeneratePerformsAssociationGeneration
public void testGeneratePerformsAssociationGeneration() throws ImpExException- Throws:
ImpExException
-
testGeneratePerformsAnnotationAttributeGeneration_NullableAndUnique
public void testGeneratePerformsAnnotationAttributeGeneration_NullableAndUnique() throws ImpExException- Throws:
ImpExException
-
testGeneratesSchemaForAllPossiblePrimitiveAttributeTypes
public void testGeneratesSchemaForAllPossiblePrimitiveAttributeTypes() throws ImpExException- Throws:
ImpExException
-
testGenerateContainsCollectionOfPrimitiveEntityTypes
public void testGenerateContainsCollectionOfPrimitiveEntityTypes() throws ImpExException- Throws:
ImpExException
-
testGenerateWithEnumTypeAttribute
public void testGenerateWithEnumTypeAttribute() throws ImpExException- Throws:
ImpExException
-
testGeneratesPartOfAnnotationWhenPartOfIsSetInTheTypeSystem
public void testGeneratesPartOfAnnotationWhenPartOfIsSetInTheTypeSystem() throws ImpExException- Throws:
ImpExException
-
testDoesNotGeneratePartOfAnnotationWhenAutoCreateIsTrueButPartOfIsFalse
public void testDoesNotGeneratePartOfAnnotationWhenAutoCreateIsTrueButPartOfIsFalse() throws ImpExException- Throws:
ImpExException
-
testGeneratesAssociationFromTypeToSameType
public void testGeneratesAssociationFromTypeToSameType() throws ImpExException- Throws:
ImpExException
-
-