提交 61722e97 编写于 作者: T tianwenzhe

delete rongyu

Signed-off-by: Ntian-wenzhe411 <tianwenzhe2@huawei.com>
上级 144fd02c
......@@ -896,13 +896,10 @@ describe('ActsFeatureAbilityTest', function () {
expect(info.name).assertEqual("com.example.actsfeatureabilitytest");
expect(info.description).assertEqual("descriptionTest");
// expect(info.descriptionId).assertEqual(0); //create by DevEco when building HAP.
expect(info.systemApp).assertEqual(true);
expect(info.enabled).assertEqual(true);
expect(info.label).assertEqual("$string:app_name");
// expect(info.labelId).assertEqual(0); //create by DevEco when building HAP.
expect(info.icon).assertEqual("$media:icon");
// expect(info.iconId).assertEqual(0); //create by DevEco when building HAP.
expect(info.process).assertEqual("com.example.actsfeatureabilitytest");
expect(info.supportedModes).assertEqual(0);
expect(info.moduleInfos[0].moduleName).assertEqual("entry");
......
......@@ -434,12 +434,6 @@ export default function ActsOsAccountThirdPartyTest_third_2() {
localIdFir = data.localId;
expect(err).assertEqual(null);
expect(data.localName).assertEqual("osAccountNameIdSerialE");
// osAccountManager.createOsAccount("osAccountIdSerialF", osaccount.OsAccountType.NORMAL, (err, data)=>{
// console.debug("====>create second os account err: " + JSON.stringify(err));
// console.debug("====>create second os account OsAccountInfo: " + JSON.stringify(data));
// localIdSec = data.localId;
// expect(err).assertEqual(null);
// expect(data.localName).assertEqual("osAccountIdSerialF");
osAccountManager.getCreatedOsAccountsCount((err, count)=>{
console.debug("====>obtains the number of all os accounts created err:" + JSON.stringify(err));
console.debug("====>obtains the number of all os accounts created count:" + count);
......@@ -453,13 +447,7 @@ export default function ActsOsAccountThirdPartyTest_third_2() {
console.debug("====>obtains the number accounts created err:" + JSON.stringify(err));
console.debug("====>obtains the number accounts created data:" + data);
expect(err).assertEqual(null);
// data = data;
expect(data).assertEqual(obtainCount);
// osAccountManager.removeOsAccount(localIdSec, (err)=>{
// console.debug("====>remove localId: " + localIdSec + " err:" + JSON.stringify(err));
// expect(err).assertEqual(null);
// })
console.debug("====>ActsOsAccountGetCount_0100 end====");
done();
})
......@@ -485,10 +473,6 @@ export default function ActsOsAccountThirdPartyTest_third_2() {
console.debug("====>create first os account OsAccountInfo: " + JSON.stringify(osAccountFir));
var localIdFir = osAccountFir.localId;
expect(osAccountFir.localName).assertEqual("osAccountIdSerialG");
// var osAccountSec = await osAccountManager.createOsAccount("osAccountIdSerialH", osaccount.OsAccountType.NORMAL);
// console.debug("====>create second os account OsAccountInfo: " + JSON.stringify(osAccountSec));
// var localIdSec = osAccountSec.localId;
// expect(osAccountSec.localName).assertEqual("osAccountIdSerialH");
var countFir = await osAccountManager.getCreatedOsAccountsCount();
console.debug("====>obtains the number of all os accounts created count:" + countFir);
countFir = countFir - 1;
......@@ -497,10 +481,7 @@ export default function ActsOsAccountThirdPartyTest_third_2() {
console.debug("====>remove localId: " + localIdFir);
var countSec = await osAccountManager.getCreatedOsAccountsCount();
console.debug("====>obtains the number accounts created count:" + countSec);
// countSec = countSec ;
expect(countSec).assertEqual(obtainCount);
// await osAccountManager.removeOsAccount(localIdSec);
// console.debug("====>remove localId: " + localIdSec);
console.debug("====>ActsOsAccountGetCount_0200 end====");
done();
})
......
......@@ -436,12 +436,6 @@ export default function ActsOsAccountThirdPartyTest_third_4() {
localIdFir = data.localId;
expect(err).assertEqual(null);
expect(data.localName).assertEqual("osAccountNameIdSerialE");
// osAccountManager.createOsAccount("osAccountIdSerialF", osaccount.OsAccountType.NORMAL, (err, data)=>{
// console.debug("====>create second os account err: " + JSON.stringify(err));
// console.debug("====>create second os account OsAccountInfo: " + JSON.stringify(data));
// localIdSec = data.localId;
// expect(err).assertEqual(null);
// expect(data.localName).assertEqual("osAccountIdSerialF");
osAccountManager.getOsAccountCount((err, count)=>{
console.debug("====>obtains the number of all os accounts created err:" + JSON.stringify(err));
console.debug("====>obtains the number of all os accounts created count:" + count);
......@@ -455,11 +449,7 @@ export default function ActsOsAccountThirdPartyTest_third_4() {
console.debug("====>obtains the number accounts created err:" + JSON.stringify(err));
console.debug("====>obtains the number accounts created data:" + data);
expect(err).assertEqual(null);
// data = data - 1;
expect(data).assertEqual(obtainCount);
// osAccountManager.removeOsAccount(localIdSec, (err)=>{
// console.debug("====>remove localId: " + localIdSec + " err:" + JSON.stringify(err));
// expect(err).assertEqual(null);
console.debug("====>ActsOsAccountQueryCounts_0100 end====");
done();
// })
......@@ -486,22 +476,12 @@ export default function ActsOsAccountThirdPartyTest_third_4() {
console.debug("====>create first os account OsAccountInfo: " + JSON.stringify(osAccountFir));
var localIdFir = osAccountFir.localId;
expect(osAccountFir.localName).assertEqual("osAccountIdSerialG");
// var osAccountSec = await osAccountManager.createOsAccount("osAccountIdSerialH", osaccount.OsAccountType.NORMAL);
// console.debug("====>create second os account OsAccountInfo: " + JSON.stringify(osAccountSec));
// var localIdSec = osAccountSec.localId;
// expect(osAccountSec.localName).assertEqual("osAccountIdSerialH");
var countFir = await osAccountManager.getOsAccountCount();
console.debug("====>obtains the number of all os accounts created count:" + countFir);
countFir = countFir - 1;
expect(countFir).assertEqual(obtainCount);
await osAccountManager.removeOsAccount(localIdFir);
console.debug("====>remove localId: " + localIdFir);
// var countSec = await osAccountManager.getOsAccountCount();
// console.debug("====>obtains the number accounts created count:" + countSec);
// countSec = countSec - 1;
// expect(countSec).assertEqual(obtainCount);
// await osAccountManager.removeOsAccount(localIdSec);
// console.debug("====>remove localId: " + localIdSec);
console.debug("====>ActsOsAccountQueryCounts_0200 end====");
done();
})
......
......@@ -1172,27 +1172,6 @@ describe('aceJsTest', function () {
expect("pages/obj_Path2D/router/").assertEqual(pages.path);
done();
});
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewComponent
// * @tc.desc ACE
// */
// it('testPickerViewComponent', 0, async function (done) {
// let result;
// let options = {
// uri: 'pages/pickerView/router2/index'
// }
// try {
// result = router.push(options)
// } catch (err) {
// result = err
// }
// await sleep(5000)
// let pages = router.getState();
// expect("pages/pickerView/router2/").assertEqual(pages.path);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
......
......@@ -135,32 +135,6 @@ describe('divPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivStyleProp
* @tc.desc ACEs
*/
// it('testDivStyleProp', 0, async function (done) {
// console.info('testDivStyleProp START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[divProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[divProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[divProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivRefProp
......@@ -587,44 +561,6 @@ describe('divPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('dividerPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerStyleProp
* @tc.desc ACEs
*/
// it('testDividerStyleProp', 0, async function (done) {
// console.info('testDividerStyleProp START');
// console.info("[dividerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[dividerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[dividerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('divider')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[dividerProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[dividerProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[dividerProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerRefProp
......@@ -473,44 +447,6 @@ describe('dividerPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerIfPropFalse
* @tc.desc ACE
*/
// it('testDividerIfPropFalse', 0, async function (done) {
// console.info('testDividerIfPropFalse START');
// console.info("[dividerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[dividerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[dividerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('divider')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerIfPropNone
* @tc.desc ACE
*/
// it('testDividerIfPropNone', 0, async function (done) {
// console.info('testDividerIfPropNone START');
// console.info("[dividerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[dividerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[dividerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('divider')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDividerShowPropTrue
......
......@@ -134,32 +134,6 @@ describe('inputPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testInputStyleProp
* @tc.desc ACEs
*/
// it('testInputStyleProp', 0, async function (done) {
// console.info('testInputStyleProp START');
// console.info("[inputProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[inputProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[inputProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('input')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[inputProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[inputProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[inputProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testInputRefProp
......@@ -586,44 +560,6 @@ describe('inputPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testInputIfPropFalse
* @tc.desc ACE
*/
// it('testInputIfPropFalse', 0, async function (done) {
// console.info('testInputIfPropFalse START');
// console.info("[inputProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[inputProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[inputProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('input')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testInputIfPropNone
* @tc.desc ACE
*/
// it('testInputIfPropNone', 0, async function (done) {
// console.info('testInputIfPropNone START');
// console.info("[inputProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[inputProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[inputProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('input')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testInputShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('labelPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelStyleProp
* @tc.desc ACEs
*/
// it('testLabelStyleProp', 0, async function (done) {
// console.info('testLabelStyleProp START');
// console.info("[labelProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[labelProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[labelProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('label')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[labelProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[labelProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[labelProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelRefProp
......@@ -587,44 +561,6 @@ describe('labelPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelIfPropFalse
* @tc.desc ACE
*/
// it('testLabelIfPropFalse', 0, async function (done) {
// console.info('testLabelIfPropFalse START');
// console.info("[labelProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[labelProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[labelProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('label')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelIfPropNone
* @tc.desc ACE
*/
// it('testLabelIfPropNone', 0, async function (done) {
// console.info('testLabelIfPropNone START');
// console.info("[labelProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[labelProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[labelProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('label')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testLabelShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('optionPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionStyleProp
* @tc.desc ACEs
*/
// it('testOptionStyleProp', 0, async function (done) {
// console.info('testOptionStyleProp START');
// console.info("[optionProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[optionProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[optionProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('option')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[optionProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[optionProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[optionProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionRefProp
......@@ -587,44 +561,6 @@ describe('optionPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionIfPropFalse
* @tc.desc ACE
*/
// it('testOptionIfPropFalse', 0, async function (done) {
// console.info('testOptionIfPropFalse START');
// console.info("[optionProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[optionProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[optionProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('option')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionIfPropNone
* @tc.desc ACE
*/
// it('testOptionIfPropNone', 0, async function (done) {
// console.info('testOptionIfPropNone START');
// console.info("[optionProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[optionProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[optionProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('option')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testOptionShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('pickerPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerStyleProp
* @tc.desc ACEs
*/
// it('testPickerStyleProp', 0, async function (done) {
// console.info('testPickerStyleProp START');
// console.info("[pickerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerRefProp
......@@ -587,44 +561,6 @@ describe('pickerPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerIfPropFalse
* @tc.desc ACE
*/
// it('testPickerIfPropFalse', 0, async function (done) {
// console.info('testPickerIfPropFalse START');
// console.info("[pickerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[pickerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerIfPropNone
* @tc.desc ACE
*/
// it('testPickerIfPropNone', 0, async function (done) {
// console.info('testPickerIfPropNone START');
// console.info("[pickerProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[pickerProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerShowPropTrue
......
......@@ -135,32 +135,6 @@
done();
});
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewStyleProp
// * @tc.desc ACEs
// */
// it('testPickerViewStyleProp', 0, async function (done) {
// console.info('testPickerViewStyleProp START');
// console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker-view')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerViewProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerViewProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerViewProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewRefProp
......@@ -587,44 +561,6 @@
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewIfPropFalse
* @tc.desc ACE
*/
/* it('testPickerViewIfPropFalse', 0, async function (done) {
console.info('testPickerViewIfPropFalse START');
console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
let obj = JSON.parse(globalThis.value.ifPropFalse);
console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
expect(obj.$type).assertEqual('picker-view')
expect(obj.$attrs.id).assertEqual('ifPropFalse')
expect(obj.$attrs.if).assertEqual(false)
done();
}); */
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewIfPropNone
* @tc.desc ACE
*/
/* it('testPickerViewIfPropNone', 0, async function (done) {
console.info('testPickerViewIfPropNone START');
console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
let obj = JSON.parse(globalThis.value.ifPropNone);
console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
expect(obj.$type).assertEqual('picker-view')
expect(obj.$attrs.id).assertEqual('ifPropNone')
expect(obj.$attrs.if).assertEqual(false)
done();
}); */
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewShowPropTrue
......
......@@ -95,33 +95,5 @@
expect(obj.$attrs.id).assertEqual('idProp')
done();
});
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewStyleProp
// * @tc.desc ACEs
// */
// it('testPickerViewStyleProp', 0, async function (done) {
// console.info('testPickerViewStyleProp START');
// console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker-view')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerViewProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerViewProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerViewProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
});
......@@ -97,31 +97,4 @@
done();
});
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewStyleProp
// * @tc.desc ACEs
// */
// it('testPickerViewStyleProp', 0, async function (done) {
// console.info('testPickerViewStyleProp START');
// console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker-view')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerViewProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerViewProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerViewProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
});
......@@ -96,31 +96,5 @@
console.info("[pickerViewProps] get className value is: " + JSON.stringify(obj.$attrs.className));
done();
});
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewStyleProp
// * @tc.desc ACEs
// */
// it('testPickerViewStyleProp', 0, async function (done) {
// console.info('testPickerViewStyleProp START');
// console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker-view')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerViewProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerViewProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerViewProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
});
......@@ -77,33 +77,7 @@
await backToIndex()
await sleep(1000)
})
// /**
// * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
// * @tc.name testPickerViewStyleProp
// * @tc.desc ACEs
// */
// it('testPickerViewStyleProp', 0, async function (done) {
// console.info('testPickerViewStyleProp START');
// console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('picker-view')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[pickerViewProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[pickerViewProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[pickerViewProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewRefProp
......
......@@ -157,45 +157,7 @@
console.info("[pickerViewProps] get for value is: " + JSON.stringify(obj.$attrs.if));
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewIfPropFalse
* @tc.desc ACE
*/
/* it('testPickerViewIfPropFalse', 0, async function (done) {
console.info('testPickerViewIfPropFalse START');
console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
let obj = JSON.parse(globalThis.value.ifPropFalse);
console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
expect(obj.$type).assertEqual('picker-view')
expect(obj.$attrs.id).assertEqual('ifPropFalse')
expect(obj.$attrs.if).assertEqual(false)
done();
}); */
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewIfPropNone
* @tc.desc ACE
*/
/* it('testPickerViewIfPropNone', 0, async function (done) {
console.info('testPickerViewIfPropNone START');
console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
let obj = JSON.parse(globalThis.value.ifPropNone);
console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
expect(obj.$type).assertEqual('picker-view')
expect(obj.$attrs.id).assertEqual('ifPropNone')
expect(obj.$attrs.if).assertEqual(false)
done();
}); */
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPickerViewShowPropTrue
......
......@@ -561,44 +561,6 @@ describe('piecePropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPieceIfPropFalse
* @tc.desc ACE
*/
// it('testPieceIfPropFalse', 0, async function (done) {
// console.info('testPieceIfPropFalse START');
// console.info("[pieceProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[pieceProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pieceProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('piece')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPieceIfPropNone
* @tc.desc ACE
*/
// it('testPieceIfPropNone', 0, async function (done) {
// console.info('testPieceIfPropNone START');
// console.info("[pieceProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[pieceProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[pieceProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('piece')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testPieceShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('progressPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressStyleProp
* @tc.desc ACEs
*/
// it('testProgressStyleProp', 0, async function (done) {
// console.info('testProgressStyleProp START');
// console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('progress')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[progressProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[progressProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[progressProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressRefProp
......@@ -587,44 +561,6 @@ describe('progressPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressIfPropFalse
* @tc.desc ACE
*/
// it('testProgressIfPropFalse', 0, async function (done) {
// console.info('testProgressIfPropFalse START');
// console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('progress')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressIfPropNone
* @tc.desc ACE
*/
// it('testProgressIfPropNone', 0, async function (done) {
// console.info('testProgressIfPropNone START');
// console.info("[progressProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[progressProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[progressProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('progress')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testProgressShowPropTrue
......
......@@ -137,33 +137,6 @@ describe('qrcodePropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testQrcodeStyleProp
* @tc.desc ACEs
*/
// it('testQrcodeStyleProp', 0, async function (done) {
// console.info('testQrcodeStyleProp START');
// console.info("[qrcodeProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[qrcodeProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[qrcodeProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('qrcode')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[qrcodeProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[qrcodeProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[qrcodeProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// expect(obj.$attrs.value).assertEqual('value')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testQrcodeRefProp
......@@ -612,46 +585,6 @@ describe('qrcodePropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testQrcodeIfPropFalse
* @tc.desc ACE
*/
// it('testQrcodeIfPropFalse', 0, async function (done) {
// console.info('testQrcodeIfPropFalse START');
// console.info("[qrcodeProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[qrcodeProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[qrcodeProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('qrcode')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// expect(obj.$attrs.value).assertEqual('value')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testQrcodeIfPropNone
* @tc.desc ACE
*/
// it('testQrcodeIfPropNone', 0, async function (done) {
// console.info('testQrcodeIfPropNone START');
// console.info("[qrcodeProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[qrcodeProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[qrcodeProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('qrcode')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// expect(obj.$attrs.value).assertEqual('value')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testQrcodeShowPropTrue
......
......@@ -134,32 +134,6 @@ describe('ratingPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRatingStyleProp
* @tc.desc ACEs
*/
// it('testRatingStyleProp', 0, async function (done) {
// console.info('testRatingStyleProp START');
// console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('rating')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[ratingProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[ratingProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[ratingProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRatingRefProp
......@@ -586,44 +560,6 @@ describe('ratingPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRatingIfPropFalse
* @tc.desc ACE
*/
// it('testRatingIfPropFalse', 0, async function (done) {
// console.info('testRatingIfPropFalse START');
// console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('rating')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRatingIfPropNone
* @tc.desc ACE
*/
// it('testRatingIfPropNone', 0, async function (done) {
// console.info('testRatingIfPropNone START');
// console.info("[ratingProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[ratingProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[ratingProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('rating')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRatingShowPropTrue
......
......@@ -560,44 +560,6 @@ describe('refreshPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRefreshIfPropFalse
* @tc.desc ACE
*/
// it('testRefreshIfPropFalse', 0, async function (done) {
// console.info('testRefreshIfPropFalse START');
// console.info("[refreshProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[refreshProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[refreshProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('refresh')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRefreshIfPropNone
* @tc.desc ACE
*/
// it('testRefreshIfPropNone', 0, async function (done) {
// console.info('testRefreshIfPropNone START');
// console.info("[refreshProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[refreshProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[refreshProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('refresh')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testRefreshShowPropTrue
......
......@@ -134,32 +134,6 @@ describe('selectPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSelectStyleProp
* @tc.desc ACEs
*/
// it('testSelectStyleProp', 0, async function (done) {
// console.info('testSelectStyleProp START');
// console.info("[selectProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[selectProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[selectProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('select')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[selectProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[selectProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[selectProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSelectRefProp
......@@ -586,44 +560,6 @@ describe('selectPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSelectIfPropFalse
* @tc.desc ACE
*/
// it('testSelectIfPropFalse', 0, async function (done) {
// console.info('testSelectIfPropFalse START');
// console.info("[selectProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[selectProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[selectProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('select')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSelectIfPropNone
* @tc.desc ACE
*/
// it('testSelectIfPropNone', 0, async function (done) {
// console.info('testSelectIfPropNone START');
// console.info("[selectProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[selectProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[selectProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('select')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSelectShowPropTrue
......
......@@ -134,32 +134,6 @@ describe('sliderPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSliderStyleProp
* @tc.desc ACEs
*/
// it('testSliderStyleProp', 0, async function (done) {
// console.info('testSliderStyleProp START');
// console.info("[sliderProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[sliderProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[sliderProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('slider')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[sliderProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[sliderProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[sliderProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSliderRefProp
......@@ -586,44 +560,6 @@ describe('sliderPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSliderIfPropFalse
* @tc.desc ACE
*/
// it('testSliderIfPropFalse', 0, async function (done) {
// console.info('testSliderIfPropFalse START');
// console.info("[sliderProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[sliderProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[sliderProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('slider')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSliderIfPropNone
* @tc.desc ACE
*/
// it('testSliderIfPropNone', 0, async function (done) {
// console.info('testSliderIfPropNone START');
// console.info("[sliderProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[sliderProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[sliderProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('slider')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSliderShowPropTrue
......
......@@ -560,44 +560,6 @@ describe('stackPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStackIfPropFalse
* @tc.desc ACE
*/
// it('testStackIfPropFalse', 0, async function (done) {
// console.info('testStackIfPropFalse START');
// console.info("[stackProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[stackProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[stackProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('stack')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStackIfPropNone
* @tc.desc ACE
*/
// it('testStackIfPropNone', 0, async function (done) {
// console.info('testStackIfPropNone START');
// console.info("[stackProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[stackProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[stackProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('stack')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStackShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('stepperItemPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperStyleProp
* @tc.desc ACEs
*/
// it('testDivStyleProp', 0, async function (done) {
// console.info('testDivStyleProp START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[divProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[divProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[divProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperItemRefProp
......@@ -587,44 +561,6 @@ describe('stepperItemPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperItemShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('stepperPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperStyleProp
* @tc.desc ACEs
*/
// it('testDivStyleProp', 0, async function (done) {
// console.info('testDivStyleProp START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[divProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[divProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[divProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperRefProp
......@@ -587,44 +561,6 @@ describe('stepperPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testStepperShowPropTrue
......
......@@ -561,44 +561,6 @@ describe('swiperPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSwiperIfPropFalse
* @tc.desc ACE
*/
// it('testSwiperIfPropFalse', 0, async function (done) {
// console.info('testSwiperIfPropFalse START');
// console.info("[swiperProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[swiperProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[swiperProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('swiper')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSwiperIfPropNone
* @tc.desc ACE
*/
// it('testSwiperIfPropNone', 0, async function (done) {
// console.info('testSwiperIfPropNone START');
// console.info("[swiperProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[swiperProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[swiperProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('swiper')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testSwiperShowPropTrue
......
......@@ -563,44 +563,6 @@ describe('textPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testTextIfPropFalse
* @tc.desc ACE
*/
// it('testTextIfPropFalse', 0, async function (done) {
// console.info('testTextIfPropFalse START');
// console.info("[textProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[textProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[textProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('text')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testTextIfPropNone
* @tc.desc ACE
*/
// it('testTextIfPropNone', 0, async function (done) {
// console.info('testTextIfPropNone START');
// console.info("[textProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[textProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[textProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('text')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testTextPropsShowPropTrue
......
......@@ -137,32 +137,6 @@ describe('toolbarPropsJsTest5', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivStyleProp
* @tc.desc ACEs
*/
// it('testDivStyleProp', 0, async function (done) {
// console.info('testDivStyleProp START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[divProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[divProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[divProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testToolbarRefProp
......@@ -589,44 +563,6 @@ describe('toolbarPropsJsTest5', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testToolbarShowPropTrue
......
......@@ -563,44 +563,6 @@ describe('toolbarPropsJsTest7', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testToolbarShowPropTrue
......
......@@ -135,32 +135,6 @@ describe('videoPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivStyleProp
* @tc.desc ACEs
*/
// it('testDivStyleProp', 0, async function (done) {
// console.info('testDivStyleProp START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.styleProp);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('styleProp')
// expect(obj.$attrs.style).assertEqual(undefined)
// console.info("[divProps] get style value is: " + JSON.stringify(obj.$attrs.style));
//
// expect(obj.$styles.width).assertEqual(undefined);
// console.info("[divProps] get style width value is: " + JSON.stringify(obj.$styles.width));
// expect(obj.$styles.height).assertEqual(undefined);
// console.info("[divProps] get style height value is: " + JSON.stringify(obj.$styles.height));
// expect(obj.$styles.get('background-color')).assertEqual(undefined);
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testVideoRefProp
......@@ -316,159 +290,6 @@ describe('videoPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivClickEffectPropSmall
* @tc.desc ACE
*/
// it('testVideoClickEffectPropSmall', 0, async function (done) {
// console.info('testVideoClickEffectPropSmall START');
// console.info("[videoProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.clickEffectPropSmall);
// console.info("[videoProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[videoProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('video')
// expect(obj.$attrs.id).assertEqual('clickEffectPropSmall')
// expect(obj.$attrs.clickEffect).assertEqual('spring-small')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivClickEffectPropMedium
* @tc.desc ACE
*/
// it('testDivClickEffectPropMedium', 0, async function (done) {
// console.info('testDivClickEffectPropMedium START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.clickEffectPropMedium);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('clickEffectPropMedium')
// expect(obj.$attrs.clickEffect).assertEqual('spring-medium')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivClickEffectPropLarge
* @tc.desc ACE
*/
// it('testDivClickEffectPropLarge', 0, async function (done) {
// console.info('testDivClickEffectPropLarge START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.clickEffectPropLarge);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('clickEffectPropLarge')
// expect(obj.$attrs.clickEffect).assertEqual('spring-large')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivClickEffectPropNone
* @tc.desc ACE
*/
// it('testDivClickEffectPropNone', 0, async function (done) {
// console.info('testDivClickEffectPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.clickEffectPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('clickEffectPropNone')
// expect(obj.$attrs.clickEffect).assertEqual(undefined)
// console.info("[divProps] get clickEffect value is: " + JSON.stringify(obj.$attrs.clickEffect));
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivDirPropRtl
* @tc.desc ACE
*/
// it('testDivDirPropRtl', 0, async function (done) {
// console.info('testDivDirPropRtl START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.dirPropRtl);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('dirPropRtl')
// expect(obj.$attrs.dir).assertEqual('rtl')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivDirPropLtr
* @tc.desc ACE
*/
// it('testDivDirPropLtr', 0, async function (done) {
// console.info('testDivDirPropLtr START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.dirPropLtr);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('dirPropLtr')
// expect(obj.$attrs.dir).assertEqual('ltr')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivDirPropAuto
* @tc.desc ACE
*/
// it('testDivDirPropAuto', 0, async function (done) {
// console.info('testDivDirPropAuto START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.dirPropAuto);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('dirPropAuto')
// expect(obj.$attrs.dir).assertEqual('auto')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivDirPropNone
* @tc.desc ACE
*/
// it('testDivDirPropNone', 0, async function (done) {
// console.info('testDivDirPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.dirPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('dirPropNone')
// expect(obj.$attrs.dir).assertEqual('auto')
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testVideoForPropNull
......@@ -549,44 +370,6 @@ describe('videoPropsJsTest', function () {
done();
});
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropFalse
* @tc.desc ACE
*/
// it('testDivIfPropFalse', 0, async function (done) {
// console.info('testDivIfPropFalse START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropFalse);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropFalse')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testDivIfPropNone
* @tc.desc ACE
*/
// it('testDivIfPropNone', 0, async function (done) {
// console.info('testDivIfPropNone START');
// console.info("[divProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
//
// let obj = JSON.parse(globalThis.value.ifPropNone);
// console.info("[divProps] get inspector value is: " + JSON.stringify(obj));
// console.info("[divProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
//
// expect(obj.$type).assertEqual('div')
// expect(obj.$attrs.id).assertEqual('ifPropNone')
// expect(obj.$attrs.if).assertEqual(false)
// done();
// });
/**
* @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100
* @tc.name testVideoShowPropTrue
......
......@@ -316,7 +316,6 @@ describe('threadWorkerTest', function () {
})
// check postMessage is ok
// main post {message:"hello world"} , will receive {message:"hello world worker"}
/**
* @tc.name: threadWorker_postMessage_test_003
* @tc.desc: Sends a message to the worker thread.
......
......@@ -229,7 +229,6 @@ describe('WorkerTest', function () {
})
// check postMessage is ok
// main post {message:"hello world"} , will receive {message:"hello world worker"}
/**
* @tc.name: worker_postMessage_test_003
* @tc.desc: Sends a message to the worker thread.
......
......@@ -125,27 +125,6 @@ describe('storageHelperTest', function () {
done();
})
/**
* @tc.name removeStorageFromCache callback interface test
* @tc.number SUB_DDM_AppDataFWK_JSPreferences_Storage_Helper_0041
* @tc.desc removeStorageFromCache callback interface test
*/
// it('testRemoveStorageFromCache003', 0, function (done) {
// let perf = storage.getStorageSync('/data/test_storage3');
// storage.removeStorageFromCache(perf, function (err) {
// if (err) {
// console.info("removeStorageFromCache callback interface test failed" + err);
// expect(null).assertFail();
// done();
// return
// }
// console.info("removeStorageFromCache callback interface test successfully.");
// expect(true).assertTrue();
// done();
// })
//
// })
/**
* @tc.name deleteStorageSync interface test
* @tc.number SUB_DDM_AppDataFWK_JSPreferences_Storage_Helper_0050
......
......@@ -32,7 +32,6 @@ var seConnect = {
proxy.sendRequest(1, data, reply, option)
.then(function (result) {
if (result.errCode === 0) {
// let msg = reply.readString();
let msg = result.reply.readInt();
console.log("[ttt] [DataShareTest] <<Consumer>> seConnect reply msg: " + msg);
} else {
......@@ -61,8 +60,6 @@ let dseUri = ("datashare:///com.samples.datasharekvtest.DataShare");
var dseConnect = {
onConnect:function (elementName, proxy) {
console.log("[ttt] [DataShareTest] <<Consumer>> dseConnect onConnect called.");
// console.log("[ttt] [DataShareTest] <<Consumer>> dseConnect onConnect elementName = " + elementName);
// console.log("[ttt] [DataShareTest] <<Consumer>> dseConnect onConnect proxy = " + proxy);
dseProxy = proxy;
},
onDisconnect:function (elementName) {
......
......@@ -289,7 +289,7 @@ export default function webgl1Test_webgl5() {
* @tc.desc Test getParameter.
*/
it('testGetParameter3', 0, async function (done) {
//initContext();
console.info('jsWebGL getParameter test start ...' + JSON.stringify(gl));
const buffer = gl.getParameter(gl.ARRAY_BUFFER_BINDING);
console.info("buffer: " + buffer);
......@@ -307,7 +307,7 @@ export default function webgl1Test_webgl5() {
* @tc.desc Test getVertexAttrib.
*/
it('testGetVertexAttribFirst', 0, async function (done) {
//initContext();
console.info('jsWebGL getVertexAttrib test start ...' + JSON.stringify(gl));
const vertexBuffer = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, vertexBuffer);
......@@ -331,7 +331,7 @@ export default function webgl1Test_webgl5() {
* @tc.desc Test isRenderbuffer.
*/
it('testIsRenderbuffer_04', 0, async function (done) {
//initContext();
console.info('jsWebGL testIsRenderbuffer_04 test start ...66');
var texture = gl.createTexture();
const isrenderbuffer = gl.isRenderbuffer(texture);
......@@ -349,7 +349,7 @@ export default function webgl1Test_webgl5() {
* @tc.desc Test getBufferParameter.
*/
it('testGetBufferParameter3', 0, async function (done) {
//initContext();
console.info('jsWebGL getBufferParameter test start ...' + JSON.stringify(gl));
const buffer = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
......@@ -366,7 +366,7 @@ export default function webgl1Test_webgl5() {
* @tc.desc Test stencilMaskSeparate.
*/
it('testStencilMaskSeparate1', 0, async function (done) {
//initContext();
console.info('jsWebGL stencilMaskSeparate test start ...' + JSON.stringify(gl));
gl.stencilMaskSeparate(gl.BACK, 110101);
const stencilMaskSeparateParameter = gl.getParameter(gl.STENCIL_WRITEMASK);
......@@ -524,7 +524,6 @@ export default function webgl1Test_webgl5() {
let errorCode = gl.getError();
console.info("webgltest endTransformFeedback getError: " + errorCode);
expect(errorCode).assertLarger(gl.NO_ERROR);
//deleteContext();
done();
});
})
......
......@@ -2135,7 +2135,6 @@ function setAVPlayerPlay(src, avPlayer, done) {
break;
case AV_PLAYER_STATE.ERROR:
console.info(`case error called, AV_PLAYER_STATE.ERROR, ignore`);
// expect().assertFail();
avPlayer.release().then(() => {
}, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback);
break;
......@@ -2224,7 +2223,6 @@ export function setAVPlayerSeekCb(src, avPlayer, playTest, playTime, done) {
// step 4: seek + pause
expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.PLAYING);
avPlayer.seek(avPlayer.duration / 2, media.SeekMode.SEEK_PREV_SYNC);
// avPlayer.pause();
avPlayer.pause((err) => {
if (err != null) {
mediaTestBase.assertErr('pause', err, done);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册