|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.test.framework.TestParametrization
public class TestParametrization
The parametrization of a test.
| Constructor Summary | |
|---|---|
TestParametrization()
|
|
TestParametrization(java.util.Map parameterValues)
|
|
| Method Summary | |
|---|---|
java.util.Collection |
create(TestInfo info)
Build a collection of parametrization that satisfies the parameters exposed by the test meta information and the parameter provided by the map. |
TestParameterValue |
getParameterValue(java.lang.String parameterName)
Return a parameter value. |
boolean |
isEmpty()
|
void |
setParameterValue(java.lang.String parameterName,
TestParameterValue parameterValue)
Set a parameter value, using a null value will remove the parameter. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestParametrization()
public TestParametrization(java.util.Map parameterValues)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException| Method Detail |
|---|
public void setParameterValue(java.lang.String parameterName,
TestParameterValue parameterValue)
throws java.lang.IllegalArgumentException
parameterName - the parameter nameparameterValue - the parameter value
java.lang.IllegalArgumentException - if the parameter name is null
public TestParameterValue getParameterValue(java.lang.String parameterName)
throws java.lang.IllegalArgumentException
parameterName - the parameter name
java.lang.IllegalArgumentException - if the parameter name is nullpublic boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Collection create(TestInfo info)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||