public class IntegrationTestUtil extends ServicelayerTestLogic
| Constructor and Description |
|---|
IntegrationTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertModelDoesNotExist(ItemModel model) |
static <T> T |
assertModelExists(T sample) |
static java.util.Collection<java.lang.Object> |
findAll(java.lang.Class<? extends ItemModel> type)
Retrieves all model items existing in the persistent storage.
|
static <T> T |
getModelByExample(T sample) |
static void |
importCsv(java.lang.String content)
Imports impex into the platform
|
static void |
importImpEx(java.lang.String... lines)
Imports impex into the platform
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNonepublic static void importCsv(java.lang.String content)
throws ImpExException
content - IMPEX content to be imported.ImpExException - when import failed. Most likely the IMPEX is invalid.public static void importImpEx(java.lang.String... lines)
throws ImpExException
lines - IMPEX lines to be imported.ImpExException - when import failed. Most likely the IMPEX is invalid.public static void assertModelDoesNotExist(ItemModel model)
public static <T> T assertModelExists(T sample)
public static <T> T getModelByExample(T sample)
public static java.util.Collection<java.lang.Object> findAll(java.lang.Class<? extends ItemModel> type)
Copyright © 2018 SAP SE. All Rights Reserved.