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

!4696 新增视频硬编接口用例

Merge pull request !4696 from ling990/ling990
...@@ -17,14 +17,32 @@ ...@@ -17,14 +17,32 @@
{ {
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"setenforce 0",
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/*",
"chmod 777 -R /storage/media/100/local/files/", "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/",
"chmod 777 /storage/media/100/local/files/*", "chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/"
"killall com.ohos.medialibrary.MediaScannerAbilityA",
"aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA"
], ],
"teardown-command":[ "teardown-command":[
] ]
},
{
"type": "PushKit",
"pre-push": [
],
"push": [
"./resource/media/es/mpeg4_320_240.es ->/data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/",
"./resource/media/es/out_320_240_10s.h264 ->/data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 777 -R /data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/",
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.video.videoencoder/haps/entry/files/*"
],
"teardown-command":[
"setenforce 1"
]
} }
] ]
} }
\ No newline at end of file
...@@ -13,10 +13,4 @@ ...@@ -13,10 +13,4 @@
* limitations under the License. * limitations under the License.
*/ */
require('./VideoEncoderSoftwareFuncCallbackTest.test.js') require('./VideoEncoderHardwareFuncPromiseTest.test.js')
require('./VideoEncoderSoftwareFuncPromiseTest.test.js')
require('./VideoEncoderSoftwareReliabilityCallbackTest.test.js')
require('./VideoEncoderSoftwareReliabilityPromiseTest.test.js')
require('./VideoEncoderMultiInstancesTest.test.js')
require('./VideoEncoderEnumTest.test.js')
require('./VideoHardwareEncoderEnumTest.test.js')
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册