testing fix

This commit is contained in:
austin 2024-08-01 17:35:05 -04:00
parent bdd9fc12df
commit 3e934fddd7
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View File

@ -41,6 +41,9 @@
#vscode #vscode
.settings .settings
#testing cache
.testcache
#docs #docs
/docs-dist/** /docs-dist/**
/docs/DoxygenWarningLog.txt /docs/DoxygenWarningLog.txt

View File

@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file #maven.buildNumber.plugin properties file
#Thu Aug 01 17:30:41 EDT 2024 #Thu Aug 01 17:34:47 EDT 2024
buildNumber=194 buildNumber=196

View File

@ -140,7 +140,9 @@ public class FontUtils {
// image = operation.filter(image, null); // image = operation.filter(image, null);
try { 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) { } catch (IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();