| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.apache.log4j.Logger |
logger
The constant logger.
|
| 构造器和说明 |
|---|
TestBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
processAfter(TestData testData)
Process after.
|
void |
processSetupResultParam(TestData testData)
Process param.
|
String |
request(String url,
List<Param> params,
String httpMethod,
boolean storeCookie,
boolean useCookie)
Get content string.
|
void |
verifyResult(TestData testData,
String content)
Verify result.
|
public String request(String url, List<Param> params, String httpMethod, boolean storeCookie, boolean useCookie)
url - the urlparams - the paramshttpMethod - the http methodstoreCookie - the store cookieuseCookie - the use cookiepublic void processSetupResultParam(TestData testData)
testData - the test datapublic void verifyResult(TestData testData, String content)
testData - the test datacontent - the contentpublic void processAfter(TestData testData)
testData - the test dataCopyright © 2016. All rights reserved.