未验证 提交 3ba40d3e 编写于 作者: O openharmony_ci 提交者: Gitee

!9200 slider 添加ux新增接口测试用例

Merge pull request !9200 from sunjiakun/master
......@@ -37,12 +37,12 @@ struct SliderTest {
Ellipse = new Ellipse({ width: '280px', height: '280px' }).fill('#FFFF0000')
Path = new Path({ width: '280px', height: '280px' }).fill('#FFFF0000')
Rect = new Rect({ width: '280px', height: '280px' }).fill('#FFFF0000')
private sliderImage: SliderBlockStyle = { type: 1, image: $r('app.media.icon') }
private sliderShapeCircle: SliderBlockStyle = { type: 2, shape: this.circle }
private sliderShapeEllipse: SliderBlockStyle = { type: 2, shape: this.Ellipse }
private sliderShapePath: SliderBlockStyle = { type: 2, shape: this.Path }
private sliderShapeRect: SliderBlockStyle = { type: 2, shape: this.Rect }
private sliderDefault: SliderBlockStyle = { type: 0 }
private sliderImage: SliderBlockStyle = { type: SliderBlockType.IMAGE, image: $r('app.media.icon') }
private sliderShapeCircle: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.circle }
private sliderShapeEllipse: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Ellipse }
private sliderShapePath: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Path }
private sliderShapeRect: SliderBlockStyle = { type: SliderBlockType.SHAPE, shape: this.Rect }
private sliderDefault: SliderBlockStyle = { type: SliderBlockType.DEFAULT }
build() {
Row() {
Column() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册