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

com.rmn.testrail.entity.TestResults Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
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