Class RDToOnto_APITest

    • Constructor Detail

      • RDToOnto_APITest

        public RDToOnto_APITest()
    • Method Detail

      • runOnceBeforeClass

        public static void runOnceBeforeClass()
                                       throws Exception
        Throws:
        Exception
      • transformRDToOnto_NormalXML_OntologyFile01

        public void transformRDToOnto_NormalXML_OntologyFile01()
        test "transform resource description RD_Test_Resource_v1_capaModel2.xml"
      • transformRDToOnto_IdOfRD_OntologyFile01

        public void transformRDToOnto_IdOfRD_OntologyFile01()
        test "transform resource description id rd.testRD.1234"
      • transformRDFromCatalogue_RdIdAndCatalogue_OntoFile01

        public void transformRDFromCatalogue_RdIdAndCatalogue_OntoFile01()
        test "transform resource description id rd.testRD.1234_2 in catalogue "localFilesystemTestResources"
      • transformRDFromCatalogue_RdIdAndListCatalogues_OntoFile01

        public void transformRDFromCatalogue_RdIdAndListCatalogues_OntoFile01()
        test "transform resource description id rd.testRD.1234 in catalogues "localFilesystemTestResources", "localFilesystem1"
      • transformRDFromCatalogue_RdIdsAndCatalogue_OntoFile01

        public void transformRDFromCatalogue_RdIdsAndCatalogue_OntoFile01()
        test "transform resource description id rd.testRD.1234 and rd.testRD.1234_2 in catalogue "localFilesystemTestResources"
      • transformRDFromCatalogue_RdIdsAndListCatalogues_OntoFile01

        public void transformRDFromCatalogue_RdIdsAndListCatalogues_OntoFile01()
        test "transform resource description id rd.testRD.1234 and rd.testRD.1234_2 in catalogues "localFilesystemTestResources" and "localFilesystem1"
      • transformRdFromFolder_OneXml_OntoFile

        public void transformRdFromFolder_OneXml_OntoFile()
        test the method "transformRdFromFolder" input: one xml file in a folder output: an ontology file
      • transformRdFromFolder_AllXmls_OntoFile

        public void transformRdFromFolder_AllXmls_OntoFile()
        test the method "transformRdFromFolder" input: three xml files in a folder output: an ontology file
      • transformRdToOnto_CatalogueAllResources_OntoFile

        public void transformRdToOnto_CatalogueAllResources_OntoFile()
        transform all resources in a catalogue Input: - Catalogue 01: Id : localFilesystemTestResources includeAllResource : true Resource 01 Id : rd.Bosch.ReCaMLab.Gripper-Disc.1 with interface definitions : true Resource 02 Id : rd.MTG.RivetingTool.DZM190-101.1 with interface definitions : true Output: Ontology file not including any resource
      • transformRdToOnto_CatalogueNoResource_OntoFile

        public void transformRdToOnto_CatalogueNoResource_OntoFile()
        transform a resource in a catalogue Input: - Catalogue 01: Id : localFilesystemTestResources includeAllResource : false Resource 01 Id : rd.Bosch.ReCaMLab.Gripper-Disc.1 with interface definitions : true Resource 02 Id : d.MTG.RivetingTool.DZM190-101.1 with interface definitions : true Output: Ontology file not including any resource
      • transformRdToOnto_CatalogueWithTwoResources_OntoFile

        public void transformRdToOnto_CatalogueWithTwoResources_OntoFile()
        transform a resource in a catalogue Input: - Catalogue 01: Id : localFilesystemTestResources includeAllResource : true Resource 01 Id : rd.CosbergSpA.GSOgiva.01.01 with interface definitions : true Resource 02 Id : rd.CosbergSpA.GSOgiva.02.01 with interface definitions : true - Resource : Resource 01 Id : rd.CosbergSpA.GSOgiva.01.01 with interface definitions : true Resource 02 Id : rd.CosbergSpA.GSOgiva.02.01 with interface definitions : true Output: Ontology file
      • transformRdToOnto_OneCatalogueAndOneResource_OntoFile

        public void transformRdToOnto_OneCatalogueAndOneResource_OntoFile()
        Input: - Catalogue 01: Id : Catalogue02 includeAllResource : true Resource 01 Id : rd.CosbergSpA.GSOgiva.01.01 with interface definitions : true Resource 02 Id : rd.Bosch.ReCaMLab.Gripper-Disc.1 with interface definitions : true - Resource 02 Id : rd.Bosch.ReCaMLab.Gripper-Disc.1 with interface definitions : true Output: Ontology file
      • transformRdToOnto_TwoCatalogues_OntoFile

        public void transformRdToOnto_TwoCatalogues_OntoFile()
        Input: Catalogue 01: Id : localFilesystemTestResources includeAllResource : true Resource 01 Id : rd.CosbergSpA.GSOgiva.01.01 with interface definitions : true Catalogue 02: Id : Catalogue02 includeAllResource : true Resource 01 Id : rd.Bosch.ReCaMLab.Gripper-Disc.1 with interface definitions : true Output: Ontology file
      • transformRdToOnto_ResourcePool_OntoFile

        public void transformRdToOnto_ResourcePool_OntoFile()
        Input: ResourcePoolCT: Catalogue 01: Id : localFilesystemTestResources includeAllResource : true Resource 01 Id : rd.CosbergSpA.GSOgiva.01.01 with interface definitions : true Resource 02 Id : rd.MTG.RivetingTool.DZM190-101.1 with interface definitions : true Output: Ontology file
      • transformRdToOnto_ResourceWithOrderedValues_OntoFile

        public void transformRdToOnto_ResourceWithOrderedValues_OntoFile()
                                                                  throws Exception
        Throws:
        Exception
      • transformRdToOnto_Config_OntoFile

        public void transformRdToOnto_Config_OntoFile()
                                               throws Exception
        Throws:
        Exception