Skip to content

Commit cda9422

Browse files
committed
unicode test
Signed-off-by: Rosen Penev <[email protected]>
1 parent c322fc7 commit cda9422

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

test/data/Реган.jp2

39.7 KB
Binary file not shown.

tests/regression_tests/test_regression_allfiles.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get_valid_files(data_dir):
5858
"imagemagick.pgf",
5959
"iptc-psAPP13s-wIPTC-psAPP13s-noIPTC.jpg",
6060
"Reagan.jp2",
61+
"Реган.jp2",
6162
"issue_ghsa_8949_hhfh_j7rj_poc.exv",
6263
"exiv2-bug495.jpg",
6364
"issue_1920_poc.tiff",

unitTests/test_ImageFactory.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ TEST(TheImageFactory, loadInstancesDifferentImageTypes) {
141141
imagePath = testData / "Reagan.jp2";
142142
EXPECT_EQ(ImageType::jp2, ImageFactory::getType(imagePath));
143143
EXPECT_NO_THROW(ImageFactory::open(imagePath, false));
144+
145+
imagePath = testData / "Реган.jp2";
146+
EXPECT_EQ(ImageType::jp2, ImageFactory::getType(imagePath));
147+
EXPECT_NO_THROW(ImageFactory::open(imagePath, false));
144148
}
145149

146150
TEST(TheImageFactory, getsExpectedModesForJp2Images) {

0 commit comments

Comments
 (0)