summaryrefslogtreecommitdiffstats
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* Running tests with subdirs enabledalbert-github2021-06-051-0/+3
| | | | | | | | | | When running the standard doxygen tests with subdirs enabled (i.e. on windows `nmake tests TESTS_FLAGS==--subdirs`) we get the following type errors: ``` Failed to run xmllint on the doxygen output file ..../testing/test_output_008 ``` this is due to the fact that the file to be checked is in a subdirectory and as directory separator a backslash is used (initially there are 2 backslashes but due to e.g. `check_file = check_file[0]` one backslash disappears. Furthermore everywhere else the backslashes are converted to forward slashes. In the resulting files there are references to the mentioned sub directories path, but the file to compare to is without therse so we have to filter them as well.
* Write out used settings when generating XML outputalbert-github2021-03-281-0/+27
| | | | | When generating XML output is is afterwards unknown which settings have been used to generate the XML output, e.g. whether `EXTRACT_PRIVATE` was set or not as the XML output tries to write out all information contained in the sources and not to limit it. By writing out a Doxyfile.xml with all the used settings this can be overcome.
* issue #8357 XML output does not include cross-references in code-fragmentsalbert-github2021-01-271-1/+1
| | | | | | | In case of explicit code samples the language was not specified for the code and the code was parsed verbatim. Same was valid for code in the Docbook output. The LaTeX version has been taken as reference for the implementation.
* Refactoring: modernize various dot graphsDimitri van Heesch2021-01-225-51/+51
|
* Merge pull request #8313 from ModuleWorks/missing_xml_infoDimitri van Heesch2021-01-0844-8/+52
|\ | | | | Missing info in XML: location, width, valign, alt
| * Update test referencesJan Theegarten2021-01-0744-8/+52
| |
* | Typeerror when running testsalbert-github2021-01-071-1/+1
|/ | | | | | | | | | Some tests get (#8313): ``` File "/home/runner/work/doxygen/doxygen/testing/runtests.py", line 55, in clean_header rtnmsg+=0 TypeError: can only concatenate str (not "int") to str ``` most likely caused by the fact that `more` has error lines and that here not `0` (zero) but `o` should be used for the concatenation.
* Extend tests with some other default testsalbert-github2020-12-181-0/+29
| | | | | | | | | During the change to GitHub Actions the extra tests as added in #8217 were lost: Extend tests with generating xhtml, docbook, rtf to see if the files can be generated and build, not for Windows as it loos like that the "latex" command cannot always be run (problems with test 28). Check also the generated xsd files in xml mode. Note for the new checks no comparison is done with previous versions.
* Update used links in test examplesalbert-github2020-12-045-43/+43
| | | | | Some links give a redirection when run with a link checker. The links should be correct as they might hide errors in the code / links that don't exist
* Improve handling of inline namespace members in LateX/RTF outputDimitri van Heesch2020-12-021-2/+2
|
* fix: convert links to the main doxygen site to https. Trailing whitespace ↵Allan Bowe2020-11-292-4/+4
| | | | was also removed (hope this is ok, was a default setting). Closes #8212
* Merge pull request #8194 from albert-github/feature/bug_tests_warnDimitri van Heesch2020-11-245-11/+56
|\ | | | | Doxygen warnings are not seen as errors during running tests
| * Doxygen warnings are not seen as errors during running testsalbert-github2020-11-224-9/+48
| | | | | | | | Corrected warnings of test 57.
| * Doxygen warnings are not seen as errors during running testsalbert-github2020-11-221-2/+8
| | | | | | | | | | | | Doxygen warnings were on *nix suppressed but shown on Windows though the tests were nevertheless shown as OK - correct redirection under windows - catch doxygen warnings and make the corresponding test fail
* | Update of testing README.txtalbert-github2020-11-241-7/+19
|/ | | | Small update of the README.txt in the testing directory.
* issue #8192: Excluded inline namespace broken after a5792da8Dimitri van Heesch2020-11-214-0/+90
| | | | | | - Further fixes to make classes inside inline namespaces appear in the parent scope again. - Also added a test case to check for regression
* Allow building doxygen as a subprojectAnonymous Maarten2020-09-161-2/+2
|
* Make testsqlite3.py python script running with python 3albert-github2020-09-081-6/+6
| | | | | The testsqlite3.py didn't run under python 3 (found by means of pylint). Making it runnable under python 2 and python 3.
* Updated test for enums based on recently fixed issuesDimitri van Heesch2020-08-292-0/+114
|
* Spelling corrections is commentsalbert-github2020-08-091-1/+1
| | | | Some spelling omissions found by Fossies.
* Some fixes and cleanupDimitri van Heesch2020-08-031-1/+1
| | | | | | | | - fix issue with test 037 - moved trISOLang() to the language control section and removed the "no need for a TranslatorAdapter_1_8_19" banner. - removed unused adapter classes - add translation for Dutch
* Merge branch 'master' into feature/bug_xml_langDimitri van Heesch2020-08-033-6/+31
|\
| * Merge pull request #7782 from wataash/tagend-markdown-emDimitri van Heesch2020-08-032-0/+10
| |\ | | | | | | issue #7781: allow '>' before Markdown emphasis
| | * issue #7781: allow '>' before Markdown emphasisWataru Ashihara2020-05-231-1/+1
| | |
| | * testing: Markdown in HTMLWataru Ashihara2020-05-232-0/+10
| | |
| * | CMakeLists.txt improvementDimitri van Heesch2020-08-031-87/+11
| | | | | | | | | | | | Added CONFIGURE_DEPENDS to file GLOB constructs if available
| * | Updated the makefile for building the testsDimitri van Heesch2020-08-021-5/+85
| | |
| * | Enable running tests in parallel using cmake's ctest.Dimitri van Heesch2020-08-021-3/+14
| | |
* | | Merge branch 'master' into feature/bug_xml_langDimitri van Heesch2020-08-019-30/+111
|\ \ \ | |/ /
| * | issue #7852, #7867, #7901: Changed the set of commands that effect ending a ↵Dimitri van Heesch2020-07-174-4/+4
| | | | | | | | | | | | brief description
| * | Restructured the split_and_keep functionDimitri van Heesch2020-07-161-20/+7
| | |
| * | Superfluous space in "TEST_FLAGS"albert-github2020-07-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having extra spaces in TEST_FLAGS like(note the double space before `--ip`): ``` make tests TEST_FLAGS="--keep --id=1" ``` or ``` make tests TEST_FLAGS="--id=1 --id=2" ``` we get a message like; ``` [100%] Running doxygen tests... usage: runtests.py [-h] [--updateref] [--doxygen [DOXYGEN]] [--xmllint [XMLLINT]] [--id IDS [IDS ...]] [--start_id START_ID] [--end_id END_ID] [--all] [--inputdir [INPUTDIR]] [--outputdir [OUTPUTDIR]] [--noredir] [--pool [POOL]] [--xml] [--rtf] [--docbook] [--xhtml] [--xmlxsd] [--pdf] [--subdirs] [--clang] [--keep] [--cfg CFGS [CFGS ...]] runtests.py: error: unrecognized arguments: NMAKE : fatal error U1077: 'D:\Programs\Python\Python37\python.exe' : return code '0x2' Stop. ``` By stripping the spaces in the arguments this can be overcome
| * | Problem with generating test output for Chinese (#7862)albert-github2020-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Problem with generating test output for Chinese The log output generated for the Chinese language can contain some extended ASCII characters, this results in a message like: ``` UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 36101: invalid continuation byte ``` and a crash of the test application during the read of the file. In case of a crash it is attempted to open the file with another decoding and redo the read. * Problem with generating test output for Chinese It is not necessary to use the fallback, one can, in this case, directly use `encoding='ISO-8859-1'`
| * | Running doxygen tests with variable with spaces (#7819)albert-github2020-06-131-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a run command like: ``` nmake tests TEST_FLAGS="--xhtml --keep --cfg GENERATE_HTMLHELP=YES --cfg HHC_LOCATION=\"c:\Program Files (x86)\HTML Help Workshop\hhc.exe\" --cfg HTML_FILE_EXTENSION=.html --cfg SEARCHENGINE=NO --id=1" ``` we get an error like ``` Not a doxygen configuration item, missing '=' sign: 'Files'. ``` this is due to the usage of the `split()` that does a brute force split on spaces. Making the splitting a bit more intelligent: - splitting on `--` - splitting on space after "command"
| * | Addon option --pool to the test run script for parallel execution of tests ↵albert-github2020-06-131-10/+29
| | | | | | | | | | | | | | | | | | (#7827) To make better use of the processors of a computer the possibility has been build to execute the tests in parallel, this is especially of an advantage for PDF tests. To make use of this option the number of parallel tests `np` has to be specified by means of `--pool=np`, the default is 1.
| * | Coverity uninitialized variable in mscgen_api.cppalbert-github2020-06-124-4/+49
| | | | | | | | | | | | | | | - Initialize the variable ymax - add an extended example with "parallel events" triggered by a `,` instead of `;` between events
| * | LaTeX test were hanging for a.o. Hungarian on Windowsalbert-github2020-06-081-6/+13
| |/ | | | | | | | | | | On Windows a number of tests were hanging when using a language like Hungarian, Russian. The handling of the output of the output is now done differently for Windows and other OS A small (but obvious) error has been corrected (failed_html -> failed_latex), has no effect on the output / results though.
* | Adding the xml:lang tag to XML and Docbook outputalbert-github2020-06-03104-109/+109
|/ | | | | | | | Adding the xml:lang attribute for XNL and Docbook output Interesting links: - language codes (different from country codes!): https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry - example for xml.xsd: http://www.java2s.com/Code/XML/XML-Schema/importanotherXMLschema.htm
* Remove support for TCL (code is too buggy and unmaintained, language not ↵Dimitri van Heesch2020-03-1530-2451/+0
| | | | very popular)
* issue #7635: Incorrect location for enum in XML file (part 2)Dimitri van Heesch2020-03-1543-45/+45
|
* Updated test 024 to better test spacing behaviour.Dimitri van Heesch2020-01-142-1/+35
|
* Showing information from all `*only commands in XML outputalbert-github2020-01-052-3/+15
| | | | This fix reverts the changes from #381 (i.e issue #4214 "htmlonly content appears in generated XML output (Origin: bugzilla 646002)", as XML is seen as an output format that can be further processed and therefore should contain all possible information.
* issue #7477 Broken urls in the xml outputalbert-github2020-01-041-14/+14
| | | | | Made code analogous to HTML code. Also the doxygen internal tests suffered from this problem.
* issue #7464 1.8.17: test suite is failingalbert-github2020-01-011-7/+12
| | | | | | | | On Windows the syntax with the command and arguments in one string worked but on *nix (and Cygwin) it didn't. - changed calls to Popen to split command (see also: https://docs.python.org/3/library/subprocess.html). - explicitly specify files to check for xhtml - changed call to xmllint for xhtml and docbook (due to stdout overflow in some cases, we are not really interested in the, formatted, output of xmllint). - in the update part a `read` was left, should have been removed.
* issue #7319: Bug 790856 - Namespace member functions links are brokenDimitri van Heesch2019-12-271-2/+2
|
* Merge branch 'feature/bug_html_s' of ↵Dimitri van Heesch2019-12-262-2/+3
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_html_s
| * Adding HTML s tag, XML corrections for other tagsalbert-github2019-08-162-2/+3
| | | | | | | | | | | | Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp). Adding 's' and correcting 'inc' to 'ins' in compound.xsd
* | Making tests valid for python 3albert-github2019-12-191-16/+38
| | | | | | | | | | In #7254 the tests were made for python 3 for the standard xml tests, now this is extended for the other possible formats. The subprocess call gave some problems as it handles only 1 command and no redirection.
* | Making tests valid for python 3albert-github2019-12-181-13/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test 65 gave some problems with python3: ``` Traceback (most recent call last): File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 487, in <module> main() File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 484, in main sys.exit(testManager.perform_tests()) File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 388, in perform_tests tester = Tester(self.args,test) File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 13, in __init__ self.config = self.get_config() File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 71, in get_config for line in f.readlines(): File "D:\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 236: character maps to <undefined> ``` this happened on multiple places and also with the `popen` command. Created, analogous to `doc/translator.py`, special open functions so that the code works for Python 2 and Python 3.
* | Merge pull request #7373 from albert-github/feature/bug_spell_testingDimitri van Heesch2019-11-053-3/+3
|\ \ | | | | | | Spelling corrections for testing directory