fix(测试跟踪): 用例导入模板添加大小写备注
--bug=1023445 --user=宋昌昌 【测试跟踪】功能用例,导出的excel用例模板提示的用例状态,和导入时要求的值不一样 https://www.tapd.cn/55049933/s/1338942
This commit is contained in:
parent
b9b018e140
commit
236765bcdb
|
@ -92,7 +92,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler {
|
||||||
if (CollectionUtils.isEmpty(list)) {
|
if (CollectionUtils.isEmpty(list)) {
|
||||||
setComment(priorityIndex, Translator.get("options").concat("(P0、P1、P2、P3)"));
|
setComment(priorityIndex, Translator.get("options").concat("(P0、P1、P2、P3)"));
|
||||||
} else {
|
} 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();
|
list.clear();
|
||||||
|
@ -100,7 +100,7 @@ public class FunctionCaseTemplateWriteHandler implements RowWriteHandler {
|
||||||
list = caseLevelAndStatusValueMap.get("caseStatus");
|
list = caseLevelAndStatusValueMap.get("caseStatus");
|
||||||
}
|
}
|
||||||
if (CollectionUtils.isNotEmpty(list)) {
|
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")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ invalid_parameter=Invalid parameter!
|
||||||
name_already_exists=Name already exists
|
name_already_exists=Name already exists
|
||||||
resource_not_exist=The resource does not exist or has been deleted
|
resource_not_exist=The resource does not exist or has been deleted
|
||||||
read_permission_file_fail=Failed to read permission file!
|
read_permission_file_fail=Failed to read permission file!
|
||||||
|
cannot_ignore_case=Please pay attention to letter case!
|
||||||
#user related
|
#user related
|
||||||
user_email_already_exists=User email already exists
|
user_email_already_exists=User email already exists
|
||||||
user_id_is_null=User ID cannot be null
|
user_id_is_null=User ID cannot be null
|
||||||
|
|
|
@ -12,6 +12,7 @@ invalid_parameter=非法的参数
|
||||||
name_already_exists=该名称已经存在
|
name_already_exists=该名称已经存在
|
||||||
resource_not_exist=资源不存在或已删除
|
resource_not_exist=资源不存在或已删除
|
||||||
read_permission_file_fail=读取权限文件失败!
|
read_permission_file_fail=读取权限文件失败!
|
||||||
|
cannot_ignore_case=请注意大小写!
|
||||||
#attachment upload
|
#attachment upload
|
||||||
test_case_attachment_upload_not_found=无法上传附件,未找到相关联用例:
|
test_case_attachment_upload_not_found=无法上传附件,未找到相关联用例:
|
||||||
issues_attachment_upload_not_found=无法上传附件,未找到相关联缺陷:
|
issues_attachment_upload_not_found=无法上传附件,未找到相关联缺陷:
|
||||||
|
|
|
@ -12,6 +12,7 @@ invalid_parameter=非法的參數
|
||||||
name_already_exists=該名稱已經存在
|
name_already_exists=該名稱已經存在
|
||||||
resource_not_exist=資源不存在或已刪除
|
resource_not_exist=資源不存在或已刪除
|
||||||
read_permission_file_fail=讀取權限文件失敗!
|
read_permission_file_fail=讀取權限文件失敗!
|
||||||
|
cannot_ignore_case=請注意大小寫!
|
||||||
#attachment upload
|
#attachment upload
|
||||||
test_case_attachment_upload_not_found=無法上傳附件,未找到相關用例:
|
test_case_attachment_upload_not_found=無法上傳附件,未找到相關用例:
|
||||||
issues_attachment_upload_not_found=無法上傳附件,未找到相關缺陷:
|
issues_attachment_upload_not_found=無法上傳附件,未找到相關缺陷:
|
||||||
|
|
Loading…
Reference in New Issue