未验证 提交 4100b744 编写于 作者: O openharmony_ci 提交者: Gitee

!9065 UX二期 Progress组件相关XTS

Merge pull request !9065 from sunjiakun/UXII8.2_xts_progress
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"type": "OHJSUnitTest", "type": "OHJSUnitTest",
"test-timeout": "600000", "test-timeout": "600000",
"bundle-name": "com.example.progresstest", "bundle-name": "com.example.progresstest",
"module-name": "phone", "module-name": "entry_test",
"shell-timeout": "600000", "shell-timeout": "600000",
"testcase-timeout": 240000 "testcase-timeout": 240000
}, },
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
* limitations under the License. * limitations under the License.
*/ */
import progressTest from './progress' import progressTest from './progress'
import progressSecTest from './progressSec'
export default function testsuite() { export default function testsuite() {
progressTest() progressTest()
progressSecTest()
} }
\ No newline at end of file
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export default class Utils {
static sleep(time){
return new Promise((resolve,reject)=>{
setTimeout(()=>{
resolve("ok")
},time)
}).then(()=>{
console.info(`sleep ${time} over...`)
})
}
}
{ {
"module": { "module": {
"name": "phone", "name": "entry_test",
"type": "feature", "type": "feature",
"description": "$string:module_test_desc", "description": "$string:module_test_desc",
"mainElement": "TestAbility", "mainElement": "TestAbility",
......
{ {
"src": [ "src": [
"TestAbility/pages/Index" "TestAbility/pages/Index",
"TestAbility/pages/IndexSec"
] ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册