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

dev.qadenz.automation.reporter.model.JsonTest Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
/*
Copyright Tim Slifer

Licensed under the PolyForm Internal Use License, Version 1.0.0 (the "License");
you may not use this file except in compliance with the License.
A copy of the License may be obtained at

https://polyformproject.org/licenses/internal-use/1.0.0/
 */
package dev.qadenz.automation.reporter.model;

import java.util.List;

/**
 * Model that holds results for each {@code } on the TestNG Suite XML file.
 *
 * @author Tim Slifer
 */
public class JsonTest {
    
    private String testName;
    
    private int totalFailedConfigurations;
    private List failedConfigurations;
    
    private int totalSkippedConfigurations;
    private List skippedConfigurations;
    
    private int totalFailedTests;
    private List failedTests;
    
    private int totalStoppedTests;
    private List stoppedTests;
    
    private int totalSkippedTests;
    private List skippedTests;
    
    private int totalPassedTests;
    private List passedTests;
    
    public String getTestName() {
        return testName;
    }
    
    public void setTestName(String testName) {
        this.testName = testName;
    }
    
    public int getTotalFailedConfigurations() {
        return totalFailedConfigurations;
    }
    
    public void setTotalFailedConfigurations(int totalFailedConfigurations) {
        this.totalFailedConfigurations = totalFailedConfigurations;
    }
    
    public List getFailedConfigurations() {
        return failedConfigurations;
    }
    
    public void setFailedConfigurations(List failedConfigurations) {
        this.failedConfigurations = failedConfigurations;
    }
    
    public int getTotalSkippedConfigurations() {
        return totalSkippedConfigurations;
    }
    
    public void setTotalSkippedConfigurations(int totalSkippedConfigurations) {
        this.totalSkippedConfigurations = totalSkippedConfigurations;
    }
    
    public List getSkippedConfigurations() {
        return skippedConfigurations;
    }
    
    public void setSkippedConfigurations(List skippedConfigurations) {
        this.skippedConfigurations = skippedConfigurations;
    }
    
    public int getTotalFailedTests() {
        return totalFailedTests;
    }
    
    public void setTotalFailedTests(int totalFailedTests) {
        this.totalFailedTests = totalFailedTests;
    }
    
    public List getFailedTests() {
        return failedTests;
    }
    
    public void setFailedTests(List failedTests) {
        this.failedTests = failedTests;
    }
    
    public int getTotalStoppedTests() {
        return totalStoppedTests;
    }
    
    public void setTotalStoppedTests(int totalStoppedTests) {
        this.totalStoppedTests = totalStoppedTests;
    }
    
    public List getStoppedTests() {
        return stoppedTests;
    }
    
    public void setStoppedTests(List stoppedTests) {
        this.stoppedTests = stoppedTests;
    }
    
    public int getTotalSkippedTests() {
        return totalSkippedTests;
    }
    
    public void setTotalSkippedTests(int totalSkippedTests) {
        this.totalSkippedTests = totalSkippedTests;
    }
    
    public List getSkippedTests() {
        return skippedTests;
    }
    
    public void setSkippedTests(List skippedTests) {
        this.skippedTests = skippedTests;
    }
    
    public int getTotalPassedTests() {
        return totalPassedTests;
    }
    
    public void setTotalPassedTests(int totalPassedTests) {
        this.totalPassedTests = totalPassedTests;
    }
    
    public List getPassedTests() {
        return passedTests;
    }
    
    public void setPassedTests(List passedTests) {
        this.passedTests = passedTests;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy