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

io.github.ericdriggs.reportcard.xml.surefire.Testcase Maven / Gradle / Ivy

There is a newer version: 0.1.19
Show newest version
package io.github.ericdriggs.reportcard.xml.surefire;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "failure",
        "rerunFailure",
        "flakyFailure",
        "skipped",
        "error",
        "rerunError",
        "flakyError",
        "systemOut",
        "systemErr"
})
@NoArgsConstructor
@AllArgsConstructor
@Builder(builderMethodName = "builderForTestcase")
@Data
public class Testcase {

    @XmlElement(nillable = true)
    protected List failure;
    protected List rerunFailure;
    protected List flakyFailure;
    @XmlElementRef(name = "skipped", type = JAXBElement.class, required = false)
    protected JAXBElement skipped;
    @XmlElementRef(name = "error", type = JAXBElement.class, required = false)
    protected JAXBElement error;
    protected List rerunError;
    protected List flakyError;
    @XmlElement(name = "system-out")
    protected String systemOut;
    @XmlElement(name = "system-err")
    protected String systemErr;
    @XmlAttribute(name = "name", required = true)
    protected String name;
    @XmlAttribute(name = "classname")
    protected String classname;
    @XmlAttribute(name = "group")
    protected String group;
    @XmlAttribute(name = "time", required = true)
    protected String time;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy