doxygen/testing
su-fang f775609ca2 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
..
001 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
002 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
003 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
004 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
005 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
006 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
007 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
008 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
009 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
010 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
011 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
012 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
013 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
014 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
015 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
016 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
017 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
018 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
019 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
020 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
021 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
022 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
023 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
024 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
025 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
026 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
027 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
028 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
029 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
030 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
031 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
032 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
033 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
034 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
035 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
036 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
037 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
038 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
039 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
040 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
041 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
042 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
043 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
044 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
045 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
046 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
047 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
048 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
049 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
050 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
051 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
052 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
053 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
054 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
055 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
056 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
057 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
058 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
059 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
064 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
065 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
066 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
067 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
068 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
069 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
070 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
071 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
072 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
073 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
074 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
075 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
076 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
077 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
078 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
079 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
080 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
081 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
082 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
083 New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
084 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
085 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
086 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
dtd New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
001_a.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
002_addindex.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
003_anchor.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
004_arg.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
005_attention.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
006_author.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
007_b.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
008_brief.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
009_bug.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
010_c.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
011_category.m Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
012_cite.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
013_class.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
014_code.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
015_cond.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
016_copydoc.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
017_copyright.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
018_def.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
019_defgroup.c New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
020_only.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
021_dontinclude.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
022_dot.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
023_e.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
024_if.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
025_example.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
026_exception.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
027_extends.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
028_formula.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
029_hideinit.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
030_htmlinclude.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
031_image.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
032_include.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
033_internal.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
034_internal.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
035_invariant.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
036_link.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
037_msc.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
038_n.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
039_name.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
040_namespace.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
041_overload.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
042_package.java Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
043_page.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
044_section.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
045_refitem.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
046_related.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
047_return.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
048_showinit.c Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
049_snippet.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
050_verbatim.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
051_escape.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
052_tilde.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
053_tilde.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
054_parblock.cpp New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
055_markdown.md Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
056_latexinclude.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
057_inlinenamespace.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
058_strong_enum.cpp New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
059_template.cpp New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
064_castoperator.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
065_tilde.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
066_property_initializer.cs Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
067_link_varargs.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
068_ref_varargs.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
069_link_variadic_template.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
070_ref_variadic_template.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
071_enum_in_anon_ns.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
072_using.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
073_typed_enum.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
074_ref.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
075_argmatch.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
076_emojis.cpp New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
077_no_xml_namespace_members_in_file_scope.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
078_xml_namespace_members_in_file_scope.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
079_tableofcontents.dox Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
080_extract_private_virtual.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
081_brief_lists.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
082_decl_def.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
083_decl_def.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
084_markdown_pre.f90 Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
085_tooltip.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
086_style_tags.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
CMakeLists.txt Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
Doxyfile Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
README.txt New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
decl_def.h Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
example_test.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
runtests.py New upstream version 1.9.4 2023-04-25 15:44:26 +08:00
sample.bib Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
sample.html Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
sample.png Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
sample.tex Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
snippet_test.cpp Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00
testsqlite3.py Import Upstream version 1.9.1 2022-10-26 16:06:26 +08:00

README.txt

Doxygen regression test suite
=============================

This directory contains a set of regression tests. Each test consists of a
file starting with a 3 digit number and a corresponding directory whose name
has the same 3 digit number. The directory contains one or more reference
files that are compared against the XML output produced by doxygen. If the
result is the same, there is no regression and the test passes. If there is a
difference the test fails and the difference (in diff -u format) will be shown.
It is also possible to see whether or not the test can be built to a xhtml set
of files (and tested against a DTD), it is also possible to create a pdf file
for each test to see if the LaTeX / pdf generation is possible, similar for
rtf and docbook output.

The runtests.py script responsible for running the tests takes a number of
optional parameters:
  --updateref           update the reference files. Should be used in
                        combination with --id to update the reference file(s)
                        for the given test
  --doxygen [DOXYGEN]   path/name of the doxygen executable
  --xmllint [XMLLINT]   path/name of the xmllint executable
  --id IDS [IDS ...]    run test with number n only (the option can be
                        specified to run test with number n only (the option
                        can be specified multiple times
  --start_id START_ID   run tests starting with number n
  --end_id END_ID       run tests ending with number n
  --all                 can be used in combination with -updateref to update
                        the reference files for all tests.
  --inputdir [INPUTDIR]
                        input directory containing the tests
  --outputdir [OUTPUTDIR]
                        output directory to write the doxygen output to
  --noredir             disable redirection of doxygen warnings
  --pool [POOL]         pool size of multiprocess tests
  --xml                 create xml output and check
  --rtf                 create rtf output
  --docbook             create docbook output and check with xmllint
  --xhtml               create xhtml output and check with xmllint
  --xmlxsd              create xml output and check with xmllint against xsd
  --pdf                 create LaTeX output and create pdf from it
  --subdirs             use the configuration parameter CREATE_SUBDIRS=YES
  --clang               use CLANG_ASSISTED_PARSING, works only when doxygen
                        has been compiled with "use_libclang"
  --keep                keep result directories
  --cfg CFGS [CFGS ...]
                        run test with extra doxygen configuration settings
                        (the option may be specified multiple times
In case neither --xml, --xmlxsd, --pdf, --rtf, --docbook or --xhtml is used the
default is set to --xml.

The runtests.py has the following dependencies on 3rd party tools:
- python  to run the script
- xmllint to normalize the XML output
- diff    to show the differences in case a test fails

Each test file can have a number of special comment lines that are extracted by
the runtests.py script and take the form:
// <identifier>: 'argument'
Where <identifier> can be one of:
- objective: 'argument' provides the objective for the test (i.e. its purpose)
- check:     'argument' names a file that is generated by doxygen, which should
             be compared against the reference.
- config:    'argument' is a line that is added to the default Doxyfile used to
             run doxygen on the test file.

Example to run all tests:
    python runtests.py

Example to run a test
    python runtests.py --id 10

Example to update the reference files for a test
    python runtests.py --updateref --id 10

There is also a CMakeLists.txt, which can be used from the build directory
to run all tests by simply invoking 'make tests', to use the specific options use
the flag TEST_FLAGS with make
  e.g. make tests TEST_FLAGS="--id=5 --id=10 --pdf --xhtml"