Class BaseRDToOntoTest

    • Constructor Detail

      • BaseRDToOntoTest

        public BaseRDToOntoTest()
    • Method Detail

      • setUpBeforeClass

        public static void setUpBeforeClass()
                                     throws Exception
        Throws:
        Exception
      • tearDownAfterClass

        public static void tearDownAfterClass()
                                       throws Exception
        Throws:
        Exception
      • checkBlueprintObject

        protected void checkBlueprintObject​(fi.tut.mei.capabilityQueryLib.model.Blueprint blueprint,
                                            String expectedType,
                                            Map<String,​Map<String,​String>> expectedParamVals,
                                            Map<String,​Map<String,​List<String>>> expectedParamObjVals,
                                            Map<String,​String> expectedBasicResourceInfos)
        Check the content of blueprint
        Parameters:
        blueprint - blueprint object
        expectedType - expected type of blueprint
        expectedParamVals - expected parameter values
        expectedParamObjVals - expected parameter object values
        expectedBasicResourceInfos - expected basic resource information
      • checkCapabilityParams_AllParams_Correct

        protected void checkCapabilityParams_AllParams_Correct​(String name,
                                                               List<fi.tut.mei.capabilityQueryLib.model.ResourceCapability> resourceCapabilities,
                                                               Map<String,​Map<String,​String>> expectedParamVals,
                                                               Map<String,​Map<String,​List<String>>> expectedParamObjVals)
        test content of capabilities parameters
        Parameters:
        name - name of blueprint or individual device or capability combination
        resourceCapabilities - list of resource capabilities
        expectedParamVals - expected parameter values
        expectedParamObjVals - expected parameter object values