提交 ec87fdd8 编写于 作者: O openharmony_ci 提交者: Gitee

!272 删除UIScrollView 进度条bar的相关接口用例

Merge pull request !272 from YueBiang/master
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册