TG_002.TC_002 - codemetropolis/CodeMetropolis GitHub Wiki

TG_002.TC_002

Test mapping with non-existent mapping file

Pre-requisites:

  • Java runtime 1.8

  • converterToMapping.xml exists in the mapping-1.4.0.jar's folder and is a valid cdfFile

  • missing.xml should not exist

  • 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 missing.xml"

Expected result:

The tool warns the user that the mapping file does not exist and exits normally without creating the output file.