We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ImageUtils
1 parent 5fcb770 commit 571a7ddCopy full SHA for 571a7dd
src/test/java/eatda/util/ImageUtils.java
@@ -7,14 +7,16 @@
7
8
public final class ImageUtils {
9
10
+ private static final String TEST_IMAGE_PATH = "classpath:test/test-image.png";
11
+
12
private ImageUtils() {
13
}
14
15
public static File getTestImage() {
16
try {
- return getFile("classpath:test/test-image.png");
17
+ return getFile(TEST_IMAGE_PATH);
18
} catch (FileNotFoundException e) {
- throw new RuntimeException(e);
19
+ throw new RuntimeException("테스트 이미지 파일을 찾을 수 없습니다: " + TEST_IMAGE_PATH, e);
20
21
22
0 commit comments