View Javadoc

1   package org.apache.maven.continuum.reports.surefire;
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   * Taken from maven-surefire-report-plugin
24   *
25   * @author <a href="mailto:olamy@apache.org">olamy</a>
26   * @version $Id: ReportTestCase.java 1372267 2012-08-13 05:47:30Z brett $
27   * @since 12 nov. 07
28   */
29  public class ReportTestCase
30  {
31      private String fullClassName;
32  
33      private String className;
34  
35      private String fullName;
36  
37      private String name;
38  
39      private float time;
40  
41      private String failureType;
42  
43      private String failureMessage;
44  
45      private String failureDetails;
46  
47      public String getName()
48      {
49          return name;
50      }
51  
52      public void setName( String name )
53      {
54          this.name = name;
55      }
56  
57      public String getFullClassName()
58      {
59          return fullClassName;
60      }
61  
62      public void setFullClassName( String name )
63      {
64          this.fullClassName = name;
65      }
66  
67      public String getClassName()
68      {
69          return className;
70      }
71  
72      public void setClassName( String name )
73      {
74          this.className = name;
75      }
76  
77      public float getTime()
78      {
79          return time;
80      }
81  
82      public void setTime( float time )
83      {
84          this.time = time;
85      }
86  
87      public String getFullName()
88      {
89          return fullName;
90      }
91  
92      public void setFullName( String fullName )
93      {
94          this.fullName = fullName;
95      }
96  
97      public String getFailureType()
98      {
99          return failureType;
100     }
101 
102     public void setFailureType( String failureType )
103     {
104         this.failureType = failureType;
105     }
106 
107     public String getFailureMessage()
108     {
109         return failureMessage;
110     }
111 
112     public void setFailureMessage( String failureMessage )
113     {
114         this.failureMessage = failureMessage;
115     }
116 
117     public String getFailureDetails()
118     {
119         return failureDetails;
120     }
121 
122     public void setFailureDetails( String failureDetails )
123     {
124         this.failureDetails = failureDetails;
125     }
126 }