|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TestCase interface defines the common set of functions that a Jdeveloper TestCase generator will implement. A TestCase generater gets added to a Testsuite. It's responsible for installing itself into the TestSuite. The common operation for installing itself is to generate the proper lines into the TestSuite's suite() method. The TestCase also need to make sure that it invokes the installToTestCase() method for each test fixture .
Method Summary | |
void |
addTestFixture(TestFixture newFixture)
Adds a TestFixture to this TestCase. |
void |
addTestMethod(JotMethod method)
Adds a method to be tested. |
void |
addToSuiteMethod(TestCaseContainer suite,
JotMethod method)
This method is called by the TestSuite to give the TestCase the opportunity to install itself into the TestSuite's suite() method. |
void |
commitChanges()
This method cause all the code generation to be committed to the source file. |
JotClass |
getJotClass()
Returns the JotClass that has been generated for this TestCase. |
java.lang.String |
getName()
Name to be used for the TestCase. |
JProject |
getProject()
Returns the JProject that will contain the newly generated TestCase. |
Method Detail |
public void addToSuiteMethod(TestCaseContainer suite, JotMethod method)
public java.lang.String getName()
public void addTestFixture(TestFixture newFixture)
public JProject getProject()
public JotClass getJotClass()
public void commitChanges()
public void addTestMethod(JotMethod method)
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.