public class PairExpectResult extends Object implements IExpectResult
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.apache.log4j.Logger |
logger
The constant logger.
|
| 构造器和说明 |
|---|
PairExpectResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPair(Pair pair)
Add pair.
|
void |
compareMap(Map<String,Object> objectMap,
boolean keyCompare)
Compare map.
|
void |
compareMap(Map<String,Object> objectMap,
String expectMsg)
Compare map.
|
void |
compareReal(String content)
Compare real.
|
List<Pair> |
getPairs()
Gets pairs.
|
void |
setContainKeys(String containKeysString)
Sets contain keys.
|
void |
setContainKeys(String[] containKeys)
Sets contain keys.
|
void |
setPairs(List<Pair> pairs)
Sets pairs.
|
void |
setPairsStatement(String pairsStatement)
Sets pairs statement.
|
public void setContainKeys(String containKeysString)
containKeysString - the contain keys stringpublic void addPair(Pair pair)
pair - the pairpublic void setPairsStatement(String pairsStatement)
pairsStatement - the pairs statementpublic void setContainKeys(String[] containKeys)
containKeys - the contain keyspublic void compareReal(String content)
IExpectResultcompareReal 在接口中 IExpectResultcontent - the contentpublic void compareMap(Map<String,Object> objectMap, String expectMsg)
objectMap - the object mapexpectMsg - the expect msgCopyright © 2016. All rights reserved.