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

tools.testng.Statistic Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package tools.testng;

/**
 * @author: zhengyu
 * @date: 2019/1/14
 * @protocol: http 或 thrift
 * @apiName: /uri 或 服务名.接口名
 * @description:
 */

public class Statistic {

    private Integer uid = 0;
    private String uniqueTag = "";
    private String projectName = "";
    private String suiteName = "";
    private String xmlTestName = "";
    private String className = "";
    private String testName = "";
    private String testResult = "";
    private String duration = "";
    private String startTime = "";
    private String finishTime = "";
    private String testAnnoInfo = "";
    private String interName = "";
    private String interPath = "";
    private String methodName = "";
    private ProtocolTypeEnum protocolType;
    private String methodParameters = "";
    private String testParameters = "";
    private String expect = "";
    private String assertion = "";
    private String errorMsg = "";
    private String stackTrace = "";

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUniqueTag() {
        return uniqueTag;
    }

    public void setUniqueTag(String uniqueTag) {
        this.uniqueTag = uniqueTag;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getSuiteName() {
        return suiteName;
    }

    public void setSuiteName(String suiteName) {
        this.suiteName = suiteName;
    }

    public String getXmlTestName() {
        return xmlTestName;
    }

    public void setXmlTestName(String xmlTestName) {
        this.xmlTestName = xmlTestName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    public String getTestResult() {
        return testResult;
    }

    public void setTestResult(String testResult) {
        this.testResult = testResult;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public String getTestAnnoInfo() {
        return testAnnoInfo;
    }

    public void setTestAnnoInfo(String testAnnoInfo) {
        this.testAnnoInfo = testAnnoInfo;
    }

    public String getInterName() {
        return interName;
    }

    public void setInterName(String interName) {
        this.interName = interName;
    }

    public String getInterPath() {
        return interPath;
    }

    public void setInterPath(String interPath) {
        this.interPath = interPath;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodParameters() {
        return methodParameters;
    }

    public void setMethodParameters(String methodParameters) {
        this.methodParameters = methodParameters;
    }

    public String getTestParameters() {
        return testParameters;
    }

    public void setTestParameters(String testParameters) {
        this.testParameters = testParameters;
    }

    public String getExpect() {
        return expect;
    }

    public void setExpect(String expect) {
        this.expect = expect;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getAssertion() {
        return assertion;
    }

    public void setAssertion(String assertion) {
        this.assertion = assertion;
    }

    public String getStackTrace() {
        return stackTrace;
    }

    public void setStackTrace(String stackTrace) {
        this.stackTrace = stackTrace;
    }

    public ProtocolTypeEnum getProtocolType() {
        return protocolType;
    }

    public void setProtocolType(ProtocolTypeEnum protocolType) {
        this.protocolType = protocolType;
    }

    @Override
    public String toString() {
        return "Statistic{" +
                "uid=" + uid +
                ", uniqueTag='" + uniqueTag + '\'' +
                ", projectName='" + projectName + '\'' +
                ", suiteName='" + suiteName + '\'' +
                ", xmlTestName='" + xmlTestName + '\'' +
                ", className='" + className + '\'' +
                ", testName='" + testName + '\'' +
                ", testResult='" + testResult + '\'' +
                ", duration='" + duration + '\'' +
                ", startTime='" + startTime + '\'' +
                ", finishTime='" + finishTime + '\'' +
                ", testAnnoInfo='" + testAnnoInfo + '\'' +
                ", interName='" + interName + '\'' +
                ", interPath='" + interPath + '\'' +
                ", methodName='" + methodName + '\'' +
                ", protocolType=" + protocolType +
                ", methodParameters='" + methodParameters + '\'' +
                ", testParameters='" + testParameters + '\'' +
                ", expect='" + expect + '\'' +
                ", assertion='" + assertion + '\'' +
                ", errorMsg='" + errorMsg + '\'' +
                ", stackTrace='" + stackTrace + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy