All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tools.mapper.testng.TestngMapper Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy