View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.maven.continuum.reports.surefire;
20  
21  /**
22   * Taken from maven-surefire-report-plugin
23   * @author <a href="mailto:olamy@apache.org">olamy</a>
24   * @since 12 nov. 07
25   * @version $Id: ReportTestCase.java 729433 2008-12-25 19:06:08Z olamy $
26   */
27  public class ReportTestCase
28  {
29      private String fullClassName;
30  
31      private String className;
32  
33      private String fullName;
34  
35      private String name;
36  
37      private float time;
38  
39      private String failureType;
40  
41      private String failureMessage;
42  
43      private String failureDetails;
44  
45      public String getName()
46      {
47          return name;
48      }
49  
50      public void setName( String name )
51      {
52          this.name = name;
53      }
54  
55      public String getFullClassName()
56      {
57          return fullClassName;
58      }
59  
60      public void setFullClassName( String name )
61      {
62          this.fullClassName = name;
63      }
64  
65      public String getClassName()
66      {
67          return className;
68      }
69  
70      public void setClassName( String name )
71      {
72          this.className = name;
73      }
74  
75      public float getTime()
76      {
77          return time;
78      }
79  
80      public void setTime( float time )
81      {
82          this.time = time;
83      }
84  
85      public String getFullName()
86      {
87          return fullName;
88      }
89  
90      public void setFullName( String fullName )
91      {
92          this.fullName = fullName;
93      }
94  
95      public String getFailureType()
96      {
97          return failureType;
98      }
99  
100     public void setFailureType( String failureType )
101     {
102         this.failureType = failureType;
103     }
104 
105     public String getFailureMessage()
106     {
107         return failureMessage;
108     }
109 
110     public void setFailureMessage( String failureMessage )
111     {
112         this.failureMessage = failureMessage;
113     }
114 
115     public String getFailureDetails()
116     {
117         return failureDetails;
118     }
119 
120     public void setFailureDetails( String failureDetails )
121     {
122         this.failureDetails = failureDetails;
123     }
124 }