TG_004.TC_011 - codemetropolis/CodeMetropolis GitHub Wiki

TG_004.TC_011

Test rendering with invalid world parameter

Pre-requisites:

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

  • Java runtime 1.8

  • placingToRendering.xml exists in the rendering-1.4.0.jar's folder and is a valid inputFile (produced by placing-1.4.0.jar with the mappingToPlacing.xml as input generated 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 rendering-1.4.0.jar

Steps:

  1. Run "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w W:/CM"

Expected result:

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