public abstract class TestDomainImplementation extends TestDomain
TestContext
.Constructor and Description |
---|
TestDomainImplementation(java.lang.String domainName) |
TestDomainImplementation(java.lang.String domainName,
boolean isGraphical) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Compares two domains based on name.
|
FindResult |
find(com.rational.test.ft.object.map.IMappedTestObject[] pathToFind) |
abstract int |
getActionRecordingFlags()
Returns the bits that control the recording of actions for objects belonging to this
domain.
|
ProxyTestObject |
getDescribedObject(DescribedObject describedObject)
Find the object described by the set of properties in the DescribedObject.
|
abstract DomainProxy |
getDomainProxy()
Returns the proxy for this domain object.
|
abstract java.lang.String |
getImplementationName()
Returns the name of the domain implementation.
|
abstract ProxyTestObject |
getProxy(java.lang.Object theObject)
Returns a proxy object for the specified object.
|
abstract ProxyTestObject |
getTopLevelObject(Window window)
Returns the
topLevelObject that matches the specified window. |
ProxyTestObject |
getTopLevelObject(Window topWindow,
Window pointWindow) |
abstract java.util.Enumeration |
getTopLevelObjects()
Returns an enumeration for the top-level objects within this
domain implementation.
|
abstract void |
registerProxies(java.util.Enumeration proxies)
Registers proxies for this domain implementation.
|
boolean |
supportVOMOptimization(int optimizationCode,
ProxyTestObject selectedObject)
Return true if the domain support different Visual Object Map Optimizations.
|
getName, isGraphical, isNamed
public TestDomainImplementation(java.lang.String domainName)
public TestDomainImplementation(java.lang.String domainName, boolean isGraphical)
public abstract java.lang.String getImplementationName()
public abstract java.util.Enumeration getTopLevelObjects()
public abstract ProxyTestObject getTopLevelObject(Window window)
topLevelObject
that matches the specified window.
This method should throw an exception if the domain is not
graphical. If the Window cannot be matched, a value of null
should be returned.window
- The window object to match.null
if not found.public ProxyTestObject getTopLevelObject(Window topWindow, Window pointWindow)
public abstract ProxyTestObject getProxy(java.lang.Object theObject)
null
object should be returned.theObject
- The object to return a proxy object for.public boolean equals(java.lang.Object other)
TestDomain
equals
in class TestDomain
public abstract void registerProxies(java.util.Enumeration proxies)
public abstract DomainProxy getDomainProxy()
public abstract int getActionRecordingFlags()
public ProxyTestObject getDescribedObject(DescribedObject describedObject)
public FindResult find(com.rational.test.ft.object.map.IMappedTestObject[] pathToFind)
public boolean supportVOMOptimization(int optimizationCode, ProxyTestObject selectedObject)
optimizationCode
- The different optimizationsselectedObject
- The selected ProxyTestObject