View Javadoc

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