TG_002.TC_001 - codemetropolis/CodeMetropolis GitHub Wiki
TG_002.TC_001
Test mapping with non-existent cdfFile
Pre-requisites:
-
Java runtime 1.8
-
missing.xml should not exist
-
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 missing.xml -m sourcemeter_mapping_example_2_0.xml"
Expected result:
The tool warns the user that the input cdfFile does not exist and exits normally without creating the output file.