TG_002.TC_013 - codemetropolis/CodeMetropolis GitHub Wiki

TG_002.TC_013

Test mapping with custom 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 -o myPlacing.xml"

Expected result:

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