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

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

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

import io.github.ericdriggs.reportcard.xml.junit.HasValueMessageTypeJunit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "stackTrace",
        "systemOut",
        "systemErr"
})
@NoArgsConstructor
@AllArgsConstructor
@Builder(builderMethodName = "builderForFlakyFailure")
@Data
public class FlakyFailure implements HasValueMessageTypeSurefire {

    @XmlElement(required = true)
    protected String stackTrace;
    @XmlElement(name = "system-out")
    protected String systemOut;
    @XmlElement(name = "system-err")
    protected String systemErr;
    @XmlAttribute(name = "message")
    protected String message;
    @XmlAttribute(name = "type", required = true)
    protected String type;

    public String getValue() {
        return stackTrace;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy