TG_004.TC_008 - codemetropolis/CodeMetropolis GitHub Wiki
TG_004.TC_008
Test rendering with interrupted overwrite selection
Pre-requisites:
-
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:
-
Run "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm"
-
Run again the very same command "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm "
-
When the prompt asks "Rendering: Another world with the same name might exist or being built right now. Do you want to overwrite? [Y/N]" hit Ctrl+C
Expected result:
The tool exits normally without creating the output world file.