|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.test.framework.info.TestItemInfo
org.jboss.portal.test.framework.info.TestInfo
public class TestInfo
Meta information that describe a test.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.portal.test.framework.info.TestItemInfo |
|---|
TestItemInfo.AbstractVisitor, TestItemInfo.Visitor |
| Field Summary |
|---|
| Fields inherited from class org.jboss.portal.test.framework.info.TestItemInfo |
|---|
description, name, parent |
| Constructor Summary | |
|---|---|
TestInfo(java.lang.String name)
Create a named test. |
|
TestInfo(java.lang.String name,
java.lang.String description)
Create a named test. |
|
TestInfo(TestInfo that)
Copy constructor. |
|
| Method Summary | |
|---|---|
void |
addParameter(TestParameterInfo parameter)
Add a test required to execute the test. |
TestItemInfo |
createClone()
Create a deep clone of the current item in a detyped manner. |
TestItemInfo |
findItem(java.lang.String itemId)
Find an item within the scope of the current item. |
TestParameterInfo |
getParameter(java.lang.String parameterName)
Return a specified parameter. |
java.util.Set |
getParameterNames()
Return the set of parameter names. |
protected void |
internalVisit(TestItemInfo.Visitor visitor)
|
java.lang.String |
toString()
|
| Methods inherited from class org.jboss.portal.test.framework.info.TestItemInfo |
|---|
getDescription, getId, getName, getParent, internalGetId, internalGetId, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestInfo(TestInfo that)
throws java.lang.IllegalArgumentException
that - the structure to copy
java.lang.IllegalArgumentException - if the test to copy is null
public TestInfo(java.lang.String name)
throws java.lang.IllegalArgumentException
name - the test name
java.lang.IllegalArgumentException - if the name is null
public TestInfo(java.lang.String name,
java.lang.String description)
throws java.lang.IllegalArgumentException
name - the test namedescription - the test description
java.lang.IllegalArgumentException - if the name is null| Method Detail |
|---|
public TestItemInfo createClone()
TestItemInfo
createClone in class TestItemInfo
public void addParameter(TestParameterInfo parameter)
throws java.lang.IllegalArgumentException
parameter - the parameter to add
java.lang.IllegalArgumentException - if the parameter is null or already exisingpublic java.util.Set getParameterNames()
public TestParameterInfo getParameter(java.lang.String parameterName)
throws java.lang.IllegalArgumentException
parameterName - the parameter name to retrieve
java.lang.IllegalArgumentException - if the parameter name is nullpublic TestItemInfo findItem(java.lang.String itemId)
TestItemInfo
findItem in class TestItemInfoitemId - the item id to find
protected void internalVisit(TestItemInfo.Visitor visitor)
internalVisit in class TestItemInfopublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||