提交 bbcce56a 编写于 作者: Y YueBiang

delete use cases for UIScrollView

Signed-off-by: NYueBiang <suyue7@huawei.com>
上级 330c3716
...@@ -102,25 +102,11 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_ScrollBy_0500, Function | ...@@ -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.name test scroll-view set-vertical-scroll-state api
* @tc.desc [C- SOFTWARE -0200] * @tc.desc [C- SOFTWARE -0200]
*/ */
HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetScrollbarWidth_0600, Function | MediumTest | Level0) HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetXScrollBarVisible_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)
{ {
UIScrollView *scrollView = new UIScrollView(); UIScrollView *scrollView = new UIScrollView();
bool state = false; bool state = false;
...@@ -130,11 +116,11 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetXScrollBarVisible_0700 ...@@ -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.name test scroll-view set-vertical-scroll-state api
* @tc.desc [C- SOFTWARE -0200] * @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(); UIScrollView *scrollView = new UIScrollView();
bool state = false; bool state = false;
...@@ -142,17 +128,4 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetYScrollBarVisible_0800 ...@@ -142,17 +128,4 @@ HWTEST_F(ScrollViewTest, Graphic_UIScrollViewTest_Test_SetYScrollBarVisible_0800
EXPECT_EQ(0, 0); EXPECT_EQ(0, 0);
delete scrollView; 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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册