
org.phoenix.dao.InterfaceBatchDataDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phoenix_webdriver Show documentation
Show all versions of phoenix_webdriver Show documentation
update:检查点bug修复,增加js执行的驱动,commandExecutor方法bug修复,驱动更新支持最新Firefox47/chrome51/IE10/IE11/IE Edge
package org.phoenix.dao;
import java.util.List;
import org.phoenix.basic.impl.HibernateDaoImpl;
import org.phoenix.model.InterfaceBatchDataBean;
/**
* 接口测试时,数据批次操作
* @author mengfeiyang
*
*/
public class InterfaceBatchDataDao extends HibernateDaoImpl implements IModelDao{
/**
* 根据给予的用例的id读取关联的所有批次
*/
@Override
public List getModelList(int uid) {
return super.loadAll("from InterfaceBatchDataBean where caseBean.id="+uid);
}
/**
* 根据给予的用例的名称读取关联的所有批次
*/
@Override
public List getModelList(String name) {
return super.loadAll("from InterfaceBatchDataBean where caseBean.caseName='"+name+"'");
}
@Deprecated
@Override
public InterfaceBatchDataBean loadModel(int Id) {
// TODO Auto-generated method stub
return null;
}
@Deprecated
@Override
public InterfaceBatchDataBean loadModel(String name) {
// TODO Auto-generated method stub
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy