public class FunctionTestDef extends Annotated
TEST_CASE_PROPERTIES
Constructor and Description |
---|
FunctionTestDef()
Creates a new FunctionTestDef object.
|
FunctionTestDef(String name)
Creates a new FunctionTestDef object.
|
Modifier and Type | Method and Description |
---|---|
FunctionTestDef |
addTestCase(TestCase testCase)
Adds a new test case.
|
boolean |
equals(Object object) |
protected int |
findTestCase(int id)
Returns the index of the test case with the given id.
|
String |
getName()
Returns the function name.
|
TestCase |
getTestCase(int id)
Returns the test case with the given id.
|
Iterator<TestCase> |
getTestCases()
Returns the test cases for this function.
|
int |
hashCode() |
FunctionTestDef |
removeTestCase(int id)
Removes a test case.
|
void |
setName(String name)
Changes the function name.
|
String |
toString() |
addAnnotations, getAnnotation, getAnnotationCount, getAnnotationList, getAnnotations, setAnnotation, setAnnotationList
public FunctionTestDef()
public FunctionTestDef(String name)
public void setName(String name)
public String getName()
public FunctionTestDef addTestCase(TestCase testCase)
public FunctionTestDef removeTestCase(int id)
public TestCase getTestCase(int id)
protected int findTestCase(int id)
Copyright © 2024 The Cornutum Project. All rights reserved.