diff --git a/test/nonreg/BasicTest.java b/test/nonreg/BasicTest.java index f7a0686ae..5700d6685 100644 --- a/test/nonreg/BasicTest.java +++ b/test/nonreg/BasicTest.java @@ -23,6 +23,7 @@ import net.sourceforge.plantuml.core.DiagramDescription; /* * All non-regression tests must extends BasicTest class. + * * The tests must have a single test method that call the 'checkImage()' method. * Diagram to be tested must be stored in the test itself, separated by triple-quoted strings * The expected result (build using UGraphicDebug) is stored in a class xxxxResult.java, also separated by triple-quoted strings. @@ -75,7 +76,7 @@ public class BasicTest { } private String getPackageName() { - return getClass().getPackageName(); + return getClass().getPackage().getName(); } protected Path getResultFile() {