提交 5174f392 编写于 作者: L luffy505

modify ace test

Signed-off-by: Nluffy505 <zhangjuan54@huawei.com>
上级 791751c1
...@@ -56,17 +56,6 @@ export default function datePickerJsunit() { ...@@ -56,17 +56,6 @@ export default function datePickerJsunit() {
done(); done();
}); });
it('datePickerTest_0200', 0, async function (done) {
console.info('datePickerTest_0200 START');
let strJson = getInspectorByKey('datePicker');
console.info("datePickerTest_0200 component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("datePickerTest_0200 component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.useMilitaryTime).assertEqual('true');
console.info('datePickerTest_0200 END');
done();
});
it('datePickerTest_0300', 0, async function (done) { it('datePickerTest_0300', 0, async function (done) {
console.info('datePickerTest_0300 START'); console.info('datePickerTest_0300 START');
try { try {
......
...@@ -97,40 +97,6 @@ export default function toggleJsunit() { ...@@ -97,40 +97,6 @@ export default function toggleJsunit() {
done(); done();
}); });
/**
* @tc.number SUB_ACE_BASIC_ETS_API_1660
* @tc.name testToggle030
* @tc.desc aceEtsTest
*/
it('testToggle030', 0, async function (done) {
console.info('testToggle030 START');
let strJson = getInspectorByKey('toggle3');
let obj = JSON.parse(strJson);
console.info("[toggle3] get inspector value is: " + JSON.stringify(obj));
expect(obj.$type).assertEqual('Toggle')
expect(obj.$attrs.type).assertEqual('ToggleType.Checkbox')
expect(obj.$attrs.isOn).assertEqual('false')
console.info('testToggle030 End');
done();
});
/**
* @tc.number SUB_ACE_BASIC_ETS_API_1670
* @tc.name testToggle040
* @tc.desc aceEtsTest
*/
it('testToggle040', 0, async function (done) {
console.info('testToggle040 START');
let strJson = getInspectorByKey('toggle4');
let obj = JSON.parse(strJson);
console.info("[toggle4] get inspector value is: " + JSON.stringify(obj));
expect(obj.$type).assertEqual('Toggle')
expect(obj.$attrs.type).assertEqual('ToggleType.Checkbox')
expect(obj.$attrs.isOn).assertEqual('true')
console.info('testToggle040 End');
done();
});
/** /**
* @tc.number SUB_ACE_BASIC_ETS_API_1680 * @tc.number SUB_ACE_BASIC_ETS_API_1680
* @tc.name testToggle050 * @tc.name testToggle050
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册