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

com.qa.framework.bean.ExtraCheck Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
package com.qa.framework.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 封装自定义的检查方法
 * 需要在用例里面实现
 * Created by apple on 15/11/18.
 */
public class ExtraCheck {
    private List functionList;

    /**
     * Gets function list.
     *
     * @return the function list
     */
    public List getFunctionList() {
        return functionList;
    }

    /**
     * Sets function list.
     *
     * @param functionList the function list
     */
    public void setFunctionList(List functionList) {
        this.functionList = functionList;
    }

    /**
     * Add function.
     *
     * @param function the function
     */
    public void addFunction(Function function) {
        if (functionList == null) {
            functionList = new ArrayList();
        }
        functionList.add(function);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy