TG_001.TC_005 - codemetropolis/CodeMetropolis GitHub Wiki

TG_001.TC_005

Test conversion with invalid parameter

Pre-requisites:

  • Java runtime 1.8

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

  • codemetropolis-toolchain-commons.graph SM output exists in the converter-1.4.0.jar's folder and is valid

Steps:

  1. Run "java -jar converter-1.4.0.jar -t sourcemeter -i codemetropolis-toolchain-commons.graph -p a=b"

Expected result:

The tool warns the user that the parameter name and value is unknown and exits normally without creating the output file.