de.smartics.testdoc.report.junit
Class JUnitTestMethodDoc

Package class diagram package JUnitTestMethodDoc
java.lang.Object
  extended by de.smartics.testdoc.report.junit.JUnitTestMethodDoc
All Implemented Interfaces:
Serializable

public class JUnitTestMethodDoc
     
     
extends Object
implements Serializable

Contains the information of one JUnit test case result.

Author:
Robert Reiner
See Also:
Serialized Form

Nested Class Summary
static class JUnitTestMethodDoc.ResultType
          The result type of the test case.
 
Constructor Summary
JUnitTestMethodDoc(JUnitTestMethodDoc.ResultType resultType, String time, String testCaseType, String testMethodName)
          Convenience constructor.
JUnitTestMethodDoc(JUnitTestMethodDoc.ResultType resultType, String time, Type testCaseType, String testMethodName)
          Default constructor.
 
Method Summary
 JUnitTestMethodDoc.ResultType getResultType()
          Returns the result type of the test case.
 Type getTestCaseType()
          Returns the type of the test case class that contains the test method.
 String getTestMethodName()
          Returns the name of the test method.
 String getTime()
          Returns the reported duration of the test case execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestMethodDoc

public JUnitTestMethodDoc(JUnitTestMethodDoc.ResultType resultType,
                          String time,
                          String testCaseType,
                          String testMethodName)
Convenience constructor.

Parameters:
resultType - the result type of the test case.
time - the reported duration of the test case execution.
testCaseType -
testMethodName - the name of the test method.

JUnitTestMethodDoc

public JUnitTestMethodDoc(JUnitTestMethodDoc.ResultType resultType,
                          String time,
                          Type testCaseType,
                          String testMethodName)
Default constructor.

Parameters:
resultType - the result type of the test case.
time - the reported duration of the test case execution.
testCaseType - the type of the test case class that contains the test method.
testMethodName - the name of the test method.
Method Detail

getResultType

public JUnitTestMethodDoc.ResultType getResultType()
Returns the result type of the test case.

Returns:
the result type of the test case.

getTime

public String getTime()
Returns the reported duration of the test case execution.

Returns:
the reported duration of the test case execution.

getTestCaseType

public Type getTestCaseType()
Returns the type of the test case class that contains the test method.

Returns:
the type of the test case class that contains the test method.

getTestMethodName

public String getTestMethodName()
Returns the name of the test method.

Returns:
the name of the test method.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.