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

io.qameta.allure.entity.TestResult Maven / Gradle / Ivy

There is a newer version: 2.32.0
Show newest version
package io.qameta.allure.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collector;
import java.util.stream.Collectors;

import static java.util.Comparator.comparing;
import static java.util.Comparator.naturalOrder;
import static java.util.Comparator.nullsFirst;

/**
 * @author charlie (Dmitry Baev).
 */
@Data
@Accessors(chain = true)
@SuppressWarnings("PMD.TooManyFields")
public class TestResult implements Serializable, Nameable, Parameterizable, Statusable, Timeable {

    private static final long serialVersionUID = 1L;

    protected String uid;
    protected String name;
    protected String fullName;
    protected String historyId;
    protected String testId;
    protected Time time = new Time();
    protected String description;
    protected String descriptionHtml;
    protected Status status;
    protected StatusDetails statusDetails = new StatusDetails();

    //    Execution
    protected List beforeStages = new ArrayList<>();
    protected StageResult testStage;
    protected List afterStages = new ArrayList<>();

    //    Meta
    protected List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy