refactor(测试跟踪): 提示消息优化
This commit is contained in:
parent
f6f533f9bf
commit
0616c483b0
|
@ -150,7 +150,7 @@ public class XmindCaseParser {
|
|||
if (testCaseNames.contains(data.getName())) {
|
||||
boolean dbExist = testCaseService.exist(data);
|
||||
if (dbExist) {
|
||||
process.add(Translator.get("test_case_already_exists_excel"), nodePath + data.getName());
|
||||
process.add(Translator.get("test_case_already_exists_excel"), nodePath + "/" + data.getName());
|
||||
}
|
||||
} else {
|
||||
testCaseNames.add(data.getName());
|
||||
|
@ -168,7 +168,7 @@ public class XmindCaseParser {
|
|||
TestCaseExcelData compartData = new TestCaseExcelData();
|
||||
BeanUtils.copyBean(compartData, data);
|
||||
if (compartDatas.contains(compartData)) {
|
||||
process.add(Translator.get("test_case_already_exists_excel"), nodePath + compartData.getName());
|
||||
process.add(Translator.get("test_case_already_exists_excel"), nodePath + "/" + compartData.getName());
|
||||
}
|
||||
compartDatas.add(compartData);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue