Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Attachment.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,14 @@ public Attachment setType(final String value) {
return this;
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Attachment(" +
"name=" + this.name + ", " +
"source=" + this.source + ", " +
"type=" + this.type + ")";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,23 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(name, status);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "FixtureResult(" +
"name=" + this.name + ", " +
"status=" + this.status + ", " +
"statusDetails=" + this.statusDetails + ", " +
"stage=" + this.stage + ", " +
"description=" + this.description + ", " +
"descriptionHtml=" + this.descriptionHtml + ", " +
"steps=" + this.steps + ", " +
"attachments=" + this.attachments + ", " +
"parameters=" + this.parameters + ", " +
"start=" + this.start + ", " +
"stop=" + this.stop + ")";
}
}
10 changes: 10 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,14 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(name, value);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Label(" +
"name=" + this.name + ", " +
"value=" + this.value + ")";
}
}
11 changes: 11 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Link.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,15 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(name, url, type);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Link(" +
"name=" + this.name + ", " +
"url=" + this.url + ", " +
"type=" + this.type + ")";
}
}
12 changes: 12 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Parameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,16 @@ public enum Mode {
DEFAULT

}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Parameter(" +
"name=" + this.name + ", " +
"value=" + this.value + ", " +
"excluded=" + this.excluded + ", " +
"mode=" + this.mode + ")";
}
}
7 changes: 7 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Stage.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,11 @@ public String value() {
return value;
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Stage(" + this.value + ")";
}
}
7 changes: 7 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/Status.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,11 @@ public String value() {
return value;
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "Status(" + this.value + ")";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,17 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(message, trace);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "StatusDetails(" +
"known=" + this.known + ", " +
"muted=" + this.muted + ", " +
"flaky=" + this.flaky + ", " +
"message=" + this.message + ", " +
"trace=" + this.trace + ")";
}
}
19 changes: 19 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/StepResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,23 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(name, status);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "StepResult(" +
"name=" + this.name + ", " +
"status=" + this.status + ", " +
"statusDetails=" + this.statusDetails + ", " +
"stage=" + this.stage + ", " +
"description=" + this.description + ", " +
"descriptionHtml=" + this.descriptionHtml + ", " +
"steps=" + this.steps + ", " +
"attachments=" + this.attachments + ", " +
"parameters=" + this.parameters + ", " +
"start=" + this.start + ", " +
"stop=" + this.stop + ")";
}
}
26 changes: 26 additions & 0 deletions allure-model/src/main/java/io/qameta/allure/model/TestResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,30 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(uuid, historyId, testCaseId, fullName, name);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "TestResult(" +
"uuid=" + this.uuid + ", " +
"historyId=" + this.historyId + ", " +
"testCaseId=" + this.testCaseId + ", " +
"testCaseName=" + this.testCaseName + ", " +
"fullName=" + this.fullName + ", " +
"labels=" + this.labels + ", " +
"links=" + this.links + ", " +
"name=" + this.name + ", " +
"status=" + this.status + ", " +
"statusDetails=" + this.statusDetails + ", " +
"stage=" + this.stage + ", " +
"description=" + this.description + ", " +
"descriptionHtml=" + this.descriptionHtml + ", " +
"steps=" + this.steps + ", " +
"attachments=" + this.attachments + ", " +
"parameters=" + this.parameters + ", " +
"start=" + this.start + ", " +
"stop=" + this.stop + ")";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,22 @@ public boolean equals(final Object o) {
public int hashCode() {
return Objects.hash(uuid, name);
}

/**
* @return a string representation of this object
*/
@Override
public String toString() {
return "TestResultContainer(" +
"uuid=" + this.uuid + ", " +
"name=" + this.name + ", " +
"children=" + this.children + ", " +
"description=" + this.description + ", " +
"descriptionHtml=" + this.descriptionHtml + ", " +
"befores=" + this.befores + ", " +
"afters=" + this.afters + ", " +
"links=" + this.links + ", " +
"start=" + this.start + ", " +
"stop=" + this.stop + ")";
}
}
Loading