mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 21:15:09 +00:00
Try to fix getPackageName
This commit is contained in:
parent
a4f8170d94
commit
5fe658158f
@ -23,6 +23,7 @@ import net.sourceforge.plantuml.core.DiagramDescription;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* All non-regression tests must extends BasicTest class.
|
* All non-regression tests must extends BasicTest class.
|
||||||
|
*
|
||||||
* The tests must have a single test method that call the 'checkImage()' method.
|
* 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
|
* 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.
|
* 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() {
|
private String getPackageName() {
|
||||||
return getClass().getPackageName();
|
return getClass().getPackage().getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Path getResultFile() {
|
protected Path getResultFile() {
|
||||||
|
Loading…
Reference in New Issue
Block a user