1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package org.tap4j.ext.junit;
25
26 import org.junit.runner.Description;
27
28
29
30
31
32
33 public class JUnitTestData {
34
35 private Description description;
36
37 private Boolean ignored;
38
39 private Boolean failed;
40
41 private String failMessage;
42
43 private String failTrace;
44
45 private Throwable failException;
46
47 public JUnitTestData(Boolean ignored, Boolean failed) {
48 this.ignored = ignored;
49 this.failed = failed;
50 }
51
52 public Description getDescription() {
53 return description;
54 }
55
56 public void setDescription(Description description) {
57 this.description = description;
58 }
59
60 public Boolean isIgnored() {
61 return ignored;
62 }
63
64 public void setIgnored(Boolean ignored) {
65 this.ignored = ignored;
66 }
67
68 public Boolean isFailed() {
69 return failed;
70 }
71
72 public void setFailed(Boolean failed) {
73 this.failed = failed;
74 }
75
76 public String getFailMessage() {
77 return failMessage;
78 }
79
80 public void setFailMessage(String failMessage) {
81 this.failMessage = failMessage;
82 }
83
84 public String getFailTrace() {
85 return failTrace;
86 }
87
88 public void setFailTrace(String failTrace) {
89 this.failTrace = failTrace;
90 }
91
92 public Throwable getFailException() {
93 return failException;
94 }
95
96 public void setFailException(Throwable failException) {
97 this.failException = failException;
98 }
99 }