|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mtp.pounder.TestInstanceFactory
Manufactures an instance of the test object type for testing.
| Field Summary | |
protected String |
setupClass
|
| Constructor Summary | |
TestInstanceFactory(Element e)
|
|
TestInstanceFactory(String setupClass)
|
|
| Method Summary | |
boolean |
equals(Object o)
Returns true if 'setupClass' is equal. |
String |
getSetupClass()
|
Object |
instantiateInstance()
Instantiate an instance of 'setupClass' using my ClassLoader. |
protected Object |
instantiateInstance(ClassLoader cl)
Instantiate an instance of 'setupClass' using the given ClassLoader. |
void |
showNewTestInstance(ClassLoader cl,
PounderPrefs prefs)
Instantiates a new test instance using the given ClassLoader and wraps it in a Window at the location specified by the given PounderPrefs. |
Object |
showNewTestInstance(ClassLoader cl,
PounderPrefs prefs,
WindowWatcher ww)
Instantiates a new test instance using the given ClassLoader and wraps it in a Window at the location specified by the given PounderPrefs. |
Object |
showNewTestInstance(PounderPrefs prefs,
WindowWatcher ww)
Instantiates a new test instance and wraps it in a Window at the location specified by the given PounderPrefs. |
String |
toString()
|
Element |
toXML(Document doc)
XML representation of TestInstanceFactory. |
Window |
wrapInWindow(Object object,
PounderPrefs prefs)
Wraps the given object in a Window, and places it at the location given in PounderPrefs. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String setupClass
| Constructor Detail |
public TestInstanceFactory(Element e)
throws Exception
public TestInstanceFactory(String setupClass)
| Method Detail |
public String getSetupClass()
public Object showNewTestInstance(PounderPrefs prefs,
WindowWatcher ww)
throws Exception
Exception
public Object showNewTestInstance(ClassLoader cl,
PounderPrefs prefs,
WindowWatcher ww)
throws Exception
Exception
public void showNewTestInstance(ClassLoader cl,
PounderPrefs prefs)
throws Exception
Exception
public Object instantiateInstance()
throws Exception
Exception
protected Object instantiateInstance(ClassLoader cl)
throws Exception
Exception
public Window wrapInWindow(Object object,
PounderPrefs prefs)
throws Exception
object - May be a Component, Window, or ComponentConduit.prefs - Will be used to obtain the window location if necessary.
Exceptionpublic String toString()
toString in class Objectpublic Element toXML(Document doc)
public boolean equals(Object o)
equals in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||