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

io.qase.commons.models.domain.TestResult Maven / Gradle / Ivy

The newest version!
package io.qase.commons.models.domain;

import com.google.gson.Gson;

import java.util.*;


public class TestResult {
    public String id = UUID.randomUUID().toString();
    public String title;
    public String signature;
    public String runId;
    public Long testopsId;
    public TestResultExecution execution;
    public Map fields;
    public List attachments;
    public List steps;
    public Map params;
    public List> paramGroups;
    public String author;
    public Relations relations;
    public boolean muted;
    public String message;
    public boolean ignore = false;

    public TestResult() {
        this.attachments = new ArrayList<>();
        this.steps = new ArrayList<>();
        this.params = new HashMap<>();
        this.paramGroups = new ArrayList<>();
        this.relations = new Relations();
        this.execution = new TestResultExecution();
        this.fields = new HashMap<>();
    }

    @Override
    public String toString() {
        Gson gson = new Gson();
        return gson.toJson(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy