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

!8448 解决validator删除键bug

Merge pull request !8448 from 田文哲/master
...@@ -29,6 +29,8 @@ let path1 = path + '/Player'; ...@@ -29,6 +29,8 @@ let path1 = path + '/Player';
let VarColor = []; let VarColor = [];
let ColorBackPath = path + '/PlayerColorBack.txt'; let ColorBackPath = path + '/PlayerColorBack.txt';
let txtPath = path1 + '/PlayerReport.txt'; let txtPath = path1 + '/PlayerReport.txt';
let AudioTxtPath = path1 + '/PlayerAudioReport.txt';
let VideoTxtPath = path1 + '/PlayerVideoReport.txt';
let xmlPath = path1 + '/PlayerTest.xml'; let xmlPath = path1 + '/PlayerTest.xml';
@Entry @Entry
...@@ -245,6 +247,8 @@ struct IndexPage { ...@@ -245,6 +247,8 @@ struct IndexPage {
ClearText() { ClearText() {
fileio.rmdirSync(path1); fileio.rmdirSync(path1);
fileio.mkdirSync(path1); fileio.mkdirSync(path1);
fileio.openSync(AudioTxtPath, 0o100 | 0o2002, 0o664);
fileio.openSync(VideoTxtPath, 0o100 | 0o2002, 0o664);
let fd = fileio.openSync(ColorBackPath, 0o102, 0o666); let fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
for (let i = 0; i < this.TestCaseList.length; i++) { for (let i = 0; i < this.TestCaseList.length; i++) {
let log = (this.TestCaseList[i].title + ';' + '#ff808080' + ';').toString(); let log = (this.TestCaseList[i].title + ';' + '#ff808080' + ';').toString();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册