1
2
3
4
5
6
7
8 package org.apache.maven.continuum.model.scm.v1_0_9;
9
10
11
12
13
14 import org.apache.maven.continuum.model.project.v1_0_9.BuildDefinition;
15 import org.apache.maven.continuum.model.project.v1_0_9.BuildResult;
16 import org.apache.maven.continuum.model.project.v1_0_9.ContinuumDatabase;
17 import org.apache.maven.continuum.model.project.v1_0_9.Project;
18 import org.apache.maven.continuum.model.project.v1_0_9.ProjectDependency;
19 import org.apache.maven.continuum.model.project.v1_0_9.ProjectDeveloper;
20 import org.apache.maven.continuum.model.project.v1_0_9.ProjectGroup;
21 import org.apache.maven.continuum.model.project.v1_0_9.ProjectNotifier;
22 import org.apache.maven.continuum.model.project.v1_0_9.Schedule;
23 import org.apache.maven.continuum.model.system.v1_0_9.NotificationAddress;
24 import org.apache.maven.continuum.model.system.v1_0_9.SystemConfiguration;
25
26
27
28
29
30
31 @SuppressWarnings( "all" )
32 public class SuiteResult
33 implements java.io.Serializable
34 {
35
36
37
38
39
40
41
42
43 private String name;
44
45
46
47
48 private int testCount = 0;
49
50
51
52
53 private int failureCount = 0;
54
55
56
57
58 private long totalTime = 0L;
59
60
61
62
63 private java.util.List<TestCaseFailure> failures;
64
65
66
67
68
69
70
71
72
73
74
75 public void addFailure( TestCaseFailure testCaseFailure )
76 {
77 getFailures().add( testCaseFailure );
78 }
79
80
81
82
83
84
85 public int getFailureCount()
86 {
87 return this.failureCount;
88 }
89
90
91
92
93
94
95 public java.util.List<TestCaseFailure> getFailures()
96 {
97 if ( this.failures == null )
98 {
99 this.failures = new java.util.ArrayList<TestCaseFailure>();
100 }
101
102 return this.failures;
103 }
104
105
106
107
108
109
110 public String getName()
111 {
112 return this.name;
113 }
114
115
116
117
118
119
120 public int getTestCount()
121 {
122 return this.testCount;
123 }
124
125
126
127
128
129
130 public long getTotalTime()
131 {
132 return this.totalTime;
133 }
134
135
136
137
138
139
140 public void removeFailure( TestCaseFailure testCaseFailure )
141 {
142 getFailures().remove( testCaseFailure );
143 }
144
145
146
147
148
149
150 public void setFailureCount( int failureCount )
151 {
152 this.failureCount = failureCount;
153 }
154
155
156
157
158
159
160 public void setFailures( java.util.List<TestCaseFailure> failures )
161 {
162 this.failures = failures;
163 }
164
165
166
167
168
169
170 public void setName( String name )
171 {
172 this.name = name;
173 }
174
175
176
177
178
179
180 public void setTestCount( int testCount )
181 {
182 this.testCount = testCount;
183 }
184
185
186
187
188
189
190 public void setTotalTime( long totalTime )
191 {
192 this.totalTime = totalTime;
193 }
194
195 }