ch.qos.mistletoe.core
Class TestReport

java.lang.Object
  extended by ch.qos.mistletoe.core.TestReport
All Implemented Interfaces:
Serializable

public class TestReport
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String FAILURE_COLOR
           
static String SUCCESS_COLOR
           
 
Constructor Summary
TestReport(org.junit.runner.Description description, MistletoeCore mCore)
           
 
Method Summary
 double cumulativedRuntime()
           
 boolean equals(Object obj)
           
 List<TestReport> getChildren()
           
 String getDisplayName()
           
static TestReport getFistChildIfNecessary(TestReport description)
           
 double getRuntime()
           
 int getTestCount()
           
 Throwable getThrowable()
           
 int getTotalFailures()
           
 boolean hasFailures()
           
 int hashCode()
           
 boolean isSuite()
           
 boolean isTest()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FAILURE_COLOR

public static final String FAILURE_COLOR
See Also:
Constant Field Values

SUCCESS_COLOR

public static final String SUCCESS_COLOR
See Also:
Constant Field Values
Constructor Detail

TestReport

public TestReport(org.junit.runner.Description description,
                  MistletoeCore mCore)
Method Detail

getDisplayName

public String getDisplayName()

getRuntime

public double getRuntime()

getTotalFailures

public int getTotalFailures()

getFistChildIfNecessary

public static TestReport getFistChildIfNecessary(TestReport description)

getTestCount

public int getTestCount()

getChildren

public List<TestReport> getChildren()

isSuite

public boolean isSuite()

isTest

public boolean isTest()

hasFailures

public boolean hasFailures()

getThrowable

public Throwable getThrowable()

cumulativedRuntime

public double cumulativedRuntime()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2013 QOS.ch. All Rights Reserved.