fix(测试跟踪): 用例导入模板添加大小写备注

--bug=1023445 --user=宋昌昌 【测试跟踪】功能用例,导出的excel用例模板提示的用例状态,和导入时要求的值不一样 https://www.tapd.cn/55049933/s/1338942
This commit is contained in:
song-cc-rock 2023-02-20 18:51:48 +08:00 committed by jianxing
parent b77d70e163
commit 15c2296c2b
4 changed files with 5 additions and 2 deletions

View File

@ -92,7 +92,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler {
if (CollectionUtils.isEmpty(list)) {
setComment(priorityIndex, Translator.get("options").concat("P0、P1、P2、P3"));
} else {
setComment(priorityIndex, Translator.get("options").concat(JSON.toJSONString(list)));
setComment(priorityIndex, Translator.get("options").concat(JSON.toJSONString(list)).concat(Translator.get("cannot_ignore_case")));
}
list.clear();
@ -100,7 +100,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler {
list = caseLevelAndStatusValueMap.get("caseStatus");
}
if (CollectionUtils.isNotEmpty(list)) {
setComment(statusIndex, Translator.get("options").concat(JSON.toJSONString(list)));
setComment(statusIndex, Translator.get("options").concat(JSON.toJSONString(list)).concat(Translator.get("cannot_ignore_case")));
}
}

View File

@ -14,6 +14,7 @@ invalid_parameter=Invalid parameter!
name_already_exists=Name already exists
resource_not_exist=The resource does not exist or has been deleted
read_permission_file_fail=Failed to read permission file!
cannot_ignore_case=Please pay attention to letter case!
#user related
user_email_already_exists=User email already exists
user_id_is_null=User ID cannot be null

View File

@ -12,6 +12,7 @@ invalid_parameter=非法的参数
name_already_exists=该名称已经存在
resource_not_exist=资源不存在或已删除
read_permission_file_fail=读取权限文件失败!
cannot_ignore_case=请注意大小写!
#attachment upload
test_case_attachment_upload_not_found=无法上传附件,未找到相关联用例:
issues_attachment_upload_not_found=无法上传附件,未找到相关联缺陷:

View File

@ -12,6 +12,7 @@ invalid_parameter=非法的參數
name_already_exists=該名稱已經存在
resource_not_exist=資源不存在或已刪除
read_permission_file_fail=讀取權限文件失敗!
cannot_ignore_case=請注意大小寫!
#attachment upload
test_case_attachment_upload_not_found=無法上傳附件,未找到相關用例:
issues_attachment_upload_not_found=無法上傳附件,未找到相關缺陷: