Changeset 35
- Timestamp:
- 05/08/11 19:32:17 (14 years ago)
- Location:
- trunk/t3d/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t3d/src/elements/TTCN3Comment.java
r7 r35 116 116 } 117 117 118 if (T3D.activeProfile.isCheckFunctionDescTagsRequired()) 119 if (elementType != TTCN3ParserTokenTypes.FunctionDef 120 // && elementType != TTCN3ParserTokenTypes.TestcaseDef 121 // && elementType != TTCN3ParserTokenTypes.AltstepDef 122 && desc.size() <= 0) { 123 warnings.add(getWarningMissingTags("@" + T3D.activeProfile.getCommentTagsConfiguration().getDescTag())); 124 } 125 126 118 127 for (String d : desc) 119 128 if (d.length() <= 0) … … 179 188 return "Empty tag found: " + tagname; 180 189 } 181 190 191 private String getWarningMissingTags(String tagname){ 192 return "Required " + tagname + " tag is missing"; 193 } 194 182 195 183 196 private String getIdentifier(String comment, int pos){ -
trunk/t3d/src/elements/TTCN3Element.java
r7 r35 36 36 this.paramView = paramView; 37 37 this.path = path; 38 39 40 38 41 39 for(String warning : comment.getWarnings()) { -
trunk/t3d/src/org/etsi/t3d/config/DocumentationProfile.java
r7 r35 11 11 private boolean showOriginalT3DocTags = false; 12 12 private boolean checkUndocumentedParameters = true; 13 private boolean checkFunctionDescTagsRequired = false; 14 13 15 private boolean checkConsistentTagUsage = true; 14 16 private boolean checkIdenticalDescriptionTags = true; … … 126 128 return commentTagsConfiguration; 127 129 } 130 public boolean isCheckFunctionDescTagsRequired() { 131 return checkFunctionDescTagsRequired; 132 } 133 134 public void setCheckFunctionDescTagsRequired( 135 boolean checkFunctionDescTagsRequired) { 136 this.checkFunctionDescTagsRequired = checkFunctionDescTagsRequired; 137 } 138 128 139 }
Note: See TracChangeset
for help on using the changeset viewer.