TG_004.TC_013 - codemetropolis/CodeMetropolis GitHub Wiki
TG_004.TC_013
Test rendering with existing world folder
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 "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm"
Expected result:
The tool detects that the world folder already exists and outputs the following confirmation question to the user in the console: "Rendering: Another world with the same name might exist or being built right now. Do you want to overwrite? [Y/N]"