Commit 51b2fbe6 by 钱炳权

订正部分漏洞类型错误问题

parent ab14670f
...@@ -53,26 +53,26 @@ class MutationServiceImpl implements MutationService { ...@@ -53,26 +53,26 @@ class MutationServiceImpl implements MutationService {
return distortionLibCmd(testEntity, 6); return distortionLibCmd(testEntity, 6);
case "32-bitinteger": case "32-bitinteger":
return distortionLibCmd(testEntity, 7); return distortionLibCmd(testEntity, 7);
case "bitflip"://noresponse case "bitflip":
return distortionLibCmd(testEntity, 8); return mutationStrategyCmd(testEntity, 8);
case "twobitflip"://noresponse case "twobitflip":
return distortionLibCmd(testEntity, 9); return mutationStrategyCmd(testEntity, 9);
case "fourbitflip"://noresponse case "fourbitflip":
return distortionLibCmd(testEntity, 10); return mutationStrategyCmd(testEntity, 10);
case "byteflip"://noresponse case "byteflip":
return distortionLibCmd(testEntity, 11); return mutationStrategyCmd(testEntity, 11);
case "wordflip"://noresponse case "wordflip":
return distortionLibCmd(testEntity, 12); return mutationStrategyCmd(testEntity, 12);
case "dwordflip"://noresponse case "dwordflip":
return distortionLibCmd(testEntity, 13); return mutationStrategyCmd(testEntity, 13);
case "blockremove"://noresponse case "blockremove":
return distortionLibCmd(testEntity, 14); return mutationStrategyCmd(testEntity, 14);
case "blockduplicate"://noresponse case "blockduplicate":
return distortionLibCmd(testEntity, 15); return mutationStrategyCmd(testEntity, 15);
case "blockset"://noresponse case "blockset":
return distortionLibCmd(testEntity, 16); return mutationStrategyCmd(testEntity, 16);
case "bitflips"://noresponse case "bitflips":
return distortionLibCmd(testEntity, 17); return mutationStrategyCmd(testEntity, 17);
case "byteflips": case "byteflips":
return mutationStrategyCmd(testEntity, 1); return mutationStrategyCmd(testEntity, 1);
case "interestint8muta": case "interestint8muta":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment