ArrayList<MarkerToCheck> markersToCheck = new ArrayList<MarkerToCheck>(1);
int lineNum = 66;
markersToCheck.add(new MarkerToCheck("There is no assignment or imported symbol with name `myObjectIdentifierValue1' in module `ASNValues'", lineNum, IMarker.SEVERITY_ERROR));
@@ -1429,31 +1429,32 @@ public class AST_warnings_tests {
lineNum+=152;
inti=0;
for(i=0;i<2;i++){
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName' was expected instead of `i'",lineNum++,IMarker.SEVERITY_WARNING));
}
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName' was expected instead of `pl_i'",lineNum++,IMarker.SEVERITY_WARNING));
}
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
lineNum+=2;
for(i=0;i<2;i++){
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName' was expected instead of `i'",lineNum++,IMarker.SEVERITY_WARNING));
}
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName' was expected instead of `pl_i'",lineNum++,IMarker.SEVERITY_WARNING));
}
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 1th parameter is not the same: `pl_parameterName2' was expected instead of `pl_j'",lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("The name of the 0th parameter is not the same: `pl_parameterName1' was expected instead of `pl_i'",++lineNum,IMarker.SEVERITY_WARNING));
markersToCheck.add(newMarkerToCheck("Could not resolve integer definition: d_integer_nonexi using 0 as replacement.",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=37;
markersToCheck.add(newMarkerToCheck("Could not resolve definition: d_boolean_nonexi using \"true\" as a replacement.",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=238;
markersToCheck.add(newMarkerToCheck("Could not resolve definition: d_hostname_nonexi using \"\" as a replacement.",lineNum,IMarker.SEVERITY_ERROR));
@@ -51,36 +51,35 @@ public class ExpectedValueTypeTest {
markersToCheck.add(newMarkerToCheck("Type mismatch: a value or template of type `charstring' was expected instead of `integer'",lineNum++,IMarker.SEVERITY_ERROR));
}
lineNum+=4;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `tpl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `pl_rec'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `tpl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `pl_rec'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `out' template parameter `tpl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `out' template parameter `pl_rec'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `inout' template parameter `tpl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `inout' template parameter `pl_rec'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template variable `vt_rec_'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template `vt_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template `t_rec_'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("The second operand of the `&' operation should be a string, `record of', or a `set of' value",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template variable `vt_cs'",++lineNum,IMarker.SEVERITY_ERROR));
lineNum+=9;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `tpl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `pl_rec'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template module parameter `@ExpectedValueTypeTest.tsp_trec'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `tpl_recin'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `inout' template parameter `tpl_recinout'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `out' template parameter `tpl_recout'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of a call of function `@ExpectedValueTypeTest.frt', which return a template",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template parameter `pl_recin'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `inout' template parameter `pl_recinout'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of `out' template parameter `pl_recout'",++lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of a call of function `@ExpectedValueTypeTest.f_rt', which return a template",++lineNum,IMarker.SEVERITY_ERROR));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template variable `vl_rec9'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template variable `vt_rec9'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=17;
markersToCheck.add(newMarkerToCheck("Reference to a value was expected instead of template module parameter `@ExpectedValueTypeTest.tsp_i'",lineNum,IMarker.SEVERITY_ERROR));
lineNum+=19;
markersToCheck.add(newMarkerToCheck("Reference to a template variable or template parameter was expected for an `out' template parameter instead of template `vlt_trec3'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("Reference to a template variable or template parameter was expected for an `out' template parameter instead of template `t_trec3'",lineNum,IMarker.SEVERITY_ERROR));
markersToCheck.add(newMarkerToCheck("The constant `@structured.CLASSMARK2_GSM_ONLY' with name CLASSMARK2_GSM_ONLY breaks the naming convention `cg_.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=26;
markersToCheck.add(newMarkerToCheck("The constant `@structured.CR_DEFAULT' with name CR_DEFAULT breaks the naming convention `cg_.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=85;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=4;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=7;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=12;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=6;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
lineNum+=5;
markersToCheck.add(newMarkerToCheck("The template variable `vl_expected' with name vl_expected breaks the naming convention `vt.*'",lineNum,IMarker.SEVERITY_WARNING));
returnmarkersToCheck;
}
//structured_cfg
//FIXME: These are not the normal markers, there are faulty!!! Plugin shall be repaired !!!