|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javagen.agile.core.model.AbstractModel
org.javagen.funcgen.model.PermutationsGroup
public class PermutationsGroup
A permutation group represents a specific set of test properties and a set of values for those properties that are to be tested. Use permutation groups when a test condition can't be represented using a single property. A good example of a is a set of database properties:
<permutationsGroup name="Database tests">
<permutationSet name="Test on Oracle">
<context>
<entry key="dbUrl"><value>jdbc:oracle:thin:(HOST=dev03.javagen.com)</value></entry>
<entry key="username"><value>tiger</value></entry>
</context>
</permutationSet>
<permutationSet name="Test on HSQL">
<context>
<entry key="dbUrl"><value>jdbc:hsqldb:hsql://localhost/testdb</value></entry>
<entry key="username"><value>sa</value></entry>
</context>
</permutationSet>
</permutationsGroup>
| Field Summary | |
|---|---|
static String |
DEFAULT_MODEL_TYPE
|
| Fields inherited from class org.javagen.agile.core.model.AbstractModel |
|---|
childModels, context, id, modelType, name, parentModel |
| Constructor Summary | |
|---|---|
PermutationsGroup()
|
|
PermutationsGroup(String name)
|
|
| Method Summary | |
|---|---|
void |
addPermutationSet(PermutationSet set)
|
List<PermutationSet> |
getPermutationSets()
Returns child PermutationSet instances. |
| Methods inherited from class org.javagen.agile.core.model.AbstractModel |
|---|
addChildModel, allOwnedModels, copyTo, equals, get, getChildModels, getContext, getId, getModelType, getName, getParentModel, lookupChildByName, put, setChildModels, setContext, setId, setModelType, setName, setParentModel, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_MODEL_TYPE
| Constructor Detail |
|---|
public PermutationsGroup()
public PermutationsGroup(String name)
| Method Detail |
|---|
public void addPermutationSet(PermutationSet set)
public List<PermutationSet> getPermutationSets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||