tools.mapper.testng.TestngMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-autotest-tool Show documentation
Show all versions of java-autotest-tool Show documentation
This is an integration of autotest tools
package tools.mapper.testng;
import org.apache.ibatis.annotations.Param;
import tools.testng.Statistic;
import tools.testng.TestCase;
import java.util.List;
import java.util.Map;
/**
* Created by zhengyu on 2018/7/6
*/
public interface TestngMapper {
public void addTestExecutionRecord(Statistic statistic);
public Statistic selectBasicInfoByUID(Integer uid);
public Statistic selectStatisticInfoByUID(Integer uid);
public List selectStatisticListByUniqueTag(String uniqueTag);
public Map selectExistTestCase(TestCase testCase);
public Map selectMaxVersion(@Param("psmKey") String psmKey, @Param("projectName") String projectName);
public void addTestCaseRecord(TestCase testCase);
public int updateVersion(TestCase testCase);
public int deleteOldVersion(@Param("currMaxVersion") Integer currentMaxVersion,
@Param("psmKey") String psmKey,
@Param("projectName") String projectName);
}