Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
797672cf
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看板
提交
797672cf
编写于
7月 26, 2023
作者:
D
dongxinli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add screenCapture testcase
Signed-off-by:
N
dongxinli
<
dongxinli@huawei.com
>
上级
9a0dd68e
变更
22
展开全部
隐藏空白更改
内联
并排
Showing
22 changed file
with
2750 addition
and
0 deletion
+2750
-0
multimedia/BUILD.gn
multimedia/BUILD.gn
+1
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/BUILD.gn
...a/media/media_js_standard/screenCapture_ndk_test/BUILD.gn
+40
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json
.../media/media_js_standard/screenCapture_ndk_test/Test.json
+23
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/config.json
...tandard/screenCapture_ndk_test/entry/src/main/config.json
+112
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/BUILD.gn
...andard/screenCapture_ndk_test/entry/src/main/cpp/BUILD.gn
+41
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/CMakeLists.txt
.../screenCapture_ndk_test/entry/src/main/cpp/CMakeLists.txt
+11
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/screenCaptureTest.cpp
...Capture_ndk_test/entry/src/main/cpp/screenCaptureTest.cpp
+1609
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/types/libentry/index.d.ts
...ure_ndk_test/entry/src/main/cpp/types/libentry/index.d.ts
+1
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/types/libentry/oh-package.json5
...k_test/entry/src/main/cpp/types/libentry/oh-package.json5
+21
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/MainAbility/app.ets
...enCapture_ndk_test/entry/src/main/ets/MainAbility/app.ets
+25
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/MainAbility/pages/index.ets
...e_ndk_test/entry/src/main/ets/MainAbility/pages/index.ets
+38
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestAbility/app.ets
...enCapture_ndk_test/entry/src/main/ets/TestAbility/app.ets
+34
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestAbility/pages/index.ets
...e_ndk_test/entry/src/main/ets/TestAbility/pages/index.ets
+50
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
...st/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
+53
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/test/List.test.ets
...eenCapture_ndk_test/entry/src/main/ets/test/List.test.ets
+20
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/test/NativeApiTest.ets
...apture_ndk_test/entry/src/main/ets/test/NativeApiTest.ets
+607
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/element/color.json
...ndk_test/entry/src/main/resources/base/element/color.json
+8
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/element/string.json
...dk_test/entry/src/main/resources/base/element/string.json
+24
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/media/icon.png
...ure_ndk_test/entry/src/main/resources/base/media/icon.png
+0
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/en_US/element/string.json
...k_test/entry/src/main/resources/en_US/element/string.json
+16
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/zh_CN/element/string.json
...k_test/entry/src/main/resources/zh_CN/element/string.json
+16
-0
multimedia/media/media_js_standard/screenCapture_ndk_test/signature/openharmony_sx.p7b
...ndard/screenCapture_ndk_test/signature/openharmony_sx.p7b
+0
-0
未找到文件。
multimedia/BUILD.gn
浏览文件 @
797672cf
...
@@ -58,6 +58,7 @@ group("multimedia") {
...
@@ -58,6 +58,7 @@ group("multimedia") {
"media/media_js_standard/avPlayer:avplayer_js_hap",
"media/media_js_standard/avPlayer:avplayer_js_hap",
"media/media_js_standard/avRecorder:av_recorder_js_hap",
"media/media_js_standard/avRecorder:av_recorder_js_hap",
"media/media_js_standard/recorderFormat:recorder_format_js_hap",
"media/media_js_standard/recorderFormat:recorder_format_js_hap",
"media/media_js_standard/screenCapture_ndk_test:screenCapture_xts_ndk_hap",
"media/media_js_standard/videoPlayer:video_player_js_hap",
"media/media_js_standard/videoPlayer:video_player_js_hap",
"medialibrary/mediaLibrary_album:mediaLibrary_album_hap",
"medialibrary/mediaLibrary_album:mediaLibrary_album_hap",
"medialibrary/mediaLibrary_base:mediaLibrary_base_hap",
"medialibrary/mediaLibrary_base:mediaLibrary_base_hap",
...
...
multimedia/media/media_js_standard/screenCapture_ndk_test/BUILD.gn
0 → 100644
浏览文件 @
797672cf
# 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("//build/ohos.gni")
import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("screenCapture_xts_ndk_hap") {
hap_profile = "./entry/src/main/config.json"
deps = [
":pixelmap_ets_assets",
":pixelmap_ets_resources",
":pixelmap_ets_test_assets",
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsScreenCaptureNdkTest"
shared_libraries = [ "./entry/src/main/cpp:screenCaptureNdkTest" ]
part_name = "player_framework"
subsystem_name = "multimedia"
}
ohos_js_assets("pixelmap_ets_assets") {
source_dir = "./entry/src/main/ets/MainAbility"
}
ohos_js_assets("pixelmap_ets_test_assets") {
source_dir = "./entry/src/main/ets/TestAbility"
}
ohos_resources("pixelmap_ets_resources") {
sources = [ "./entry/src/main/resources" ]
hap_profile = "./entry/src/main/config.json"
}
multimedia/media/media_js_standard/screenCapture_ndk_test/Test.json
0 → 100644
浏览文件 @
797672cf
{
"description"
:
"Configuration for screen capture Tests"
,
"driver"
:
{
"type"
:
"OHJSUnitTest"
,
"test-timeout"
:
"1500000"
,
"bundle-name"
:
"com.example.avscreencapturendkxts"
,
"package-name"
:
"com.example.avscreencapturendkxts"
,
"shell-timeout"
:
"600000"
},
"kits"
:
[
{
"test-file-name"
:
[
"ActsScreenCaptureNdkTest.hap"
],
"type"
:
"AppInstallKit"
,
"cleanup-apps"
:
true
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[]
}
]
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/config.json
0 → 100644
浏览文件 @
797672cf
{
"app"
:
{
"bundleName"
:
"com.example.avscreencapturendkxts"
,
"vendor"
:
"example"
,
"version"
:
{
"code"
:
1000000
,
"name"
:
"1.0.0"
},
"apiVersion"
:
{
"compatible"
:
6
,
"releaseType"
:
"Beta1"
,
"target"
:
7
}
},
"deviceConfig"
:
{},
"module"
:
{
"package"
:
"com.example.avscreencapturendkxts"
,
"name"
:
".entry"
,
"mainAbility"
:
".MainAbility"
,
"deviceType"
:
[
"phone"
],
"distro"
:
{
"deliveryWithInstall"
:
true
,
"moduleName"
:
"entry"
,
"moduleType"
:
"entry"
,
"installationFree"
:
false
},
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.MICROPHONE"
},
{
"name"
:
"ohos.permission.CAPTURE_SCREEN"
},
{
"name"
:
"ohos.permission.READ_MEDIA"
},
{
"name"
:
"ohos.permission.WRITE_MEDIA"
}
],
"abilities"
:
[
{
"skills"
:
[
{
"entities"
:
[
"entity.system.home"
],
"actions"
:
[
"action.system.home"
]
}
],
"orientation"
:
"unspecified"
,
"formsEnabled"
:
false
,
"name"
:
".MainAbility"
,
"srcLanguage"
:
"ets"
,
"srcPath"
:
"MainAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:MainAbility_desc"
,
"label"
:
"$string:MainAbility_label"
,
"type"
:
"page"
,
"visible"
:
true
,
"launchType"
:
"standard"
},
{
"orientation"
:
"unspecified"
,
"formsEnabled"
:
false
,
"name"
:
".TestAbility"
,
"srcLanguage"
:
"ets"
,
"srcPath"
:
"TestAbility"
,
"icon"
:
"$media:icon"
,
"description"
:
"$string:TestAbility_desc"
,
"label"
:
"$string:TestAbility_label"
,
"type"
:
"page"
,
"visible"
:
true
,
"launchType"
:
"standard"
}
],
"js"
:
[
{
"mode"
:
{
"syntax"
:
"ets"
,
"type"
:
"pageAbility"
},
"pages"
:
[
"pages/index"
],
"name"
:
".MainAbility"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
false
}
},
{
"mode"
:
{
"syntax"
:
"ets"
,
"type"
:
"pageAbility"
},
"pages"
:
[
"pages/index"
],
"name"
:
".TestAbility"
,
"window"
:
{
"designWidth"
:
720
,
"autoDesignWidth"
:
false
}
}
]
}
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/BUILD.gn
0 → 100644
浏览文件 @
797672cf
# 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("//build/config/ohos/config.gni")
import("//build/ohos.gni")
import("//foundation/arkui/napi/napi.gni")
MEDIA_ROOT_DIR = "//foundation/multimedia/player_framework/"
config("config") {
visibility = [ ":*" ]
cflags = [
"-Wall",
"-Werror",
"-g3",
"-Wunused-variable",
]
}
ohos_shared_library("screenCaptureNdkTest") {
sources = [ "./screenCaptureTest.cpp" ]
include_dirs = [ "$MEDIA_ROOT_DIR/interfaces/kits/c/" ]
external_deps = [
"graphic_2d:surface",
"napi:ace_napi",
]
deps = [ "$MEDIA_ROOT_DIR/interfaces/kits/c:native_avscreen_capture" ]
configs = [ ":config" ]
output_extension = "so"
part_name = "player_framework"
subsystem_name = "multimedia"
}
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/CMakeLists.txt
0 → 100644
浏览文件 @
797672cf
# the minimum version of CMake.
cmake_minimum_required
(
VERSION 3.4.1
)
project
(
AVScreenCaptureNDKXTS
)
set
(
NATIVERENDER_ROOT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
)
include_directories
(
${
NATIVERENDER_ROOT_PATH
}
${
NATIVERENDER_ROOT_PATH
}
/include
)
add_library
(
screenCaptureNdkTest SHARED screenCaptureTest.cpp
)
target_link_libraries
(
screenCaptureNdkTest PUBLIC libace_napi.z.so libnative_avscreen_capture.so libnative_buffer.so libhilog_ndk.z.so
)
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/screenCaptureTest.cpp
0 → 100644
浏览文件 @
797672cf
此差异已折叠。
点击以展开。
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/types/libentry/index.d.ts
0 → 100644
浏览文件 @
797672cf
export
const
add
:
(
a
:
number
,
b
:
number
)
=>
number
;
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/cpp/types/libentry/oh-package.json5
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
{
"name": "screenCaptureNdkTest.so",
"types": "./index.d.ts",
"version": "",
"description": "Please describe the basic information."
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/MainAbility/app.ets
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
import hilog from '@ohos.hilog';
export default {
onCreate() {
hilog.info(0x0000, 'testTag', '%{public}s', 'Application onCreate');
},
onDestroy() {
hilog.info(0x0000, 'testTag', '%{public}s', 'Application onDestroy');
},
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/MainAbility/pages/index.ets
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
import hilog from '@ohos.hilog';
import testNapi from 'libentry.so'
@Entry
@Component
struct Index {
@State message: string = 'Hello World'
build() {
Row() {
Column() {
Text(this.message)
.fontSize(50)
.fontWeight(FontWeight.Bold)
.onClick(() => {
hilog.info(0x0000, 'testTag', 'Test NAPI 2 + 3 = %{public}d', testNapi.add(2, 3));
})
}
.width('100%')
}
.height('100%')
}
}
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestAbility/app.ets
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
import hilog from '@ohos.hilog';
import AbilityDelegatorRegistry from '@ohos.app.ability.abilityDelegatorRegistry';
import { Hypium } from '@ohos/hypium';
import testsuite from '../test/List.test';
export default {
onCreate() {
hilog.info(0x0000, 'testTag', '%{public}s', 'Application onCreate');
var abilityDelegator: any
abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator()
var abilityDelegatorArguments: any
abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments()
hilog.info(0x0000, 'testTag', '%{public}s', 'start run testcase!!!');
Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite)
},
onDestroy() {
hilog.info(0x0000, 'testTag', '%{public}s', 'Application onDestroy');
},
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestAbility/pages/index.ets
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
import hilog from '@ohos.hilog';
@Entry
@Component
struct Index {
aboutToAppear() {
hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility index aboutToAppear');
}
@State message: string = 'Hello World'
build() {
Row() {
Column() {
Text(this.message)
.fontSize(50)
.fontWeight(FontWeight.Bold)
Button() {
Text('next page')
.fontSize(20)
.fontWeight(FontWeight.Bold)
}.type(ButtonType.Capsule)
.margin({
top: 20
})
.backgroundColor('#0D9FFB')
.width('35%')
.height('5%')
.onClick(()=>{
})
}
.width('100%')
}
.height('100%')
}
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/TestRunner/OpenHarmonyTestRunner.ts
0 → 100644
浏览文件 @
797672cf
import
hilog
from
'
@ohos.hilog
'
;
import
TestRunner
from
'
@ohos.application.testRunner
'
;
import
AbilityDelegatorRegistry
from
'
@ohos.app.ability.abilityDelegatorRegistry
'
;
var
abilityDelegator
=
undefined
var
abilityDelegatorArguments
=
undefined
async
function
onAbilityCreateCallback
()
{
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
onAbilityCreateCallback
'
);
}
async
function
addAbilityMonitorCallback
(
err
:
any
)
{
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
addAbilityMonitorCallback : %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
}
export
default
class
OpenHarmonyTestRunner
implements
TestRunner
{
constructor
()
{
}
onPrepare
()
{
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner OnPrepare
'
);
}
onRun
()
{
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner onRun run
'
);
abilityDelegatorArguments
=
AbilityDelegatorRegistry
.
getArguments
()
abilityDelegator
=
AbilityDelegatorRegistry
.
getAbilityDelegator
()
var
testAbilityName
=
abilityDelegatorArguments
.
parameters
[
'
-p
'
]
+
'
.TestAbility
'
let
lMonitor
=
{
abilityName
:
testAbilityName
,
onAbilityCreate
:
onAbilityCreateCallback
,
};
abilityDelegator
.
addAbilityMonitor
(
lMonitor
,
addAbilityMonitorCallback
)
var
cmd
=
'
aa start -d 0 -a
'
+
testAbilityName
+
'
-b
'
+
abilityDelegatorArguments
.
bundleName
var
debug
=
abilityDelegatorArguments
.
parameters
[
'
-D
'
]
if
(
debug
==
'
true
'
)
{
cmd
+=
'
-D
'
}
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
cmd : %{public}s
'
,
cmd
);
abilityDelegator
.
executeShellCommand
(
cmd
,
(
err
:
any
,
d
:
any
)
=>
{
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : err : %{public}s
'
,
JSON
.
stringify
(
err
)
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : data : %{public}s
'
,
d
.
stdResult
??
''
);
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
executeShellCommand : data : %{public}s
'
,
d
.
exitCode
??
''
);
})
hilog
.
info
(
0x0000
,
'
testTag
'
,
'
%{public}s
'
,
'
OpenHarmonyTestRunner onRun end
'
);
}
};
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/test/List.test.ets
0 → 100644
浏览文件 @
797672cf
/*
* 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.
*/
import napiTest from './NativeApiTest'
export default function testsuite() {
napiTest()
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/ets/test/NativeApiTest.ets
0 → 100644
浏览文件 @
797672cf
此差异已折叠。
点击以展开。
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/element/color.json
0 → 100644
浏览文件 @
797672cf
{
"color"
:
[
{
"name"
:
"start_window_background"
,
"value"
:
"#FFFFFF"
}
]
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/element/string.json
0 → 100644
浏览文件 @
797672cf
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"MainAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"MainAbility_label"
,
"value"
:
"label"
},
{
"name"
:
"TestAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"TestAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/base/media/icon.png
0 → 100644
浏览文件 @
797672cf
6.6 KB
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/en_US/element/string.json
0 → 100644
浏览文件 @
797672cf
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"module description"
},
{
"name"
:
"MainAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"MainAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/entry/src/main/resources/zh_CN/element/string.json
0 → 100644
浏览文件 @
797672cf
{
"string"
:
[
{
"name"
:
"module_desc"
,
"value"
:
"模块描述"
},
{
"name"
:
"MainAbility_desc"
,
"value"
:
"description"
},
{
"name"
:
"MainAbility_label"
,
"value"
:
"label"
}
]
}
\ No newline at end of file
multimedia/media/media_js_standard/screenCapture_ndk_test/signature/openharmony_sx.p7b
0 → 100644
浏览文件 @
797672cf
文件已添加
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录