提交 b87085c5 编写于 作者: S sunjiakun

fixed f69e86d1 from https://gitee.com/sunjiakun/xts_acts/pulls/9513

IsShowBackground -> showBackground
Signed-off-by: Nsunjiakun <sunjiakun3@huawei.com>
上级 5d9e1f0f
......@@ -66,7 +66,7 @@ struct SwiperExample {
.duration(1000)
.itemSpace(0)
.displayArrow({
isShowBackground:true,
showBackground:true,
isSidebarMiddle:true,
backgroundSize:24,
backgroundColor:Color.White,
......
......@@ -16,6 +16,6 @@ import swiperTest from './swiper'
import swiperSecTest from './swipersec'
export default function testsuite() {
swiperTest()
swiperTest()
swiperSecTest()
}
\ No newline at end of file
......@@ -40,7 +40,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.selectedItemWidth));
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedItemWidth_0100 component obj2 is: " + JSON.stringify(obj2.selectedItemWidth));
expect(obj2.selectedItemWidth).assertEqual("5.00px");
expect(obj2.selectedItemWidth).assertEqual("5.00vp");
console.info('ArkUX_Stage_Swiper_SelectedItemWidth_0100 END ');
done();
} catch (err) {
......@@ -280,7 +280,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.selectedItemHeight));
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedItemHeight_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedItemHeight).assertEqual("3.00px");
expect(obj2.selectedItemHeight).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_SelectedItemHeight_0100 END ');
done();
} catch (err) {
......@@ -520,7 +520,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.itemWidth));
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_ItemWidth_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.itemWidth).assertEqual("3.00px");
expect(obj2.itemWidth).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_ItemWidth_0100 END ');
done();
} catch (err) {
......@@ -730,7 +730,7 @@ export default function swiperTest() {
JSON.stringify(obj.$attrs.itemHeight));
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_ItemHeight_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.itemHeight).assertEqual("3.00px");
expect(obj2.itemHeight).assertEqual("3.00vp");
console.info('ArkUX_Stage_Swiper_ItemHeight_0100 END ');
done();
} catch (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册