Examples of generateDoc()


Examples of com.intellij.lang.documentation.DocumentationProvider.generateDoc()

    assertDocumentation(docElement, context);
  }

  private void assertDocumentation(@NotNull PsiElement docElement, @NotNull PsiElement context) {
    DocumentationProvider documentationProvider = DocumentationManager.getProviderFromElement(docElement);
    String inlineDoc = documentationProvider.generateDoc(docElement, context);
    assertNotNull("inline help is null", inlineDoc);
    List<String> urlFor = documentationProvider.getUrlFor(docElement, context);
    assertNotNull("external help is null", urlFor);
    assertSameLinesWithFile(getTestDataPath() + "/" + getTestName(true) + ".txt", inlineDoc + "\n---\n" + StringUtil.join(urlFor, "\n"));
  }
View Full Code Here

Examples of com.qspin.qtaste.ui.tools.PythonTestScript.generateDoc()

                    if (pScript.isDocSynchronized()) {
                        return;
                    }
                    // re-generate the doc
                    parent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                    pScript.generateDoc();
                    HTMLDocumentLoader loader = new HTMLDocumentLoader();
                    HTMLDocument doc;
                    try {
                        File tcDoc = pScript.getTestcaseDoc();
                        if (tcDoc != null) {
View Full Code Here

Examples of com.qspin.qtaste.ui.tools.PythonTestScript.generateDoc()

                PythonTestScript script = fn.getPythonTestScript();
                boolean generateDoc =  testCasePane.isDocTabSelected() && !script.isDocSynchronized();
               
                if (generateDoc) {                 
                    testCasePane.parent.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                    script.generateDoc();
                    // Generate the documentation
                  setTestCaseDoc(script.getTestcaseDoc(), false);
                    testCasePane.parent.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
                }
                else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.