Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
60f8c90f
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看板
提交
60f8c90f
编写于
8月 11, 2023
作者:
W
wangyulie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新xts用例信息
Signed-off-by:
N
wangyulie
<
wanglieyu@126.com
>
上级
d716bc70
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
88 addition
and
9 deletion
+88
-9
resourceschedule/resourceschedule_standard/ffrt/AppScope/resources/base/element/string.json
...standard/ffrt/AppScope/resources/base/element/string.json
+1
-1
resourceschedule/resourceschedule_standard/ffrt/BUILD.gn
resourceschedule/resourceschedule_standard/ffrt/BUILD.gn
+2
-2
resourceschedule/resourceschedule_standard/ffrt/build-profile.json5
...hedule/resourceschedule_standard/ffrt/build-profile.json5
+2
-2
resourceschedule/resourceschedule_standard/ffrt/entry/build-profile.json5
.../resourceschedule_standard/ffrt/entry/build-profile.json5
+0
-1
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/CMakeLists.txt
...eschedule_standard/ffrt/entry/src/main/cpp/CMakeLists.txt
+1
-1
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/ffrtndk.cpp
...urceschedule_standard/ffrt/entry/src/main/cpp/ffrtndk.cpp
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/types/libentry/index.d.ts
...tandard/ffrt/entry/src/main/cpp/types/libentry/index.d.ts
+1
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/types/libentry/oh-package.json5
...d/ffrt/entry/src/main/cpp/types/libentry/oh-package.json5
+6
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/module.json5
...esourceschedule_standard/ffrt/entry/src/main/module.json5
+2
-1
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/test/Ffrt.test.ets
...e_standard/ffrt/entry/src/ohosTest/ets/test/Ffrt.test.ets
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/test/List.test.ets
...e_standard/ffrt/entry/src/ohosTest/ets/test/List.test.ets
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/testability/TestAbility.ets
...d/ffrt/entry/src/ohosTest/ets/testability/TestAbility.ets
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/testability/pages/Index.ets
...d/ffrt/entry/src/ohosTest/ets/testability/pages/Index.ets
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/module.json5
...rceschedule_standard/ffrt/entry/src/ohosTest/module.json5
+2
-0
resourceschedule/resourceschedule_standard/ffrt/oh-package.json5
...eschedule/resourceschedule_standard/ffrt/oh-package.json5
+1
-1
未找到文件。
resourceschedule/resourceschedule_standard/ffrt/AppScope/resources/base/element/string.json
浏览文件 @
60f8c90f
...
...
@@ -2,7 +2,7 @@
"string"
:
[
{
"name"
:
"app_name"
,
"value"
:
"
MyApplication
"
"value"
:
"
FfrtTest
"
}
]
}
resourceschedule/resourceschedule_standard/ffrt/BUILD.gn
浏览文件 @
60f8c90f
...
...
@@ -12,10 +12,10 @@
# limitations under the License.
import("//test/xts/tools/build/suite.gni")
ohos_js_app_suite("resourceschedule_ffrt_js_test") {
test_hap = true
test_hap = true
testonly = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsFfrtNativeTest"
part_name = "ffrt"
subsystem_name = "resourceschedule"
}
\ No newline at end of file
}
resourceschedule/resourceschedule_standard/ffrt/build-profile.json5
浏览文件 @
60f8c90f
{
"app": {
"signingConfigs": [],
"compileSdkVersion":
9
,
"compatibleSdkVersion":
9
,
"compileSdkVersion":
10
,
"compatibleSdkVersion":
10
,
"products": [
{
"name": "default",
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/build-profile.json5
浏览文件 @
60f8c90f
...
...
@@ -10,7 +10,6 @@
"targets": [
{
"name": "default",
"runtimeOS": "HarmonyOS"
},
{
"name": "ohosTest",
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/CMakeLists.txt
浏览文件 @
60f8c90f
# the minimum version of CMake.
cmake_minimum_required
(
VERSION 3.4.1
)
project
(
MyApplication
)
project
(
FfrtTest
)
set
(
NATIVERENDER_ROOT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
)
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/ffrtndk.cpp
浏览文件 @
60f8c90f
/*
* Copyright (c) 2021 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.
*/
#include "napi/native_api.h"
#include "hilog/log.h"
#include "ffrt/task.h"
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/types/libentry/index.d.ts
0 → 100644
浏览文件 @
60f8c90f
export
const
add
:
(
a
:
number
,
b
:
number
)
=>
number
;
\ No newline at end of file
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/types/libentry/oh-package.json5
0 → 100644
浏览文件 @
60f8c90f
{
"name": "libentry.so",
"types": "./index.d.ts",
"version": "",
"description": "Please describe the basic information."
}
\ No newline at end of file
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/module.json5
浏览文件 @
60f8c90f
...
...
@@ -5,7 +5,8 @@
"description": "$string:module_desc",
"mainElement": "EntryAbility",
"deviceTypes": [
"phone"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/test/Ffrt.test.ets
浏览文件 @
60f8c90f
/*
* Copyright (c) 2021 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.
*/
import hilog from '@ohos.hilog';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import ffrtndk from 'libffrtndk.so';
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/test/List.test.ets
浏览文件 @
60f8c90f
/*
* Copyright (c) 2021 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.
*/
import ffrtTest from './Ffrt.test'
export default function testsuite() {
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/testability/TestAbility.ets
浏览文件 @
60f8c90f
/*
* Copyright (c) 2021 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.
*/
import UIAbility from '@ohos.app.ability.UIAbility';
import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry';
import hilog from '@ohos.hilog';
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/ets/testability/pages/Index.ets
浏览文件 @
60f8c90f
/*
* Copyright (c) 2021 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.
*/
import hilog from '@ohos.hilog';
@Entry
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/ohosTest/module.json5
浏览文件 @
60f8c90f
...
...
@@ -5,6 +5,8 @@
"description": "$string:module_test_desc",
"mainElement": "TestAbility",
"deviceTypes": [
"default",
"tablet",
"phone"
],
"deliveryWithInstall": true,
...
...
resourceschedule/resourceschedule_standard/ffrt/oh-package.json5
浏览文件 @
60f8c90f
...
...
@@ -4,7 +4,7 @@
"@ohos/hypium": "1.0.6"
},
"author": "",
"name": "
myapplication
",
"name": "
ffrttest
",
"description": "Please describe the basic information.",
"main": "",
"version": "1.0.0",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录