TG_001.TC_010 - codemetropolis/CodeMetropolis GitHub Wiki

TG_001.TC_010

Test conversion with invalid output parameter

Pre-requisites:

  • Windows operating system where drive "W" does not exist

  • 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 -o W:/out.xml"

Expected result:

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