doxygen/testing
2024-03-10 11:28:04 +01:00
..
001
002 Update test references 2021-01-07 19:23:20 +01:00
003
004
005
006
007
008
009 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
010
011 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042 Adding the xml:lang tag to XML and Docbook output 2020-06-03 14:55:52 +02:00
043
044
045
046
047
048
049
050
051
052
053
054
055
056
057
058 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
059 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
060 HTML <details> tag without <summary> tag 2022-11-07 15:51:28 +01:00
061
062 Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
063 Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
064
065
066
067
068
069
070
071 bug 473140 Broken anonymous union data in XML 2023-04-12 15:04:23 +02:00
072
073
074
075 issue #10582 Problem matching arguments of functions (parameter matching on function pointers) 2024-01-28 16:23:45 +01:00
076
077
078
079 Update test references 2021-01-07 19:23:20 +01:00
080 Made new XML tag optional (shown when it differs from name). 2021-12-25 20:08:26 +01:00
081
082
083
084 Adding the xml:lang tag to XML and Docbook output 2020-06-03 14:55:52 +02:00
085 Make multi-line macro definitions foldable 2023-08-02 15:14:59 +02:00
086
087
088
089
090
091
092
093
094
095 Test Fortran inheritance over modules 2022-08-15 10:54:33 +02:00
096 Test Fortran inheritance over modules 2022-08-15 10:54:33 +02:00
097
098
099
100 Fix @enum command with @ingroup 2023-11-12 16:04:05 +01:00
101
dtd Fix for tests failing XHTML validation 2023-07-17 10:48:10 +02:00
001_a.dox
002_addindex.dox
003_anchor.dox
004_arg.dox
005_attention.dox
006_author.dox
007_b.dox
008_brief.c
009_bug.cpp
010_c.dox Added regression test suite 2013-07-19 21:46:35 +02:00
011_category.m
012_cite.dox
013_class.h
014_code.dox
015_cond.c
016_copydoc.c
017_copyright.dox
018_def.c
019_defgroup.c
020_only.dox
021_dontinclude.cpp
022_dot.cpp
023_e.dox
024_if.dox
025_example.cpp
026_exception.cpp
027_extends.c
028_formula.c
029_hideinit.c
030_htmlinclude.dox
031_image.dox
032_include.cpp
033_internal.dox
034_internal.dox
035_invariant.c
036_link.c
037_msc.cpp
038_n.dox
039_name.cpp
040_namespace.cpp
041_overload.cpp
042_package.java
043_page.dox
044_section.h
045_refitem.dox
046_related.cpp
047_return.cpp
048_showinit.c
049_snippet.cpp
050_verbatim.dox
051_escape.dox Correct typing error in test 51 2018-09-03 18:33:00 +02:00
052_tilde.dox
053_tilde.dox
054_parblock.cpp
055_markdown.md
056_latexinclude.dox
057_inlinenamespace.cpp
058_strong_enum.cpp
059_template.cpp
060_details.cpp
061_Únicod€_file.cpp
062_main.md Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
063_main.md Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
064_castoperator.cpp
065_tilde.dox
066_property_initializer.cs
067_link_varargs.cpp
068_ref_varargs.cpp
069_link_variadic_template.cpp
070_ref_variadic_template.cpp
071_enum_in_anon_ns.cpp
072_using.cpp
073_typed_enum.cpp
074_ref.cpp
075_argmatch.cpp issue #10582 Problem matching arguments of functions (parameter matching on function pointers) 2024-01-28 16:23:45 +01:00
076_emojis.cpp
077_no_xml_namespace_members_in_file_scope.h
078_xml_namespace_members_in_file_scope.h
079_tableofcontents.dox
080_extract_private_virtual.cpp
081_brief_lists.h
082_decl_def.cpp
083_decl_def.cpp
084_markdown_pre.f90
085_tooltip.cpp
086_style_tags.h
087_public_type.F90
088_module_var.f90
089_module_proc.f90
090_interfaces.f90
091_module_with_procs.f90
092_more_interfaces.f90
093_interface_inside_routine.f90
094_old_style_fortran_routines.f90
095_inheritance.f03
096_namespace_inheritance.cpp
097_type_with_procedures.f03
098_abstract_type.f03
099_a.c
100_a.c Add test case for #10151 2023-11-12 15:53:18 +01:00
101_static_assert.c
CMakeLists.txt Remove obsolete parts from cmake configuration files 2023-08-30 11:11:53 +02:00
decl_def.h
Doxyfile
example_test.cpp
latex_065.sty
more_099_b.c testing: Add test case for enum fields 2023-03-20 10:23:44 +01:00
more_100_b.c
more_100_c.c
more_100_d.cpp Add test case for #10151 2023-11-12 15:53:18 +01:00
obsolete
README.txt Merge pull request #10286 from pyrophorol/add-bibtex-as-dependency 2023-10-17 20:58:58 +02:00
runtests.py Fixed invalid escape sequence '\/' warning in runtests.py 2024-01-07 13:14:45 +01:00
sample.bib
sample.html
sample.png
sample.tex
snip.md Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
snippet_test.cpp
sub.md Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
subsub.md Adding raise option for @include{doc} 2024-03-10 11:28:04 +01:00
test.h
testsqlite3.py

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 number n (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
  --exclude_id EXCLUDE_IDS [EXCLUDE_IDS ...]
                        run without test number n (the option can be specified
                        multiple times)
  --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
- LaTeX   for test 12 and when testing with --pdf flag (with adequate packages)
- perl    for test 12

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"