diff --git a/graphic_lite/ui/ui_scroll_view_posix/src/ui_scroll_view_test.cpp b/graphic_lite/ui/ui_scroll_view_posix/src/ui_scroll_view_test.cpp index d88713c5032f2626c057e2036b5444c987c494a0..5b9a32dc7550322c1cb3d5f69a1c3beae902c423 100755 --- a/graphic_lite/ui/ui_scroll_view_posix/src/ui_scroll_view_test.cpp +++ b/graphic_lite/ui/ui_scroll_view_posix/src/ui_scroll_view_test.cpp @@ -102,25 +102,11 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_ScrollBy_0500, Function | } /** - * @tc.number SUB_GRAPHIC_SCROLL_VIEW_SETSCROLLBARWIDTH_0600 + * @tc.number SUB_GRAPHIC_SCROLL_VIEW_SETXSCROLLBARVISIBLE_0600 * @tc.name test scroll-view set-vertical-scroll-state api * @tc.desc [C- SOFTWARE -0200] */ -HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetScrollbarWidth_0600, Function | MediumTest | Level0) -{ - UIScrollView *scrollView = new UIScrollView(); - uint8_t width = 0; - scrollView->SetScrollbarWidth(width); - EXPECT_EQ(0, 0); - delete scrollView; -} - -/** - * @tc.number SUB_GRAPHIC_SCROLL_VIEW_SETXSCROLLBARVISIBLE_0700 - * @tc.name test scroll-view set-vertical-scroll-state api - * @tc.desc [C- SOFTWARE -0200] - */ -HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetXScrollBarVisible_0700, Function | MediumTest | Level0) +HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetXScrollBarVisible_0600, Function | MediumTest | Level0) { UIScrollView *scrollView = new UIScrollView(); bool state = false; @@ -130,11 +116,11 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetXScrollBarVisible_0700 } /** - * @tc.number SUB_GRAPHIC_SCROLL_VIEW_SETYSCROLLBARVISIBLE_0800 + * @tc.number SUB_GRAPHIC_SCROLL_VIEW_SETYSCROLLBARVISIBLE_0700 * @tc.name test scroll-view set-vertical-scroll-state api * @tc.desc [C- SOFTWARE -0200] */ -HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetYScrollBarVisible_0800, Function | MediumTest | Level0) +HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetYScrollBarVisible_0700, Function | MediumTest | Level0) { UIScrollView *scrollView = new UIScrollView(); bool state = false; @@ -142,17 +128,4 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetYScrollBarVisible_0800 EXPECT_EQ(0, 0); delete scrollView; } - -/** - * @tc.number SUB_GRAPHIC_SCROLL_VIEW_REFRESHSCROLLBAR_0900 - * @tc.name test scroll-view set-vertical-scroll-state api - * @tc.desc [C- SOFTWARE -0200] - */ -HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_RefreshScrollBar_0900, Function | MediumTest | Level0) -{ - UIScrollView *scrollView = new UIScrollView(); - scrollView->RefreshScrollBar(); - EXPECT_EQ(0, 0); - delete scrollView; -} } \ No newline at end of file