testing fix
This commit is contained in:
parent
bdd9fc12df
commit
3e934fddd7
3
.gitignore
vendored
3
.gitignore
vendored
@ -41,6 +41,9 @@
|
||||
#vscode
|
||||
.settings
|
||||
|
||||
#testing cache
|
||||
.testcache
|
||||
|
||||
#docs
|
||||
/docs-dist/**
|
||||
/docs/DoxygenWarningLog.txt
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#maven.buildNumber.plugin properties file
|
||||
#Thu Aug 01 17:30:41 EDT 2024
|
||||
buildNumber=194
|
||||
#Thu Aug 01 17:34:47 EDT 2024
|
||||
buildNumber=196
|
||||
|
||||
@ -140,7 +140,9 @@ public class FontUtils {
|
||||
// image = operation.filter(image, null);
|
||||
|
||||
try {
|
||||
ImageIO.write(image, "png", Files.newOutputStream(new File("./test/java/electrosphere/renderer/ui/font/testimg.png").toPath()));
|
||||
File imgFile = new File("./.testcache/testimg.png");
|
||||
imgFile.mkdirs();
|
||||
ImageIO.write(image, "png", Files.newOutputStream(imgFile.toPath()));
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user