com.silverpeas.pdc
Class TestResources
java.lang.Object
com.silverpeas.pdc.TestResources
@Named
public final class TestResources
- extends Object
It wraps the resources and the parameters to use in the unit tests
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_INSTANCE_1_ID
public static final String COMPONENT_INSTANCE_1_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_2_ID
public static final String COMPONENT_INSTANCE_2_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_3_ID
public static final String COMPONENT_INSTANCE_3_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_1_NODE_1_ID
public static final String COMPONENT_INSTANCE_1_NODE_1_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_1_NODE_2_ID
public static final String COMPONENT_INSTANCE_1_NODE_2_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_2_NODE_1_ID
public static final String COMPONENT_INSTANCE_2_NODE_1_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_2_NODE_2_ID
public static final String COMPONENT_INSTANCE_2_NODE_2_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_3_NODE_1_ID
public static final String COMPONENT_INSTANCE_3_NODE_1_ID
- See Also:
- Constant Field Values
COMPONENT_INSTANCE_3_NODE_2_ID
public static final String COMPONENT_INSTANCE_3_NODE_2_ID
- See Also:
- Constant Field Values
CONTENT_ID
public static final String CONTENT_ID
- See Also:
- Constant Field Values
UNEXISTING_NODE_ID
public static final String UNEXISTING_NODE_ID
- See Also:
- Constant Field Values
TestResources
public TestResources()
init
@PostConstruct
protected void init()
addTreeNode
public TreeNode addTreeNode(String nodeId,
String treeId,
String parentNodeId,
String label)
unexistingNodeId
public String unexistingNodeId()
componentInstanceWithAPredefinedClassification
public String componentInstanceWithAPredefinedClassification()
componentInstanceWithOnlyAWholePredefinedClassification
public String componentInstanceWithOnlyAWholePredefinedClassification()
componentInstanceWithoutPredefinedClassification
public String componentInstanceWithoutPredefinedClassification()
nodesIdOfComponentInstance
public List<String> nodesIdOfComponentInstance(String componentInstanceId)
predefinedClassificationForComponentInstance
public PdcClassification predefinedClassificationForComponentInstance(String instanceId)
predefinedClassificationForNode
public PdcClassification predefinedClassificationForNode(String nodeId,
String instanceId)
predefinedClassificationForNodesInOrder
public List<PdcClassification> predefinedClassificationForNodesInOrder(List<String> nodeIds)
aRandomlyPdcAxisValue
public PdcAxisValue aRandomlyPdcAxisValue()
classificationsHavingAsValue
public List<PdcClassification> classificationsHavingAsValue(PdcAxisValue value)
Copyright © 2016 Silverpeas. All Rights Reserved.