Package fi.tut.mei.ontologyClient.model
Class CapabilityTest
- java.lang.Object
-
- fi.tut.mei.ontologyClient.model.CapabilityLibraryTest
-
- fi.tut.mei.ontologyClient.model.CapabilityTest
-
public class CapabilityTest extends CapabilityLibraryTest
- Author:
- trinh
-
-
Field Summary
-
Fields inherited from class fi.tut.mei.ontologyClient.model.CapabilityLibraryTest
client, TEST_RESOURCE_LOCATION, TEST_RESOURCE_ONTOLOGY_LOCATION, TEST_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description CapabilityTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCapabilityAssociationTransporting()
ca1.a Transporting's capability associationsvoid
testCapabilityAssociationTubeFeeding()
ca1.b TubeFeeding's capability associationsvoid
testCapabilityParameterCardinalitiesMoving()
cp2.a: Moving capability parameter cardinalitiesvoid
testCapabilityParameterCardinalitiesPlacing()
cp2.b: TubeFeeding capability parameter cardinalitiesvoid
testCapabilityParameterCardinalitiesScrewing()
cp2.c: Screwing capability parameter cardinalitiesvoid
testCapabilityParameterCardinalitiesTubeFeeding()
cp2.b: TubeFeeding capability parameter cardinalitiesvoid
testCapabilityParametersMoving()
cp1.a: Moving's capability parametersvoid
testCapabilityParametersPlacing()
cp1.d: Placing's capability parametersvoid
testCapabilityParametersScrewing()
cp1.c: Screwing's capability parametersvoid
testCapabilityParametersTubeFeeding()
cp1.b: TubeFeeding's capability parametersvoid
testFormCombinedCapability01()
cc1.a: combined capability of ForceApplying, Releasing, Movingvoid
testFormCombinedCapability02()
cc1.b: combined capability of Transporting, OrientingMechanical, LocatingVisualvoid
testFormCombinedCapability03()
cc1.c: combined capability of combined capability of Transporting, OrientingMechanical, PositioningMechanicalvoid
testFormCombinedCapability04()
cc1.d: combined capability of Transporting, OrientingMechanical, PositioningMechanical, LocatingVisualvoid
testFormCombinedCapability05()
void
testFormInsufficientCapabilities()
cc2: insufficient capabilities Check that the system doesn't produce combined capabilities from incomplete capability requirements.void
testFormMultipleCombinedCapbilities()
cc3: multiple combined capabilities Check that the system can form multiple combined capabilities from the input.void
testParameterInfoAccuracy()
cp3.b: test the parameter info of accuracyvoid
testParameterInfoDiameter()
cp3.d: test the parameter info of diametervoid
testParameterInfoFeedRateMax()
cp3.c: test the parameter info of feedRate_maxvoid
testParameterInfoHoldingForceMax()
cp3.e: test the parameter info of holdingForce_maxvoid
testParameterInfoPayload()
cp3.a: test the parameter info of payloadvoid
testParameterObjectCardinalitiesConeShape()
cp7.c: check the parameter object ConeShape's cardinalitiesvoid
testParameterObjectCardinalitiesCylinderShape()
cp7.a: check the parameter object CylinderShape's cardinalitiesvoid
testParameterObjectCardinalitiesPyramidShape()
cp7.b: check the parameter object PyramidShape's cardinalitiesvoid
testParameterObjectCardinalitiesWorkspaceCartesian()
cp7.d: check the parameter object WorkspaceCartesian's cardinalitiesvoid
testParameterObjectChildrenMovementRange()
cp6.c: check the parameter object MovementRange's childrenvoid
testParameterObjectChildrenShapeDefinition()
cp6.a: check the parameter object ShapeDefinition's childrenvoid
testParameterObjectChildrenWorkspace()
cp6.b: check the parameter object Workspace's childrenvoid
testParameterObjectParametersCylinderShape()
cp5.a: the ParameterObject CylinderShape's parametersvoid
testParameterObjectParametersLinearMovementRange()
cp5.d: the ParameterObject LinearMovementRange's parametersvoid
testParameterObjectParametersPyramidShape()
cp5.b: the ParameterObject PyramidShape's parametersvoid
testParameterObjectParametersSphereShape()
cp5.c: the ParameterObject SphereShape's parametersvoid
testParameterObjectParametersWorkspaceCartesian()
cp5.e: the ParameterObject WorkspaceCartesian's parametersvoid
testValueAlternativesDof()
cp4.a: value alternatives of dofvoid
testValueAlternativesDrillBitType()
cp4.b: value alternatives of drillBitTypevoid
testValueAlternativesFingerType()
cp4.c: value alternatives of fingerType-
Methods inherited from class fi.tut.mei.ontologyClient.model.CapabilityLibraryTest
deleteFile, getListCapabilityNames, setUp, setUpBeforeClass, tearDown, tearDownAfterClass, testCapabilityParams, testResourceCapabilities, testSearchCapability
-
-
-
-
Method Detail
-
testCapabilityParametersMoving
public void testCapabilityParametersMoving()
cp1.a: Moving's capability parameters
-
testCapabilityParametersTubeFeeding
public void testCapabilityParametersTubeFeeding()
cp1.b: TubeFeeding's capability parameters
-
testCapabilityParametersScrewing
public void testCapabilityParametersScrewing()
cp1.c: Screwing's capability parameters
-
testCapabilityParametersPlacing
public void testCapabilityParametersPlacing()
cp1.d: Placing's capability parameters
-
testCapabilityParameterCardinalitiesMoving
public void testCapabilityParameterCardinalitiesMoving()
cp2.a: Moving capability parameter cardinalities
-
testCapabilityParameterCardinalitiesTubeFeeding
public void testCapabilityParameterCardinalitiesTubeFeeding()
cp2.b: TubeFeeding capability parameter cardinalities
-
testCapabilityParameterCardinalitiesScrewing
public void testCapabilityParameterCardinalitiesScrewing()
cp2.c: Screwing capability parameter cardinalities
-
testCapabilityParameterCardinalitiesPlacing
public void testCapabilityParameterCardinalitiesPlacing()
cp2.b: TubeFeeding capability parameter cardinalities
-
testParameterInfoPayload
public void testParameterInfoPayload()
cp3.a: test the parameter info of payload
-
testParameterInfoAccuracy
public void testParameterInfoAccuracy()
cp3.b: test the parameter info of accuracy
-
testParameterInfoFeedRateMax
public void testParameterInfoFeedRateMax()
cp3.c: test the parameter info of feedRate_max
-
testParameterInfoDiameter
public void testParameterInfoDiameter()
cp3.d: test the parameter info of diameter
-
testParameterInfoHoldingForceMax
public void testParameterInfoHoldingForceMax()
cp3.e: test the parameter info of holdingForce_max
-
testValueAlternativesDof
public void testValueAlternativesDof()
cp4.a: value alternatives of dof
-
testValueAlternativesDrillBitType
public void testValueAlternativesDrillBitType()
cp4.b: value alternatives of drillBitType
-
testValueAlternativesFingerType
public void testValueAlternativesFingerType()
cp4.c: value alternatives of fingerType
-
testParameterObjectParametersCylinderShape
public void testParameterObjectParametersCylinderShape()
cp5.a: the ParameterObject CylinderShape's parameters
-
testParameterObjectParametersPyramidShape
public void testParameterObjectParametersPyramidShape()
cp5.b: the ParameterObject PyramidShape's parameters
-
testParameterObjectParametersSphereShape
public void testParameterObjectParametersSphereShape()
cp5.c: the ParameterObject SphereShape's parameters
-
testParameterObjectParametersLinearMovementRange
public void testParameterObjectParametersLinearMovementRange()
cp5.d: the ParameterObject LinearMovementRange's parameters
-
testParameterObjectParametersWorkspaceCartesian
public void testParameterObjectParametersWorkspaceCartesian()
cp5.e: the ParameterObject WorkspaceCartesian's parameters
-
testParameterObjectChildrenShapeDefinition
public void testParameterObjectChildrenShapeDefinition()
cp6.a: check the parameter object ShapeDefinition's children
-
testParameterObjectChildrenWorkspace
public void testParameterObjectChildrenWorkspace()
cp6.b: check the parameter object Workspace's children
-
testParameterObjectChildrenMovementRange
public void testParameterObjectChildrenMovementRange()
cp6.c: check the parameter object MovementRange's children
-
testParameterObjectCardinalitiesCylinderShape
public void testParameterObjectCardinalitiesCylinderShape()
cp7.a: check the parameter object CylinderShape's cardinalities
-
testParameterObjectCardinalitiesPyramidShape
public void testParameterObjectCardinalitiesPyramidShape()
cp7.b: check the parameter object PyramidShape's cardinalities
-
testParameterObjectCardinalitiesConeShape
public void testParameterObjectCardinalitiesConeShape()
cp7.c: check the parameter object ConeShape's cardinalities
-
testParameterObjectCardinalitiesWorkspaceCartesian
public void testParameterObjectCardinalitiesWorkspaceCartesian()
cp7.d: check the parameter object WorkspaceCartesian's cardinalities
-
testFormCombinedCapability01
public void testFormCombinedCapability01()
cc1.a: combined capability of ForceApplying, Releasing, Moving
-
testFormCombinedCapability02
public void testFormCombinedCapability02()
cc1.b: combined capability of Transporting, OrientingMechanical, LocatingVisual
-
testFormCombinedCapability03
public void testFormCombinedCapability03()
cc1.c: combined capability of combined capability of Transporting, OrientingMechanical, PositioningMechanical
-
testFormCombinedCapability04
public void testFormCombinedCapability04()
cc1.d: combined capability of Transporting, OrientingMechanical, PositioningMechanical, LocatingVisual
-
testFormCombinedCapability05
public void testFormCombinedCapability05()
-
testFormInsufficientCapabilities
public void testFormInsufficientCapabilities()
cc2: insufficient capabilities Check that the system doesn't produce combined capabilities from incomplete capability requirements. In this case that Capabilities Moving and ForceApplying do not produce anything.
-
testFormMultipleCombinedCapbilities
public void testFormMultipleCombinedCapbilities()
cc3: multiple combined capabilities Check that the system can form multiple combined capabilities from the input. In this case that capabilities Moving and FingerGrasping produce the capabilities Transporting and Picking.
-
testCapabilityAssociationTransporting
public void testCapabilityAssociationTransporting()
ca1.a Transporting's capability associations
-
testCapabilityAssociationTubeFeeding
public void testCapabilityAssociationTubeFeeding()
ca1.b TubeFeeding's capability associations
-
-