doxygen/tests/upstream-test-suite
Petr Šabata 32cf374a4b RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/doxygen#6b0c5db74b337b843ad543bf84325b6e1ef5d040
2020-10-14 23:50:45 +02:00
..
001 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
002 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
003 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
004 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
005 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
006 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
007 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
008 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
009 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
010 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
011 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
012 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
013 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
014 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
015 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
016 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
017 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
018 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
019 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
020 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
021 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
022 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
023 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
024 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
025 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
026 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
027 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
028 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
029 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
030 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
031 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
032 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
033 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
034 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
035 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
036 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
037 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
038 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
039 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
040 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
041 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
042 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
043 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
044 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
045 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
046 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
047 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
048 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
049 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
050 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
051 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
052 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
053 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
054 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
055 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
056 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
057 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
058 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
059 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
060 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
061 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
062 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
063 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
064 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
065 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
066 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
067 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
068 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
069 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
070 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
071 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
072 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
073 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
074 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
075 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
076 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
077 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
078 RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
dtd RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
001_a.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
002_addindex.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
003_anchor.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
004_arg.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
005_attention.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
006_author.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
007_b.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
008_brief.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
009_bug.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
010_c.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
011_category.m RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
012_cite.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
013_class.h RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
014_code.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
015_cond.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
016_copydoc.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
017_copyright.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
018_def.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
019_defgroup.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
020_only.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
021_dontinclude.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
022_dot.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
023_e.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
024_if.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
025_example.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
026_exception.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
027_extends.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
028_formula.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
029_hideinit.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
030_htmlinclude.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
031_image.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
032_include.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
033_internal.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
034_internal.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
035_invariant.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
036_link.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
037_msc.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
038_n.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
039_name.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
040_namespace.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
041_overload.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
042_package.java RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
043_page.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
044_section.h RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
045_refitem.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
046_related.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
047_return.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
048_showinit.c RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
049_snippet.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
050_verbatim.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
051_escape.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
052_tilde.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
053_tilde.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
054_parblock.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
055_markdown.md RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
056_latexinclude.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
057_caller_graphs.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
058_bracket_recursion.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
059_command_catch.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
060_command_switch.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
061_bug_705503.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
062_namespace_resolution.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
063_bug_729092.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
064_castoperator.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
065_tilde.dox RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
066_property_initializer.cs RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
067_link_varargs.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
068_ref_varargs.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
069_link_variadic_template.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
070_ref_variadic_template.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
071_enum_in_anon_ns.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
072_using.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
073_typed_enum.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
074_ref.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
075_argmatch.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
076_emojis.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
077_no_xml_namespace_members_in_file_scope.h RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
078_xml_namespace_members_in_file_scope.h RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
Doxyfile RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
Makefile RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
PURPOSE RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
README.txt RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
_057_caller_graphs.tcl RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
example_test.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
runtest.sh RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
runtests.py RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
sample.bib RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
sample.html RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
sample.png RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
sample.tex RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02:00
snippet_test.cpp RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:50:45 +02: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.

The runtest.py script responsible for running the tests takes a number of
optional parameters:
  --updateref           update the reference data for a test
  --doxygen [DOXYGEN]   path/name of the doxygen executable
  --xmllint [XMLLINT]   path/name of the xmllint executable
  --id IDS [IDS ...]    id of the test to perform
  --start_id START_ID   run tests starting with number n
  --end_id END_ID       run tests ending with number n
  --all                 perform 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
  --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
  --pdf                 create LaTeX output and create pdf from it
  --subdirs             use the configuration parameter CREATE_SUBDIRS=YES
  --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, --pdf, --rtf, --docbook or --xhtml is used the default is set to --xml.

The runtest.pl 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 runtest.pl 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 runtest.py

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

Example to update the reference files for a test
    python runtest.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"