|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsystem.framework.analyzer.AnalyzerImpl
jsystem.framework.system.SystemObjectImpl
System Object is a convention to represent the setup/system you are working on with a single object. The steps in the tests will be operations on the setup/system object.
Field Summary | |
protected boolean |
isClosed
|
protected Properties |
properties
|
protected Reporter |
report
|
protected Sut |
sut
|
protected SystemObjectManager |
system
|
protected SystemObjectManager |
systemManager
|
protected Vector |
systemObjects
|
Fields inherited from interface jsystem.framework.system.SystemObject |
PERMANENT_LIFETIME, TEST_LIFETIME |
Constructor Summary | |
SystemObjectImpl()
|
Method Summary | |
void |
close()
Close the object. |
protected void |
closeFields()
|
protected String |
fixPath(String relativePath)
|
int |
getLifeTime()
Get the object lifetime. |
String |
getName()
Get the system object name. |
String |
getXPath()
Get the object XPath in the sut XML file. |
void |
init()
Init the system object. |
protected void |
initFields()
|
boolean |
isClosed()
Is the object close. |
void |
setClose(boolean isClosed)
Set the object isClosed status. |
void |
setLifeTime(int lifeTime)
Set the object lifetime. |
void |
setName(String name)
Set the System Object name. |
protected void |
setSetters()
|
void |
setXPath(String path)
Set the object XPath. |
Methods inherited from class jsystem.framework.analyzer.AnalyzerImpl |
analyze, analyze, getTestAgainstObject, setTestAgainsObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean isClosed
protected SystemObjectManager system
protected Sut sut
protected Reporter report
protected SystemObjectManager systemManager
protected Vector systemObjects
protected Properties properties
Constructor Detail |
public SystemObjectImpl()
Method Detail |
public void setName(String name)
setName
in interface SystemObject
name
- The object name.public String getName()
getName
in interface SystemObject
public int getLifeTime()
getLifeTime
in interface SystemObject
public void setLifeTime(int lifeTime)
setLifeTime
in interface SystemObject
lifeTime
- The object lifetime.public String getXPath()
getXPath
in interface SystemObject
public void setXPath(String path)
setXPath
in interface SystemObject
path
- Object XPath.public boolean isClosed()
isClosed
in interface SystemObject
public void setClose(boolean isClosed)
setClose
in interface SystemObject
isClosed
- the isClosed status.protected void initFields() throws Exception
Exception
protected void setSetters()
public void init() throws Exception
SystemObject
init
in interface SystemObject
Exception
protected void closeFields()
public void close()
SystemObject
close
in interface SystemObject
protected String fixPath(String relativePath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |