public abstract class AbstractYprofileMapperTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AFFINITY_1 |
static String |
AFFINITY_2 |
static String |
AFFINITY_3 |
static String |
AFFINITY_4 |
static String |
CATEGORY_1 |
static String |
CATEGORY_2 |
Neighbour |
category1 |
Neighbour |
category2 |
CxCategoryYprofileMapper |
categoryMapper |
static String |
PRODUCT_1 |
static String |
PRODUCT_2 |
Neighbour |
product1 |
Neighbour |
product2 |
CxProductYprofileMapper |
productMapper |
static String |
SEGMENT_1 |
static String |
SEGMENT_2 |
static String |
SEGMENT_3 |
static String |
SEGMENT_4 |
MappingData |
target |
| Constructor and Description |
|---|
AbstractYprofileMapperTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertCategoryIsEqual(String id,
String affinity,
MappingData data) |
protected Map<String,String> |
createAffinityMap(String affinity) |
protected Neighbour |
createCategory(String id,
String affinity) |
protected Neighbour |
createNeighbour(String id,
String schema) |
protected Neighbour |
createNeighbour(String id,
String schema,
List<Relation> relations) |
protected Neighbour |
createNeighbour(String id,
String schema,
Map<String,String> properties) |
protected Neighbour |
createNeighbour(String id,
String schema,
Map<String,String> properties,
List<Relation> relations) |
protected Neighbour |
createProductAffinity(String aId,
String id,
String affinity) |
protected List<Neighbour> |
createProfile(Neighbour... neighbours) |
protected Relation |
createRelation(String schema,
Map<String,String> properties) |
void |
setup() |
public static final String PRODUCT_1
public static final String PRODUCT_2
public static final String CATEGORY_1
public static final String CATEGORY_2
public static final String SEGMENT_1
public static final String SEGMENT_2
public static final String SEGMENT_3
public static final String SEGMENT_4
public static final String AFFINITY_1
public static final String AFFINITY_2
public static final String AFFINITY_3
public static final String AFFINITY_4
public CxCategoryYprofileMapper categoryMapper
public CxProductYprofileMapper productMapper
public MappingData target
public Neighbour product1
public Neighbour product2
public Neighbour category1
public Neighbour category2
public void setup()
protected Neighbour createProductAffinity(String aId, String id, String affinity)
protected Neighbour createNeighbour(String id, String schema, List<Relation> relations)
protected Neighbour createNeighbour(String id, String schema, Map<String,String> properties)
protected Neighbour createNeighbour(String id, String schema, Map<String,String> properties, List<Relation> relations)
protected void assertCategoryIsEqual(String id, String affinity, MappingData data)
Copyright © 2017 SAP SE. All Rights Reserved.