Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
16d27f67
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看板
提交
16d27f67
编写于
8月 26, 2023
作者:
W
wangyulie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新模型
Signed-off-by:
N
wangyulie
<
wanglieyu@126.com
>
上级
521b71b1
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
51 addition
and
16 deletion
+51
-16
resourceschedule/resourceschedule_standard/ffrt/entry/node_modules/.package-lock.json
...edule_standard/ffrt/entry/node_modules/.package-lock.json
+14
-0
resourceschedule/resourceschedule_standard/ffrt/entry/package-lock.json
...le/resourceschedule_standard/ffrt/entry/package-lock.json
+24
-0
resourceschedule/resourceschedule_standard/ffrt/entry/package.json
...chedule/resourceschedule_standard/ffrt/entry/package.json
+6
-0
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/config.json
...resourceschedule_standard/ffrt/entry/src/main/config.json
+4
-3
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/MainAbility/app.ets
...dule_standard/ffrt/entry/src/main/ets/MainAbility/app.ets
+1
-1
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/TestAbility/app.ets
...dule_standard/ffrt/entry/src/main/ets/TestAbility/app.ets
+1
-9
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/test/Ffrt.test.ets
...edule_standard/ffrt/entry/src/main/ets/test/Ffrt.test.ets
+1
-3
未找到文件。
resourceschedule/resourceschedule_standard/ffrt/entry/node_modules/.package-lock.json
0 → 100644
浏览文件 @
16d27f67
{
"name"
:
"entry"
,
"lockfileVersion"
:
2
,
"requires"
:
true
,
"packages"
:
{
"node_modules/libffrtndk.so"
:
{
"resolved"
:
"src/main/cpp/types/libffrtndk"
,
"link"
:
true
},
"src/main/cpp/types/libffrtndk"
:
{
"dev"
:
true
}
}
}
resourceschedule/resourceschedule_standard/ffrt/entry/package-lock.json
0 → 100644
浏览文件 @
16d27f67
{
"name"
:
"entry"
,
"lockfileVersion"
:
2
,
"requires"
:
true
,
"packages"
:
{
""
:
{
"devDependencies"
:
{
"libffrtndk.so"
:
"file:./src/main/cpp/types/libffrtndk"
}
},
"node_modules/libffrtndk.so"
:
{
"resolved"
:
"src/main/cpp/types/libffrtndk"
,
"link"
:
true
},
"src/main/cpp/types/libffrtndk"
:
{
"dev"
:
true
}
},
"dependencies"
:
{
"libffrtndk.so"
:
{
"version"
:
"file:src/main/cpp/types/libffrtndk"
}
}
}
resourceschedule/resourceschedule_standard/ffrt/entry/package.json
0 → 100644
浏览文件 @
16d27f67
{
"name"
:
"entry"
,
"devDependencies"
:
{
"libffrtndk.so"
:
"file:./src/main/cpp/types/libffrtndk"
}
}
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/config.json
浏览文件 @
16d27f67
...
...
@@ -7,9 +7,9 @@
"name"
:
"1.0.0"
},
"apiVersion"
:
{
"compatible"
:
9
,
"compatible"
:
10
,
"releaseType"
:
"Release"
,
"target"
:
9
"target"
:
10
}
},
"deviceConfig"
:
{},
...
...
@@ -20,7 +20,8 @@
"deviceType"
:
[
"default"
,
"tablet"
"tablet"
,
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/MainAbility/app.ets
浏览文件 @
16d27f67
...
...
@@ -13,7 +13,7 @@
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from '
hypium/index
'
import { Hypium } from '
@ohos/hypium
'
import testsuite from '../test/List.test'
export default {
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/TestAbility/app.ets
浏览文件 @
16d27f67
...
...
@@ -13,18 +13,10 @@
* limitations under the License.
*/
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from 'hypium/index'
import testsuite from '../test/List.test'
import { Hypium } from '@ohos/hypium'
export default {
onCreate() {
console.info('Application onCreate')
var abilityDelegator: any
abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator()
var abilityDelegatorArguments: any
abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments()
console.info('start run testcase!!!')
Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite)
},
onDestroy() {
console.info('Application onDestroy')
...
...
resourceschedule/resourceschedule_standard/ffrt/entry/src/main/ets/test/Ffrt.test.ets
浏览文件 @
16d27f67
...
...
@@ -12,8 +12,7 @@
* 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 {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "@ohos/hypium"
import ffrtndk from 'libffrtndk.so';
export default function ffrtTest() {
describe('ActsAbilityTest', function () {
...
...
@@ -38,7 +37,6 @@ export default function ffrtTest() {
})
it('assertContain',0, function () {
// Defines a test case. This API supports three parameters: test case name, filter parameter, and test case function.
hilog.info(0x0000, 'testTag', '%{public}s', 'it begin');
var flag = ffrtndk.submitSimpleFfrtTask();
var flag2 = ffrtndk.submitCondFfrtTask();
var flag3 = ffrtndk.submitQueueFfrtTask();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录