提交 bc0ad430 编写于 作者: B bayanxing

modify testcase

Signed-off-by: Nbayanxing <bayanxing@kaihongdigi.com>
上级 beeedaf0
......@@ -164,44 +164,44 @@
<text class="sub-title">
picker-view特有属性 -- type
</text>
<picker-view
id="pickerViewText"
type="text"
selected="0"
range="{{rangetext}}"
indicatorprefix="前缀"
indicatorsuffix="后缀"
></picker-view>
<picker-view
id="pickerViewTime"
type="time"
containsecond="true"
selected="11:22:30"
hours="12"
></picker-view>
<picker-view
id="pickerViewDate"
type="date"
start="2002-2-5"
end="2030-6-5"
selected="2022-2-22"
lunar="false"
lunarswitch="true"
></picker-view>
<picker-view
id="pickerViewDatetime"
type="datetime"
selected=""
hours="12"
lunar="false"
lunarswitch="true"
></picker-view>
<picker-view
id="pickerViewMultiText"
type="multi-text"
columns="3"
range="{{multitext}}"
selected="{{multitextselect}}"
></picker-view>
<!-- <picker-view-->
<!-- id="pickerViewText"-->
<!-- type="text"-->
<!-- selected="0"-->
<!-- range="{{rangetext}}"-->
<!-- indicatorprefix="前缀"-->
<!-- indicatorsuffix="后缀"-->
<!-- ></picker-view>-->
<!-- <picker-view-->
<!-- id="pickerViewTime"-->
<!-- type="time"-->
<!-- containsecond="true"-->
<!-- selected="11:22:30"-->
<!-- hours="12"-->
<!-- ></picker-view>-->
<!-- <picker-view-->
<!-- id="pickerViewDate"-->
<!-- type="date"-->
<!-- start="2002-2-5"-->
<!-- end="2030-6-5"-->
<!-- selected="2022-2-22"-->
<!-- lunar="false"-->
<!-- lunarswitch="true"-->
<!-- ></picker-view>-->
<!-- <picker-view-->
<!-- id="pickerViewDatetime"-->
<!-- type="datetime"-->
<!-- selected=""-->
<!-- hours="12"-->
<!-- lunar="false"-->
<!-- lunarswitch="true"-->
<!-- ></picker-view>-->
<!-- <picker-view-->
<!-- id="pickerViewMultiText"-->
<!-- type="multi-text"-->
<!-- columns="3"-->
<!-- range="{{multitext}}"-->
<!-- selected="{{multitextselect}}"-->
<!-- ></picker-view>-->
</div>
</div>
......@@ -48,19 +48,19 @@ export default {
showPropTrue : null,
showPropFalse : null,
showPropNone : null,
rangetext:['15', "20", "25"],
multitext:[["a", "b", "c"], ["e", "f", "g"], ["h", "i"], ["k", "l", "m"]],
multitextselect:[1,2,0],
pickerViewText: null,
pickerViewDate: null,
pickerViewTime: null,
pickerViewDatetime: null,
pickerViewMultiText: null
// rangetext:['15', "20", "25"],
// multitext:[["a", "b", "c"], ["e", "f", "g"], ["h", "i"], ["k", "l", "m"]],
// multitextselect:[1,2,0],
// pickerViewText: null,
// pickerViewDate: null,
// pickerViewTime: null,
// pickerViewDatetime: null,
// pickerViewMultiText: null
},
onShow(){
this.getCommonPropValues();
this.getSpecificPropValues();
// this.getSpecificPropValues();
globalThis.value = {
idProp : this.idProp,
classProp : this.classProp,
......@@ -91,11 +91,11 @@ export default {
showPropTrue : this.showPropTrue,
showPropFalse : this.showPropFalse,
showPropNone : this.showPropNone,
pickerViewText: this.pickerViewText,
pickerViewDate: this.pickerViewDate,
pickerViewTime: this.pickerViewTime,
pickerViewDatetime: this.pickerViewDatetime,
pickerViewMultiText: this.pickerViewMultiText
// pickerViewText: this.pickerViewText,
// pickerViewDate: this.pickerViewDate,
// pickerViewTime: this.pickerViewTime,
// pickerViewDatetime: this.pickerViewDatetime,
// pickerViewMultiText: this.pickerViewMultiText
}
},
......@@ -131,10 +131,10 @@ export default {
this.showPropNone = this.$element("showPropNone").getInspector()
},
getSpecificPropValues () {
this.pickerViewViewText = this.$element("pickerViewViewText").getInspector()
this.pickerViewViewDate = this.$element("pickerViewViewDate").getInspector()
this.pickerViewViewTime = this.$element("pickerViewViewTime").getInspector()
this.pickerViewViewDatetime = this.$element("pickerViewViewDatetime").getInspector()
this.pickerViewViewMultiText = this.$element("pickerViewViewMultiText").getInspector()
// this.pickerViewViewText = this.$element("pickerViewViewText").getInspector()
// this.pickerViewViewDate = this.$element("pickerViewViewDate").getInspector()
// this.pickerViewViewTime = this.$element("pickerViewViewTime").getInspector()
// this.pickerViewViewDatetime = this.$element("pickerViewViewDatetime").getInspector()
// this.pickerViewViewMultiText = this.$element("pickerViewViewMultiText").getInspector()
}
}
......@@ -570,6 +570,7 @@ describe('dividerPropsJsTest', function () {
console.info("[dividerProps] get show value is: " + JSON.stringify(obj.$attrs.show));
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerVerticalTrue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册