mirror of https://github.com/dspinellis/UMLGraph
Fixed very minor typos in testing code
This commit is contained in:
parent
09576db5ae
commit
9b9d7a8f30
|
|
@ -98,7 +98,7 @@ public class BasicTest {
|
|||
private static List<String> getViewList(File viewFolder) {
|
||||
if (!viewFolder.exists())
|
||||
throw new RuntimeException("The folder " + viewFolder.getAbsolutePath()
|
||||
+ " does not exists.");
|
||||
+ " does not exist.");
|
||||
else if (!viewFolder.isDirectory())
|
||||
throw new RuntimeException(viewFolder.getAbsolutePath() + " is not a folder!.");
|
||||
else if (!viewFolder.canRead())
|
||||
|
|
|
|||
|
|
@ -92,10 +92,10 @@ public class UmlDocTest {
|
|||
return;
|
||||
|
||||
if (!refFolder.exists() || !refFolder.isDirectory())
|
||||
throw new IllegalArgumentException("Reference does not exists or is not a folder: "
|
||||
throw new IllegalArgumentException("Reference does not exist or is not a folder: "
|
||||
+ refFolder.getAbsolutePath());
|
||||
if (!outFolder.exists() || !outFolder.isDirectory())
|
||||
throw new IllegalArgumentException("Output does not exists or is not a folder: "
|
||||
throw new IllegalArgumentException("Output does not exist or is not a folder: "
|
||||
+ outFolder.getAbsolutePath());
|
||||
|
||||
// get elements and sort
|
||||
|
|
|
|||
Loading…
Reference in New Issue