com.qa.framework.bean.ExpectResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-api-framework Show documentation
Show all versions of smart-api-framework Show documentation
Support web service api automaton test based on testng and httpclient
package com.qa.framework.bean;
import com.qa.framework.verify.IExpectResult;
import org.apache.log4j.Logger;
import java.util.ArrayList;
import java.util.List;
/**
* Created by apple on 15/11/20.
*/
public class ExpectResult {
/**
* The constant logger.
*/
protected static final Logger logger = Logger.getLogger(ExpectResult.class);
private List expectResultImp;
/**
* Add expect result imp.
*
* @param iExpectResult the expect result
*/
public void addExpectResultImp(IExpectResult iExpectResult) {
if (expectResultImp == null) {
expectResultImp = new ArrayList();
}
expectResultImp.add(iExpectResult);
}
/**
* Gets expect result imp.
*
* @return the expect result imp
*/
public List getExpectResultImp() {
return expectResultImp;
}
/**
* Sets expect result imp.
*
* @param expectResultImp the expect result imp
*/
public void setExpectResultImp(List expectResultImp) {
this.expectResultImp = expectResultImp;
}
}