net.thucydides.core.reports.adaptors.xunit.model
Class TestCase

Package class diagram package TestCase
java.lang.Object
  extended by net.thucydides.core.reports.adaptors.xunit.model.TestCase

public class TestCase
extends Object


Method Summary
 TestCase andClassname(String classname)
           
 TestCase andTime(double time)
           
 String getClassname()
           
 com.google.common.base.Optional<TestException> getError()
           
 com.google.common.base.Optional<TestException> getFailure()
           
 String getName()
           
 com.google.common.base.Optional<Skip> getSkipped()
           
 double getTime()
           
 TestCase wasSkipped(String message)
           
 TestCase withError(TestException error)
           
 TestCase withFailure(TestException failure)
           
static TestCase withName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withName

public static TestCase withName(String name)

andClassname

public TestCase andClassname(String classname)

andTime

public TestCase andTime(double time)

withFailure

public TestCase withFailure(TestException failure)

withError

public TestCase withError(TestException error)

wasSkipped

public TestCase wasSkipped(String message)

getName

public String getName()

getClassname

public String getClassname()

getTime

public double getTime()

getFailure

public com.google.common.base.Optional<TestException> getFailure()

getError

public com.google.common.base.Optional<TestException> getError()

getSkipped

public com.google.common.base.Optional<Skip> getSkipped()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.