1 package org.apache.maven.plugin.surefire.report;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.surefire.report.StackTraceWriter;
23
24
25
26
27
28
29
30
31 public class TestMethodStats
32 {
33 private final String testClassMethodName;
34
35 private final ReportEntryType resultType;
36
37 private final StackTraceWriter stackTraceWriter;
38
39 public TestMethodStats( String testClassMethodName, ReportEntryType resultType, StackTraceWriter stackTraceWriter )
40 {
41 this.testClassMethodName = testClassMethodName;
42 this.resultType = resultType;
43 this.stackTraceWriter = stackTraceWriter;
44 }
45
46 public String getTestClassMethodName()
47 {
48 return testClassMethodName;
49 }
50
51 public ReportEntryType getResultType()
52 {
53 return resultType;
54 }
55
56 public StackTraceWriter getStackTraceWriter()
57 {
58 return stackTraceWriter;
59 }
60 }