TG_002.TC_010 - codemetropolis/CodeMetropolis GitHub Wiki
TG_002.TC_010
Test mapping with validate parameter with value
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:
- Run "java -jar mapping-1.4.0.jar -i converterToMapping.xml -m sourcemeter_mapping_example_2_0.xml -v true"
Expected result:
The tool warns the user that the validate parameter does not take a value and exits normally without creating the output file.