From 86c868770b9e2179e6b412f28dfd091f336c8f3d Mon Sep 17 00:00:00 2001 From: tianwenzhe Date: Fri, 14 Apr 2023 11:55:13 +0800 Subject: [PATCH] delete bug Signed-off-by: tian-wenzhe411 --- .../acts_validator/src/main/ets/pages/Player/Player_index.ets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/validator/acts_validator/src/main/ets/pages/Player/Player_index.ets b/validator/acts_validator/src/main/ets/pages/Player/Player_index.ets index 1104cbe98..e0b1bfb26 100644 --- a/validator/acts_validator/src/main/ets/pages/Player/Player_index.ets +++ b/validator/acts_validator/src/main/ets/pages/Player/Player_index.ets @@ -29,6 +29,8 @@ let path1 = path + '/Player'; let VarColor = []; let ColorBackPath = path + '/PlayerColorBack.txt'; let txtPath = path1 + '/PlayerReport.txt'; +let AudioTxtPath = path1 + '/PlayerAudioReport.txt'; +let VideoTxtPath = path1 + '/PlayerVideoReport.txt'; let xmlPath = path1 + '/PlayerTest.xml'; @Entry @@ -245,6 +247,8 @@ struct IndexPage { ClearText() { fileio.rmdirSync(path1); fileio.mkdirSync(path1); + fileio.openSync(AudioTxtPath, 0o100 | 0o2002, 0o664); + fileio.openSync(VideoTxtPath, 0o100 | 0o2002, 0o664); let fd = fileio.openSync(ColorBackPath, 0o102, 0o666); for (let i = 0; i < this.TestCaseList.length; i++) { let log = (this.TestCaseList[i].title + ';' + '#ff808080' + ';').toString(); -- GitLab