View Javadoc
1   package org.apache.maven.surefire.its.fixture;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *     http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  
23  public class IntegrationTestSuiteResults
24  {
25      private int total, errors, failures, skipped, flakes;
26  
27      public IntegrationTestSuiteResults( int total, int errors, int failures, int skipped )
28      {
29          this.total = total;
30          this.errors = errors;
31          this.failures = failures;
32          this.skipped = skipped;
33      }
34  
35      public IntegrationTestSuiteResults( int total, int errors, int failures, int skipped, int flakes )
36      {
37          this(total, errors, failures, skipped);
38          this.flakes = flakes;
39      }
40  
41      public int getTotal()
42      {
43          return total;
44      }
45  
46      public void setTotal( int total )
47      {
48          this.total = total;
49      }
50  
51      public int getErrors()
52      {
53          return errors;
54      }
55  
56      public void setErrors( int errors )
57      {
58          this.errors = errors;
59      }
60  
61      public int getFailures()
62      {
63          return failures;
64      }
65  
66      public void setFailures( int failures )
67      {
68          this.failures = failures;
69      }
70  
71      public int getSkipped()
72      {
73          return skipped;
74      }
75  
76      public void setSkipped( int skipped )
77      {
78          this.skipped = skipped;
79      }
80  
81      public int getFlakes()
82      {
83          return flakes;
84      }
85  
86      public void setFlakes( int flakes )
87      {
88          this.flakes = flakes;
89      }
90  
91  }