Merge branch 'v1.8' of github.com:metersphere/metersphere into v1.8
This commit is contained in:
commit
3fa9673d92
|
@ -113,8 +113,8 @@ public class XmindCaseParser {
|
||||||
for (int i = 0; i < nodes.length; i++) {
|
for (int i = 0; i < nodes.length; i++) {
|
||||||
if (i != 0 && StringUtils.equals(nodes[i].trim(), "")) {
|
if (i != 0 && StringUtils.equals(nodes[i].trim(), "")) {
|
||||||
process.add(Translator.get("module_not_null"), path);
|
process.add(Translator.get("module_not_null"), path);
|
||||||
} else if (nodes[i].trim().length() > 30) {
|
} else if (nodes[i].trim().length() > 100) {
|
||||||
process.add(Translator.get("module") + Translator.get("test_track.length_less_than") + "30", path + nodes[i].trim());
|
process.add(Translator.get("module") + Translator.get("test_track.length_less_than") + "100", path + nodes[i].trim());
|
||||||
} else {
|
} else {
|
||||||
path += nodes[i].trim() + "/";
|
path += nodes[i].trim() + "/";
|
||||||
}
|
}
|
||||||
|
@ -150,8 +150,8 @@ public class XmindCaseParser {
|
||||||
if (i != 0 && StringUtils.equals(nodes[i].trim(), "")) {
|
if (i != 0 && StringUtils.equals(nodes[i].trim(), "")) {
|
||||||
process.add(Translator.get("test_case") + Translator.get("module_not_null"), nodePath + data.getName());
|
process.add(Translator.get("test_case") + Translator.get("module_not_null"), nodePath + data.getName());
|
||||||
break;
|
break;
|
||||||
} else if (nodes[i].trim().length() > 30) {
|
} else if (nodes[i].trim().length() > 100) {
|
||||||
process.add(Translator.get("module") + Translator.get("test_track.length_less_than") + "30 ", nodes[i].trim());
|
process.add(Translator.get("module") + Translator.get("test_track.length_less_than") + "100 ", nodes[i].trim());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue