io.qase.commons.models.domain.TestResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qase-java-commons Show documentation
Show all versions of qase-java-commons Show documentation
Qase TMS Reporter's common classes
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