TG_003.TC_009 - codemetropolis/CodeMetropolis GitHub Wiki

TG_003.TC_009

Test placing with invalid output parameter

Pre-requisites:

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

  • Java runtime 1.8

  • mappingToPlacing.xml exists in the placing-1.4.0.jar's folder and is a valid inputFile (produced by mapping-1.4.0.jar with the cdfFile generated by converter-1.4.0.jar for the input codemetropolis-toolchain-commons.graph)

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

Steps:

  1. Run "java -jar placing-1.4.0.jar -i mappingToPlacing.xml -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.