From b9ae43f0d21813d8e28c95d70d483f36d3f75ddd Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 30 May 2025 06:44:13 -0400 Subject: [PATCH] fix: new fields in test cases --- tests/convert/basic/task.json | 66 +++++++++++++++++++-------- tests/convert/clang-tidy/task.json | 11 +++-- tests/convert/cppcheck/task.json | 11 +++-- tests/convert/cpplint/task.json | 11 +++-- tests/convert/diff/task.json | 11 +++-- tests/convert/elf/task.json | 9 +++- tests/convert/keyword/task.json | 11 +++-- tests/convert/result-detail/task.json | 11 +++-- 8 files changed, 103 insertions(+), 38 deletions(-) diff --git a/tests/convert/basic/task.json b/tests/convert/basic/task.json index 0ebb5d9..5f51b62 100644 --- a/tests/convert/basic/task.json +++ b/tests/convert/basic/task.json @@ -167,12 +167,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } }, { @@ -275,12 +280,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stdout" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] @@ -403,12 +413,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stdout" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] @@ -516,12 +531,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } }, { @@ -654,12 +674,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] @@ -735,12 +760,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": true, + "showRuntime": true, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": true, - "showMemory": true + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/clang-tidy/task.json b/tests/convert/clang-tidy/task.json index 0e90e5c..7dcb3a8 100644 --- a/tests/convert/clang-tidy/task.json +++ b/tests/convert/clang-tidy/task.json @@ -125,12 +125,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stdout" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/cppcheck/task.json b/tests/convert/cppcheck/task.json index 80199a7..efd47db 100644 --- a/tests/convert/cppcheck/task.json +++ b/tests/convert/cppcheck/task.json @@ -95,12 +95,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/cpplint/task.json b/tests/convert/cpplint/task.json index 049bb99..91ea6a7 100644 --- a/tests/convert/cpplint/task.json +++ b/tests/convert/cpplint/task.json @@ -97,12 +97,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/diff/task.json b/tests/convert/diff/task.json index 8720c67..87321e9 100644 --- a/tests/convert/diff/task.json +++ b/tests/convert/diff/task.json @@ -280,12 +280,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": true, + "showRuntime": true, "showFiles": [ "stderr" ], - "showExitStatus": true, - "showRuntime": true, - "showMemory": true + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/elf/task.json b/tests/convert/elf/task.json index d677ffe..75e46c2 100644 --- a/tests/convert/elf/task.json +++ b/tests/convert/elf/task.json @@ -107,10 +107,15 @@ "with": { "score": 0, "comment": "", - "showFiles": [], + "showExxecutorStatus": true, "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, "showRuntime": false, - "showMemory": false + "showFiles": [], + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/keyword/task.json b/tests/convert/keyword/task.json index a28d7d1..4251374 100644 --- a/tests/convert/keyword/task.json +++ b/tests/convert/keyword/task.json @@ -94,12 +94,17 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stdout" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ] diff --git a/tests/convert/result-detail/task.json b/tests/convert/result-detail/task.json index c57390b..91d3111 100644 --- a/tests/convert/result-detail/task.json +++ b/tests/convert/result-detail/task.json @@ -75,13 +75,18 @@ "with": { "score": 0, "comment": "", + "showExxecutorStatus": true, + "showExitStatus": true, + "showError": false, + "showTime": true, + "showMemory": false, + "showRuntime": false, "showFiles": [ "stdout", "stderr" ], - "showExitStatus": true, - "showRuntime": false, - "showMemory": false + "filesInCodeBlock": true, + "maxFileLength": 2048 } } ]