junichi11 commented on code in PR #5701:
URL: https://github.com/apache/netbeans/pull/5701#discussion_r1145186468


##########
ide/csl.api/test/unit/src/org/netbeans/modules/csl/api/test/CslTestBase.java:
##########
@@ -3062,8 +3062,12 @@ public boolean isCaseSensitive() {
     }
 
     public void checkCompletionDocumentation(final String file, final String 
caretLine, final boolean includeModifiers, final String itemPrefix) throws 
Exception {
+        checkCompletionDocumentation(file, caretLine, includeModifiers, 
itemPrefix, QueryType.COMPLETION);
+    }
+
+    public void checkCompletionDocumentation(final String file, final String 
caretLine, final boolean includeModifiers, final String itemPrefix, QueryType 
queryType) throws Exception {
         // TODO call TestCompilationInfo.setCaretOffset!
-        final QueryType type = QueryType.COMPLETION;
+        final QueryType type = queryType;

Review Comment:
   @sdedic I would like to test the cc documentation when the query type is 
`DOCUMENTATION`. Can we add this test method to `CslTestBase`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to