From bdbe9b4f6f641d20aaa95e640dffc1b0202bab50 Mon Sep 17 00:00:00 2001 From: CHP Date: Wed, 12 Oct 2022 01:04:21 +0200 Subject: [PATCH] Update UIImageViewTest.cpp (#923) Fix UIImageViewIssue12249Test --- .../CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp index e691a58c85..ed57bf932d 100644 --- a/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp +++ b/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIImageViewTest/UIImageViewTest.cpp @@ -299,7 +299,7 @@ bool UIImageViewIssue12249Test::init() ImageView* imageView2 = ImageView::create(); imageView2->setScale9Enabled(true); - imageView2->loadTexture("blocks9r.png", Widget::TextureResType::PLIST); + imageView2->loadTexture("blocks9ss/blocks9r.png", Widget::TextureResType::PLIST); imageView2->setContentSize(Size(250, imageView2->getContentSize().height * 2)); imageView2->setFlippedX(true); imageView2->setScale(0.5);