@UnitTest public class DefaultCxCatalogServiceTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CATALOG1 |
protected static java.lang.String |
CATALOG2 |
protected static java.lang.String |
CATALOG3 |
protected static java.lang.String |
CATALOG4 |
protected static java.lang.String |
CATALOG5 |
protected CxConfigurationService |
configService |
protected CxCatalogLookupStrategy |
s1 |
protected CxCatalogLookupStrategy |
s2 |
protected CxCatalogLookupStrategy |
s3 |
| Constructor and Description |
|---|
DefaultCxCatalogServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertEquals(java.util.List<CatalogVersionModel> actual,
java.lang.String... expected) |
protected java.util.List<CxCatalogLookupStrategy> |
buildStrategies(CxCatalogLookupStrategy... strategies) |
protected CxCatalogLookupStrategy |
buildStrategy(CxCatalogLookupType type,
java.lang.String... catalogs) |
protected CxCatalogLookupStrategy |
buildStrategy(java.lang.String... catalogs) |
protected void |
setLookupType(CxCatalogLookupType type) |
void |
setup() |
void |
testMultipleStrategy() |
void |
testOverlapingStrategy() |
void |
testSingleStrategy() |
protected static final java.lang.String CATALOG1
protected static final java.lang.String CATALOG2
protected static final java.lang.String CATALOG3
protected static final java.lang.String CATALOG4
protected static final java.lang.String CATALOG5
protected final CxCatalogLookupStrategy s1
protected final CxCatalogLookupStrategy s2
protected final CxCatalogLookupStrategy s3
protected CxConfigurationService configService
public void setup()
protected java.util.List<CxCatalogLookupStrategy> buildStrategies(CxCatalogLookupStrategy... strategies)
protected CxCatalogLookupStrategy buildStrategy(java.lang.String... catalogs)
protected CxCatalogLookupStrategy buildStrategy(CxCatalogLookupType type, java.lang.String... catalogs)
protected void setLookupType(CxCatalogLookupType type)
public void testSingleStrategy()
public void testMultipleStrategy()
public void testOverlapingStrategy()
protected void assertEquals(java.util.List<CatalogVersionModel> actual, java.lang.String... expected)
Copyright © 2018 SAP SE. All Rights Reserved.