refactor(测试用例): i18n
This commit is contained in:
parent
7db7201195
commit
11ebaafaab
|
@ -151,7 +151,7 @@ public class TestCaseService {
|
|||
.andIdNotEqualTo(testCase.getId());
|
||||
List<TestCase> list = testCaseMapper.selectByExample(example);
|
||||
if (CollectionUtils.isNotEmpty(list)) {
|
||||
MSException.throwException("test case custom num is exist.");
|
||||
MSException.throwException(Translator.get("custom_num_is_exist"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -154,6 +154,7 @@ test_case_already_exists_excel=There are duplicate test cases in the import file
|
|||
test_case_module_already_exists=The module name already exists at the same level
|
||||
api_test_name_already_exists=Test name already exists
|
||||
functional_method_tip=Functional test not support auto method
|
||||
custom_num_is_exist=Use case custom ID already exists
|
||||
#ldap
|
||||
ldap_url_is_null=LDAP address is empty
|
||||
ldap_dn_is_null=LDAP binding DN is empty
|
||||
|
|
|
@ -154,6 +154,7 @@ test_case_already_exists_excel=文件中存在多条相同用例
|
|||
test_case_module_already_exists=同层级下已存在该模块名称
|
||||
api_test_name_already_exists=测试名称已经存在
|
||||
functional_method_tip=功能测试不支持自动方式
|
||||
custom_num_is_exist=用例自定义ID已存在
|
||||
#ldap
|
||||
ldap_url_is_null=LDAP地址为空
|
||||
ldap_dn_is_null=LDAP绑定DN为空
|
||||
|
|
|
@ -154,6 +154,7 @@ test_case_already_exists_excel=文件中存在多條相同用例
|
|||
test_case_module_already_exists=同層級下已存在該模塊名稱
|
||||
api_test_name_already_exists=測試名稱已經存在
|
||||
functional_method_tip=功能測試不支持自動方式
|
||||
custom_num_is_exist=用例自定義ID已存在
|
||||
#ldap
|
||||
ldap_url_is_null=LDAP地址為空
|
||||
ldap_dn_is_null=LDAP綁定DN為空
|
||||
|
|
Loading…
Reference in New Issue