|
|
@ -66,7 +66,8 @@ public class FuncCarApiServiceImpl implements IFuncCarApiService { |
|
|
|
if(collect.containsKey(record.getApiUrl())){ |
|
|
|
List<FuncCarApi> apis = collect.get(record.getApiUrl()); |
|
|
|
for (FuncCarApi api : apis) { |
|
|
|
if(api.getJsonResult().equals(record.getJsonResult()) && !api.getOperId().equals(record.getOperId())){ |
|
|
|
if(api.getJsonResult().equals(record.getJsonResult())){ |
|
|
|
if(!api.getOperId().equals(record.getOperId())){ |
|
|
|
String s = api.getOs() + api.getBrowser() + api.getEquipment() + api.getNetwork(); |
|
|
|
if(!flagVal.equals(s)){ |
|
|
|
record.setTestResult("接口兼容性测试通过"); |
|
|
@ -75,6 +76,9 @@ public class FuncCarApiServiceImpl implements IFuncCarApiService { |
|
|
|
record.setTestResult("该记录无比对样本"); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
record.setTestResult("接口兼容性测试未通过"); |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
record.setTestResult("该记录无比对样本"); |
|
|
|