TG_002.TC_012 - codemetropolis/CodeMetropolis GitHub Wiki

TG_002.TC_012

Test mapping with default output parameter

Pre-requisites:

  • Java runtime 1.8 -

  • converterToMapping.xml exists in the mapping-1.4.0.jar's folder and is a valid cdfFile (produced by converter-1.4.0.jar with the input codemetropolis-toolchain-commons.graph) -

  • sourcemeter_mapping_example_2_0.xml mapping description exists in the mapping-1.4.0.jar's folder and is valid

  • command line opened in the folder of mapping-1.4.0.jar

Steps:

  1. Run "java -jar mapping-1.4.0.jar -i converterToMapping.xml -m sourcemeter_mapping_example_2_0.xml"

Expected result:

The tool finishes without any errors and produces a valid xml file called "mappingToPlacing.xml" in the mapping-1.4.0.jar's folder