@IntegrationTest public class ODataSchemaGenerationFacadeIntegrationTest extends ServicelayerTest
| Modifier and Type | Field and Description |
|---|---|
IntegrationObjectItemsContext |
definitionsContext |
IntegrationObjectsContext |
integrationObjectsContext |
importServicejaloSession| Constructor and Description |
|---|
ODataSchemaGenerationFacadeIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAllItemsReturnedWhenAllMetadataIsRequested() |
void |
testAssociationIsReturnedForItemThatReferencesCollectionAttribute() |
void |
testItemsAreReturnedForIntegrationObjectSpecifiedInServiceRootWhenOthersExist() |
void |
testMissingKeyAttributeThrowsInvalidODataSchemaException() |
void |
testMultipleItemsRequested() |
void |
testOnlyRequestedItemReturnedEvenIfItIsReferencedFromSomeOtherItem() |
void |
testRequestedItemDoesNotExist() |
void |
testRequestedItemReturnedWithItsReferencedItems() |
void |
testRequestedSchemaIsEmptyWhenNoIntegrationObjectsDefined() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic IntegrationObjectItemsContext definitionsContext
public IntegrationObjectsContext integrationObjectsContext
public ODataSchemaGenerationFacadeIntegrationTest()
public void testRequestedSchemaIsEmptyWhenNoIntegrationObjectsDefined()
throws ODataException
ODataExceptionpublic void testRequestedItemDoesNotExist()
throws ODataException
ODataExceptionpublic void testOnlyRequestedItemReturnedEvenIfItIsReferencedFromSomeOtherItem()
throws ODataException,
ImpExException
ODataExceptionImpExExceptionpublic void testRequestedItemReturnedWithItsReferencedItems()
throws ODataException,
ImpExException
ODataExceptionImpExExceptionpublic void testAssociationIsReturnedForItemThatReferencesCollectionAttribute()
throws ODataException,
ImpExException
ODataExceptionImpExExceptionpublic void testItemsAreReturnedForIntegrationObjectSpecifiedInServiceRootWhenOthersExist()
throws ODataException,
ImpExException
ODataExceptionImpExExceptionpublic void testMultipleItemsRequested()
public void testMissingKeyAttributeThrowsInvalidODataSchemaException()
throws ImpExException
ImpExExceptionpublic void testAllItemsReturnedWhenAllMetadataIsRequested()
throws ODataException,
ImpExException
ODataExceptionImpExExceptionCopyright © 2018 SAP SE. All Rights Reserved.