提交 6bf9308b 编写于 作者: O openharmony_ci 提交者: Gitee

!97 fix slider

Merge pull request !97 from 南先森/ui_slider_posix_20210401
......@@ -75,21 +75,8 @@ HWTEST_F(UISliderTest, Graphic_UISliderTest_Test_SetImage_0400, Function | Mediu
UISlider* slider = new UISlider();
ImageInfo* backgroundImage = nullptr;
ImageInfo* foregroundImage = nullptr;
ImageInfo* knobImage = nullptr;
slider->SetImage(backgroundImage, foregroundImage, knobImage);
slider->SetImage(backgroundImage, foregroundImage);
EXPECT_EQ(0, 0);
delete backgroundImage;
delete foregroundImage;
char* chBackgroundImage = nullptr;
char* chForegroundImage = nullptr;
char* chKnobImage = nullptr;
slider->SetImage(chBackgroundImage, chForegroundImage, chKnobImage);
EXPECT_EQ(0, 0);
delete slider;
delete chBackgroundImage;
delete chForegroundImage;
delete chKnobImage;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册