public abstract class AbstractCmisTest extends Object implements CmisTest
Constructor and Description |
---|
AbstractCmisTest() |
public void init(Map<String,String> parameters)
CmisTest
public String getName()
CmisTest
public void setName(String name)
public String getDescription()
CmisTest
getDescription
in interface CmisTest
public void setDescription(String description)
public void setGroup(AbstractCmisTestGroup group)
public AbstractCmisTestGroup getGroup()
public abstract void run() throws Exception
CmisTest
public List<CmisTestResult> getResults()
CmisTest
CmisTest.run()
has be called.getResults
in interface CmisTest
public boolean isEnabled()
CmisTest
public void setEnabled(boolean enabled)
CmisTest
setEnabled
in interface CmisTest
public long getTime()
CmisTest
public void setTime(long time)
public CmisTestResultImpl createResult(CmisTestResultStatus status, String message, Throwable exception, boolean isFatal)
public CmisTestResultImpl createResult(CmisTestResultStatus status, String message, boolean isFatal)
public CmisTestResultImpl createResult(CmisTestResultStatus status, String message)
public CmisTestResultImpl createInfoResult(String message)
public void addResult(CmisTestResult result)
protected StackTraceElement[] getStackTrace()
protected CmisTestResult addResultChild(CmisTestResult result, CmisTestResult child)
protected CmisTestResult assertIsTrue(Boolean test, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertIsFalse(Boolean test, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertNull(Object object, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertNotNull(Object object, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertStringNullOrEmpty(String str, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertStringNotEmpty(String str, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertListNotEmpty(List<?> list, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertListNullOrEmpty(List<?> list, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertEquals(Object expected, Object actual, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertContains(Collection<?> collection, Object value, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertEqualLists(List<?> expected, List<?> actual, CmisTestResult success, CmisTestResult failure)
protected CmisTestResult assertEqualSet(Set<?> expected, Set<?> actual, CmisTestResult success, CmisTestResult failure)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.