com.rmn.testrail.entity.TestResults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testrailsdk Show documentation
Show all versions of testrailsdk Show documentation
A package for managing your TestRail information
package com.rmn.testrail.entity;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.ArrayList;
import java.util.List;
/**
* Represents a list of TestResults entities
*
* @author mmerrell
*/
public class TestResults extends BaseEntity {
@JsonProperty("results")
private List results = new ArrayList();
public List getResults() { return results; }
public void setResults(List results) { this.results = results; }
/**
* Allows you to add a test result to the list of results that will be posted
* @param result The TestResult object you want to add
*/
public void addResult(TestResult result) {
results.add(result);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy