public class TestCase extends Object
Modifier and Type | Method and Description |
---|---|
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) |
public TestCase andTime(double time)
public TestCase withFailure(TestException failure)
public TestCase withError(TestException error)
public String getName()
public String getClassname()
public double getTime()
public com.google.common.base.Optional<TestException> getFailure()
public com.google.common.base.Optional<TestException> getError()
public com.google.common.base.Optional<Skip> getSkipped()
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.