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

com.aventstack.extentreports.model.ExceptionTestContext Maven / Gradle / Ivy

There is a newer version: 5.1.2
Show newest version
package com.aventstack.extentreports.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ExceptionTestContext implements Serializable {
    
    private static final long serialVersionUID = -2516200535748363722L;
    
    private ExceptionInfo ei;
    private List testList;
    
    public ExceptionTestContext(ExceptionInfo ei) { this.ei = ei; }
    
    public void setTest(Test test) {
        if (testList == null)
            testList = new ArrayList<>();

        testList.add(test);
    }
    
    public List getTestList() { return testList; }
    
    public ExceptionInfo getExceptionInfo() { return ei; }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy