提交 b088b2dc 编写于 作者: R ruanmeng

文件资源路径修改 Signed-off-by: NOBUGGERS <ruanmeng@huawei.com>

Signed-off-by: Nruanmeng <ruanmeng@huawei.com>
上级 f65c4206
......@@ -12,18 +12,17 @@
"pre-push": [
],
"push": [
"./resource/media/es/out_1920_1080_30fps_3s.h264 ->/data/media/",
"./resource/media/es/h263_1408_1152.es ->/data/media/",
"./resource/media/es/MPEG2_720_480.es ->/data/media/",
"./resource/media/es/mpeg4_320_240.es ->/data/media/",
"./resource/media/es/out_320_240_10s.h264 ->/data/media/"
"./resource/media/es/out_1920_1080_30fps_3s.h264 ->/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/",
"./resource/media/es/h263_1408_1152.es ->/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/",
"./resource/media/es/MPEG2_720_480.es ->/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/",
"./resource/media/es/mpeg4_320_240.es ->/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/",
"./resource/media/es/out_320_240_10s.h264 ->/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/"
]
},
{
"type": "ShellKit",
"run-command": [
"chmod 777 -R /data/media",
"chmod 777 /data/media/*",
"mkdir -p /data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/",
"setenforce 0"
],
"teardown-command":[
......
......@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
let surfaceID = '';
const events = require('events');
const eventEmitter = new events.EventEmitter();
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
let ES_FRAME_SIZE = [];
const H264_FRAME_SIZE_30FPS_1080 =
[ 3491, 115184, 9423, 1046, 19038, 2059, 2306, 28773, 4815, 1670, 31464, 6322, 2969, 3518, 38279, 8419, 4463,
......
......@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
let surfaceID = '';
const events = require('events');
const eventEmitter = new events.EventEmitter();
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
let ES_FRAME_SIZE = [];
const H264_FRAME_SIZE_30FPS_1080 =
[ 3491, 115184, 9423, 1046, 19038, 2059, 2306, 28773, 4815, 1670, 31464, 6322, 2969, 3518, 38279, 8419, 4463,
......
......@@ -46,7 +46,7 @@ describe('VideoDecoderReliCallbackTest', function () {
let inputEosFlag = false;
let workdoneAtEOS = false;
let surfaceID = '';
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
const SRCPATH = BASIC_PATH + 'out_1920_1080_30fps_3s.h264';
let mediaDescription = {
'track_type': 1,
......
......@@ -46,7 +46,7 @@ describe('VideoDecoderReliPromiseTest', function () {
let inputEosFlag = false;
let workdoneAtEOS = false;
let surfaceID = '';
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
const SRCPATH = BASIC_PATH + 'out_1920_1080_30fps_3s.h264';
let mediaDescription = {
'track_type': 1,
......
......@@ -31,7 +31,7 @@ describe('VideoDecoderFuncCallbackTest', function () {
let surfaceID = '';
const events = require('events');
const eventEmitter = new events.EventEmitter();
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
let ES_FRAME_SIZE = [];
const H264_FRAME_SIZE_240 =
[ 2106, 11465, 321, 72, 472, 68, 76, 79, 509, 90, 677, 88, 956, 99, 347, 77, 452, 681, 81, 1263, 94, 106, 97,
......
......@@ -32,7 +32,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
let surfaceID = '';
const events = require('events');
const eventEmitter = new events.EventEmitter();
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
let ES_FRAME_SIZE = [];
const H264_FRAME_SIZE_240 =
[ 2106, 11465, 321, 72, 472, 68, 76, 79, 509, 90, 677, 88, 956, 99, 347, 77, 452, 681, 81, 1263, 94, 106, 97,
......
......@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliCallbackTest', function () {
let inputEosFlag = false;
let workdoneAtEOS = false;
let surfaceID = '';
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
const SRCPATH = BASIC_PATH + 'out_1920_1080_30fps_3s.h264';
let mediaDescription = {
'track_type': 1,
......
......@@ -46,7 +46,7 @@ describe('VideoDecoderSoftwareReliPromiseTest', function () {
let inputEosFlag = false;
let workdoneAtEOS = false;
let surfaceID = '';
const BASIC_PATH = '/data/media/';
const BASIC_PATH = '/data/accounts/account_0/appdata/ohos.acts.multimedia.videodecoder/shared/';
const SRCPATH = BASIC_PATH + 'out_1920_1080_30fps_3s.h264';
let mediaDescription = {
'track_type': 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册