|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TestFixture becomes an instance variable of a TestCase. Any number of TestFixtures may be added to a TestCase. It is the responsability of the TestFixture to install itself to the TestCase and configure the JProject that is to run the TestCase. Since TestFixtures are instance variables, they also control the variable name prefix that is to be generated into the TestCase. The TestFixture class is the most important class for purposes of extensibility. We expect that the other Jdeveloper components will add testability to their components by specializing the TestFixture class. A TestFixture will implement the technology-specific test behaviors.
Method Summary | |
void |
commitChanges()
Commits all the generated code into the source file. |
void |
configureProject(JProject project)
Configures the project for this TestFixture. |
JotClass |
getJotClass()
Returns the JotClass for the TestFixture implementation class. |
java.lang.String |
getVariableNameInTest(TestCase testCase)
Utility method to retrieve the variable name for this TestFixture. |
java.lang.String |
getVariableNamePrefix()
Returns the variable name prefix that is to be used by this fixture's instance variable. |
void |
installToTestCase(TestCase testCase)
The TestCase will call this function to allow then TestFixture to isntall itself to the TestCase. |
void |
setVariableNamePrefix(java.lang.String sPrefix)
Sets the variable name prefix that is to be used by this fixture's instance variable. |
Method Detail |
public void configureProject(JProject project)
public void installToTestCase(TestCase testCase)
public JotClass getJotClass()
public java.lang.String getVariableNamePrefix()
public void setVariableNamePrefix(java.lang.String sPrefix)
public void commitChanges()
public java.lang.String getVariableNameInTest(TestCase testCase)
|
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.