diff --git a/Examples/test-suite/doxygen_misc_constructs.h b/Examples/test-suite/doxygen_misc_constructs.h index edbea3ed5..98856ac9a 100644 --- a/Examples/test-suite/doxygen_misc_constructs.h +++ b/Examples/test-suite/doxygen_misc_constructs.h @@ -69,6 +69,26 @@ void backslashC() *
  * ['retVal < 10', 'g_counter == 23 && g_mode & 3']
  *
+ * + * Both words should be emphasized \b isystem.connect. + * But not the last period. For \b example, comma should not be emphasized. + * Similar \b for: double colon. + * + * Spaces at the start of line should be taken into account: + * @param id used as prefix in log + * statements. The default value is empty string, which is OK if + * there is only one app. instance. Example: + *
+ *         ctrl.setBP("func1");
+ *     
+ * If we set the id to \c main_, we get: + *
+ *         main_ctrl.setBP("func1");
+ *     
+ * + * @param fileName name of the log file */ -void cycle() +void cycle(int id, char *fileName) {} + + diff --git a/Examples/test-suite/java/doxygen_misc_constructs_runme.java b/Examples/test-suite/java/doxygen_misc_constructs_runme.java index b14918a64..ba0f2b265 100644 --- a/Examples/test-suite/java/doxygen_misc_constructs_runme.java +++ b/Examples/test-suite/java/doxygen_misc_constructs_runme.java @@ -154,13 +154,29 @@ public class doxygen_misc_constructs_runme { " @see MyClass#fun(char,float)\n" + ""); - wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle()", + wantedComments.put("doxygen_misc_constructs.doxygen_misc_constructs.cycle(int, java.lang.String)", " The next line contains expression:\n" + "
\n" +
     		" ['retVal < 10', 'g_counter == 23 && g_mode & 3']\n" +
                 " 
\n" + "\n" + - ""); + " Both words should be emphasized isystem.connect.\n" + + " But not the last period. For example, comma should not be emphasized.\n" + + " Similar for: double colon.\n" + + "\n" + + " Spaces at the start of line should be taken into account:\n" + + " @param id used as prefix in log\n" + + " statements. The default value is empty string, which is OK if\n" + + " there is only one app. instance. Example:\n" + + "
\n" +
+                "         ctrl.setBP(\"func1\");\n" +
+                "     
\n" + + " If we set the id to main_, we get:\n" + + "
\n" +
+                "         main_ctrl.setBP(\"func1\");\n" +
+                "     
\n" + + "\n" + + " @param fileName name of the log file\n"); // and ask the parser to check comments for us diff --git a/Examples/test-suite/java/doxygen_translate_all_tags_runme.java b/Examples/test-suite/java/doxygen_translate_all_tags_runme.java index 69a1169ca..5374d97c4 100644 --- a/Examples/test-suite/java/doxygen_translate_all_tags_runme.java +++ b/Examples/test-suite/java/doxygen_translate_all_tags_runme.java @@ -52,7 +52,7 @@ public class doxygen_translate_all_tags_runme { " and detailed description of some thing \n"); wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func03(int)", - " Comment for func03().\n" + + " Comment for func03().\n" + " italicword \n" + " emphazedWord \n" + " @ example someFile.txt\n" + @@ -87,7 +87,7 @@ public class doxygen_translate_all_tags_runme { " describing invariant. \n"); wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func06(int)", - " Comment for func06().\n" + + " Comment for func06().\n" + " This will only appear in LATeX \n" + "