summaryrefslogtreecommitdiffstats
path: root/testing
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | Spelling corrections for testing directoryalbert-github2019-11-043-3/+3
| | | | | | | | | | | | | | | | | | Spelling corrections as found by codespell and in #561. Most reported problems were already fixed, others are fixed here.
* | | issue #7302: Determination of anonymous is too restrictiveDimitri van Heesch2019-11-052-6/+6
|/ /
* | Fix some typos luz.paz2019-09-1610-10/+10
|/
* Merge branch 'fetaure/bug_html_ins_del_tag' of ↵Dimitri van Heesch2019-08-032-0/+30
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-fetaure/bug_html_ins_del_tag
| * Adding HTML tags ins and delalbert-github2019-04-042-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Github does not support the `<u>` tag for underlined text, in HTML there exists the tag `<ins>`. On https://www.w3schools.com/tags/tag_ins.asp is written: The `<ins>` tag defines a text that has been inserted into a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<ins>` element with the following default values: ``` ins { text-decoration: underline; } ``` analogous there exists the tag `<del>` (https://www.w3schools.com/tags/tag_del.asp): The `<del>` tag defines text that has been deleted from a document. Browsers will normally strike a line through deleted text and underline inserted text. Most browsers will display the `<del>` element with the following default values: ``` del { text-decoration: line-through; } ``` Definitions analogue to the underline and strike through tag the implementation for the other formats has been chosen.
* | Merge pull request #7086 from albert-github/feature/regr_7061Dimitri van Heesch2019-07-291-0/+0
|\ \ | | | | | | regression #7061 Rename test file
| * | regression #7061 Rename test filealbert-github2019-06-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a regression on #7061 travis showed message: ``` not ok 71 - [071_enum_in_anon_ns.cpp]: test that enum values in anonymous namespaces produce no warning ------------------------------------- /home/travis/build/doxygen/doxygen/testing/071/namespace_a_namespace_1_1_0d0.xml absent ------------------------------------- ```
* | | chmod +x runtest.pyAdrian Negreanu2019-07-261-0/+0
|/ /
* | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-06-221-1/+1
|\ \
| * \ Merge pull request #7034 from albert-github/feature/issue_7033Dimitri van Heesch2019-06-221-1/+1
| |\ \ | | | | | | | | issue #7033 Syntax highlighting doesn't work when calling \dontinclude from Markdown files