TG_001.TC_003 - codemetropolis/CodeMetropolis GitHub Wiki

TG_001.TC_003

Test conversion with invalid graph file

Pre-requisites:

  • Java runtime 1.8
  • command line opened in the folder of converter-1.4.0.jar
  • fake.graph is an invalid graph file (e.g. a simple text file with random characters) in the converter-1.4.0.jar's folder

Steps:

  1. Run "java -jar converter-1.4.0.jar -t sourcemeter -i fake.graph"

Expected result:

The tool warns the user that the input graph has an invalid format and exits normally without creating the output file.