Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
61722e97
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
61722e97
编写于
5月 27, 2023
作者:
T
tianwenzhe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete rongyu
Signed-off-by:
N
tian-wenzhe411
<
tianwenzhe2@huawei.com
>
上级
144fd02c
变更
55
展开全部
隐藏空白更改
内联
并排
Showing
55 changed file
with
1807 addition
and
3584 deletion
+1807
-3584
ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
...ytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
+0
-3
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountGet.test.js
...countthirdpartytest/src/main/js/test/OsAccountGet.test.js
+0
-19
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountQuery.test.js
...untthirdpartytest/src/main/js/test/OsAccountQuery.test.js
+0
-20
arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
...ard/src/main/js/default/test/commonComponentJsApi.test.js
+0
-21
arkui/ace_standard/src/main/js/default/test/divProps.test.js
arkui/ace_standard/src/main/js/default/test/divProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/dividerProps.test.js
...ce_standard/src/main/js/default/test/dividerProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/inputProps.test.js
.../ace_standard/src/main/js/default/test/inputProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/labelProps.test.js
.../ace_standard/src/main/js/default/test/labelProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/optionProps.test.js
...ace_standard/src/main/js/default/test/optionProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/pickerProps.test.js
...ace_standard/src/main/js/default/test/pickerProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/pickerViewProps.test.js
...standard/src/main/js/default/test/pickerViewProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/pickerViewProps2111.test.js
...dard/src/main/js/default/test/pickerViewProps2111.test.js
+0
-28
arkui/ace_standard/src/main/js/default/test/pickerViewProps2112.test.js
...dard/src/main/js/default/test/pickerViewProps2112.test.js
+0
-27
arkui/ace_standard/src/main/js/default/test/pickerViewProps2113.test.js
...dard/src/main/js/default/test/pickerViewProps2113.test.js
+0
-26
arkui/ace_standard/src/main/js/default/test/pickerViewProps212.test.js
...ndard/src/main/js/default/test/pickerViewProps212.test.js
+1
-27
arkui/ace_standard/src/main/js/default/test/pickerViewProps42.test.js
...andard/src/main/js/default/test/pickerViewProps42.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/pieceProps.test.js
.../ace_standard/src/main/js/default/test/pieceProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/progressProps.test.js
...e_standard/src/main/js/default/test/progressProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/qrcodeProps.test.js
...ace_standard/src/main/js/default/test/qrcodeProps.test.js
+0
-67
arkui/ace_standard/src/main/js/default/test/ratingProps.test.js
...ace_standard/src/main/js/default/test/ratingProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/refreshProps.test.js
...ce_standard/src/main/js/default/test/refreshProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/selectProps.test.js
...ace_standard/src/main/js/default/test/selectProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/sliderProps.test.js
...ace_standard/src/main/js/default/test/sliderProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/stackProps.test.js
.../ace_standard/src/main/js/default/test/stackProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/stepperItemProps.test.js
...tandard/src/main/js/default/test/stepperItemProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/stepperProps.test.js
...ce_standard/src/main/js/default/test/stepperProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/swiperProps.test.js
...ace_standard/src/main/js/default/test/swiperProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/textProps.test.js
...i/ace_standard/src/main/js/default/test/textProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/toolbarItemProps.test.js
...tandard/src/main/js/default/test/toolbarItemProps.test.js
+0
-64
arkui/ace_standard/src/main/js/default/test/toolbarProps.test.js
...ce_standard/src/main/js/default/test/toolbarProps.test.js
+0
-38
arkui/ace_standard/src/main/js/default/test/videoProps.test.js
.../ace_standard/src/main/js/default/test/videoProps.test.js
+0
-217
commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/test/ThreadWorker.test.js
...lib_standard/entry/src/main/ets/test/ThreadWorker.test.js
+0
-1
commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/test/WorkerTest.test.js
...r_lib_standard/entry/src/main/ets/test/WorkerTest.test.js
+0
-1
distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js
...esjstest/hap/src/main/js/test/StorageHelperJsunit.test.js
+0
-21
distributeddatamgr/relationalStoretest/relationalStoreStagetest/entry/src/main/ets/MainAbility/MainAbility.ts
...reStagetest/entry/src/main/ets/MainAbility/MainAbility.ts
+0
-3
graphic/webGL/src/main/js/test/WebGL.test01.js
graphic/webGL/src/main/js/test/WebGL.test01.js
+194
-198
graphic/webGL/src/main/js/test/WebGL.test02.js
graphic/webGL/src/main/js/test/WebGL.test02.js
+150
-179
graphic/webGL/src/main/js/test/WebGL.test03.js
graphic/webGL/src/main/js/test/WebGL.test03.js
+93
-111
graphic/webGL/src/main/js/test/WebGL.test04.js
graphic/webGL/src/main/js/test/WebGL.test04.js
+95
-95
graphic/webGL/src/main/js/test/WebGL.test05.js
graphic/webGL/src/main/js/test/WebGL.test05.js
+83
-83
graphic/webGL/src/main/js/test/WebGL.test06.js
graphic/webGL/src/main/js/test/WebGL.test06.js
+147
-147
graphic/webGL/src/main/js/test/WebGL.test07.js
graphic/webGL/src/main/js/test/WebGL.test07.js
+146
-146
graphic/webGL/src/main/js/test/WebGL.test08.js
graphic/webGL/src/main/js/test/WebGL.test08.js
+183
-183
graphic/webGL/src/main/js/test/WebGL.test09.js
graphic/webGL/src/main/js/test/WebGL.test09.js
+126
-126
graphic/webGL/src/main/js/test/WebGL.test10.js
graphic/webGL/src/main/js/test/WebGL.test10.js
+110
-110
graphic/webGL/src/main/js/test/WebGL.test11.js
graphic/webGL/src/main/js/test/WebGL.test11.js
+156
-156
graphic/webGL/src/main/js/test/WebGL.test12.js
graphic/webGL/src/main/js/test/WebGL.test12.js
+138
-138
graphic/webGL/src/main/js/test/WebGL.test13.js
graphic/webGL/src/main/js/test/WebGL.test13.js
+141
-141
graphic/webGL/src/main/js/test/WebGL.test14.js
graphic/webGL/src/main/js/test/WebGL.test14.js
+39
-39
graphic/webGL/src/main/js/test/WebGL.test15.js
graphic/webGL/src/main/js/test/WebGL.test15.js
+5
-6
multimedia/media/media_js_standard/AVPlayerTestBase.js
multimedia/media/media_js_standard/AVPlayerTestBase.js
+0
-2
multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/AVPlayerStabilityTest.test.js
...yer/entry/src/main/ets/test/AVPlayerStabilityTest.test.js
+0
-28
multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts
...ibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts
+0
-27
validator/acts_validator/src/main/ets/pages/model/AudioRenderer.ts
.../acts_validator/src/main/ets/pages/model/AudioRenderer.ts
+0
-16
validator/acts_validator/src/main/ets/pages/model/CameraService.ts
.../acts_validator/src/main/ets/pages/model/CameraService.ts
+0
-10
未找到文件。
ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
浏览文件 @
61722e97
...
...
@@ -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
"
);
...
...
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountGet.test.js
浏览文件 @
61722e97
...
...
@@ -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
();
})
...
...
account/osaccount/actsosaccountthirdpartytest/src/main/js/test/OsAccountQuery.test.js
浏览文件 @
61722e97
...
...
@@ -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
();
})
...
...
arkui/ace_standard/src/main/js/default/test/commonComponentJsApi.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/divProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/dividerProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/inputProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/labelProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/optionProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/pickerProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/pickerViewProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/pickerViewProps2111.test.js
浏览文件 @
61722e97
...
...
@@ -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();
// });
});
arkui/ace_standard/src/main/js/default/test/pickerViewProps2112.test.js
浏览文件 @
61722e97
...
...
@@ -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();
// });
});
arkui/ace_standard/src/main/js/default/test/pickerViewProps2113.test.js
浏览文件 @
61722e97
...
...
@@ -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();
// });
});
arkui/ace_standard/src/main/js/default/test/pickerViewProps212.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/pickerViewProps42.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/pieceProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/progressProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/qrcodeProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/ratingProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/refreshProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/selectProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/sliderProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/stackProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/stepperItemProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/stepperProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/swiperProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/textProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/toolbarItemProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/toolbarProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
arkui/ace_standard/src/main/js/default/test/videoProps.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/test/ThreadWorker.test.js
浏览文件 @
61722e97
...
...
@@ -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.
...
...
commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/test/WorkerTest.test.js
浏览文件 @
61722e97
...
...
@@ -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.
...
...
distributeddatamgr/preferencesjstest/hap/src/main/js/test/StorageHelperJsunit.test.js
浏览文件 @
61722e97
...
...
@@ -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
...
...
distributeddatamgr/relationalStoretest/relationalStoreStagetest/entry/src/main/ets/MainAbility/MainAbility.ts
浏览文件 @
61722e97
...
...
@@ -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
)
{
...
...
graphic/webGL/src/main/js/test/WebGL.test01.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test02.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test03.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test04.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test05.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test06.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test07.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test08.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test09.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test10.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test11.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test12.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test13.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test14.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
graphic/webGL/src/main/js/test/WebGL.test15.js
浏览文件 @
61722e97
...
...
@@ -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
();
});
})
...
...
multimedia/media/media_js_standard/AVPlayerTestBase.js
浏览文件 @
61722e97
...
...
@@ -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
);
...
...
multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/AVPlayerStabilityTest.test.js
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
multimedia/medialibrary/mediaLibrary_base/entry/src/main/ets/MainAbility/MainAbility.ts
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
validator/acts_validator/src/main/ets/pages/model/AudioRenderer.ts
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
validator/acts_validator/src/main/ets/pages/model/CameraService.ts
浏览文件 @
61722e97
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录