doxygen/testing
Dimitri van Heesch 5b68436fbc Merge branch 'wip/fix-link-id-on-last-line' of https://github.com/agateau/doxygen into agateau-wip/fix-link-id-on-last-line
Conflicts:
	testing/055/md_055_markdown.xml
	testing/055_markdown.md
2014-02-04 21:55:23 +01:00
..
001
002
003
004
005
006
007
008
009
010
011
012 Updated failing test 2013-10-06 14:07:55 +02:00
013
014 Bug 707567 - Asterisks in comment wrongly displayed for @code 2013-09-06 14:02:18 +02:00
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054 Fixed issues with @parblock and added regression test case 2014-01-04 19:04:42 +01:00
055 Merge branch 'wip/fix-link-id-on-last-line' of https://github.com/agateau/doxygen into agateau-wip/fix-link-id-on-last-line 2014-02-04 21:55:23 +01: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
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
052_tilde.dox
053_tilde.dox
054_parblock.cpp Fixed issues with @parblock and added regression test case 2014-01-04 19:04:42 +01:00
055_markdown.md Merge branch 'wip/fix-link-id-on-last-line' of https://github.com/agateau/doxygen into agateau-wip/fix-link-id-on-last-line 2014-02-04 21:55:23 +01:00
Doxyfile Set CASE_SENSE_NAMES explicit to NO for the tests 2013-07-19 22:17:09 +02:00
example_test.cpp
Makefile
README
runtests.pl
sample.bib
sample.html
sample.png
snippet_test.cpp
testsqlite3.py testsqlite3: a test for sqlite3gen 2014-02-01 22:14:45 +02:00

Doxygen regession 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.

The runtest.pl script responsible for running the tests takes a number of 
optional parameters:
-id n:        run test with number n only (the option may be specified 
              multiple times) default is to run all tests.
-updateref:   update the reference files. Should be used in combination 
              with -id to update the reference file(s) for the given test.
-all:         can be used in combination with -updateref to update the
              reference files for all tests.
-doxygen exe: run the specified doxygen executable.
-xmllint exe: run the specified xmllint executable.

The runtest.pl has the following dependenies on 3rd party tools:
- perl    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:
    perl runtest.pl

Example to run a test
    perl runtest.pl -id 10

Example to update the reference files for a test
    perl runtest.pl -updateref -id 10

There is also a Makefile, which can be used to run all tests by simply
invoking make.