修改测试程序生成字符串类配置和增强字符串类配置时使用同一个list,字符串类配置被覆盖的问题
This commit is contained in:
@@ -294,8 +294,7 @@ public class MaatTestController {
|
||||
}
|
||||
configCompile.setNumRegionList(numList);
|
||||
} else if (tableType == 14 || tableType == 15) {
|
||||
strList = new ArrayList<StrRegion>();
|
||||
|
||||
// strList = new ArrayList<StrRegion>();
|
||||
if (tableNameArr.length == 1) {
|
||||
strList.add(getStrRegion(service, tableType, groupId, null));
|
||||
} else {
|
||||
@@ -303,6 +302,9 @@ public class MaatTestController {
|
||||
strList.add(getStrRegion(service, tableType, groupId, tableName));
|
||||
}
|
||||
}
|
||||
if(configCompile.getStrRegionList()!=null&&configCompile.getStrRegionList().size()>0) {
|
||||
strList.addAll(configCompile.getStrRegionList());//因为字符串和增强字符串使用的是一个strlist所以这里把这俩的值放在一块
|
||||
}
|
||||
configCompile.setStrRegionList(strList);
|
||||
} else if (tableType == 16) {
|
||||
digestList = new ArrayList<DigestRegion>();
|
||||
|
||||
Reference in New Issue
Block a user