aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove dangling commentPetr Vaněk2022-04-061-2/+0
| | | | | | The dangling comment is result of commit bfe48b659baf ("[Fix] Fix logging for rspamadm"), where the same comment was removed from rspamadm but this one stayed. It should be removed as well.
* [Minor] Add missing includeVsevolod Stakhov2022-04-021-0/+1
| | | | Issue: #4131
* [Minor] Update my email and the copyright yearVsevolod Stakhov2022-03-253-3/+3
|
* [Test] Split testVsevolod Stakhov2022-03-231-3/+7
|
* [Test] Add test for csv detectionVsevolod Stakhov2022-03-132-1/+8
|
* [Minor] Microoptimize lua_util.str_endswithAnton Yuzhaninov2022-02-261-1/+32
| | | | | | | | Use find to check string suffix instead of sub (which involves string interning of a returned string). Benchmarks with LuaJIT 2.1.0 shows that an option with find is significantly faster. While here added unit test for this function.
* Spelling (#4086)Josh Soref2022-02-228-20/+20
| | | [Rework] Massive spelling fix from @jsoref
* [Test] Add a test caseVsevolod Stakhov2022-02-171-0/+1
| | | | Issue: #4081
* [Minor] Tune Lua GC for Lua unit testsAnton Yuzhaninov2022-02-081-0/+2
| | | | Fixes sporadic unit test failures (on Mac OS X).
* [Test] task:remove_symbol() on grouped virtual symbolAndrew Lewis2022-02-013-0/+32
|
* [Test] Fix mime dump testVsevolod Stakhov2021-12-091-0/+6
|
* [Test] Fix string formattingVsevolod Stakhov2021-12-091-3/+5
|
* [Test] Remove broken testVsevolod Stakhov2021-12-061-3/+4
|
* [Test] Add a small test for xxh3Vsevolod Stakhov2021-12-051-0/+6
|
* [Test] Improve envelope stuff testingVsevolod Stakhov2021-11-281-1/+28
|
* [Test] Fix testsVsevolod Stakhov2021-11-271-97/+100
|
* [Test] Oops, add a missing requireVsevolod Stakhov2021-11-241-2/+2
|
* [Test] Add unit test for message to ucl functionVsevolod Stakhov2021-11-241-0/+188
|
* [Test] One more fixVsevolod Stakhov2021-11-241-8/+7
|
* [Test] Add a simple config helper for the unit testsVsevolod Stakhov2021-11-242-24/+31
|
* [Test] Fix neural plugin testsPragadeesh Chandiran2021-11-223-38/+46
|
* [Test] Fix automatic training testsVsevolod Stakhov2021-11-103-37/+40
|
* [Test] Add tests for DKIM key record parsingVsevolod Stakhov2021-11-042-0/+160
| | | | Issue: #3955
* [Test] whitelist: fix testsAndrew Lewis2021-10-081-0/+3
|
* [Test] Move tests from lua to C++Vsevolod Stakhov2021-10-061-226/+0
|
* [Minor] Fix test message as we now process received headers as expectedVsevolod Stakhov2021-10-051-1/+1
|
* [Test] Add the test for the previous fixVsevolod Stakhov2021-09-221-0/+8
|
* [Test] Add tests for broken qp decodingVsevolod Stakhov2021-09-201-0/+10
|
* [Minor] Plug some leaks on error pathsVsevolod Stakhov2021-09-181-1/+2
| | | | Found by: coverity scan
* [Test] Avoid importing user configurationAndrew Lewis2021-09-151-2/+5
|
* Add SYSTEM_DOCTEST cmake optionPetr Vaněk2021-09-021-2/+0
| | | | | | | | | | | | | | | This gives packagers option to use system version of doctest rather than bundled one. It is disabled by default. Additionally, there is no need to link rspamd-test-cxx with doctest as it is is single header library. Main reason for this change is that currently bundled version of doctest-2.4.5 can't compile with glibc-2.34 [1]. However, this issue was already fixed in upstream doctest-2.4.6 [2] in commit [3]. With this, packagers can just bump doctest to fixed version. [1] https://github.com/onqtam/doctest/issues/473 [2] https://github.com/onqtam/doctest/blob/master/CHANGELOG.md#246-2021-03-22 [3] https://github.com/onqtam/doctest/commit/099d5414e97244ec44cf46b14cd176b3a3dc52e3
* [Minor] Fix exit codes usage to POSIX portable EXIT_FAILUREVsevolod Stakhov2021-08-291-1/+1
|
* [Minor] Adjust unit testVsevolod Stakhov2021-07-301-1/+1
|
* [Minor] Try to deal with urls with backslashes in pathVsevolod Stakhov2021-07-301-1/+5
|
* [Test] Selector that returns list of rspamd_textAndrew Lewis2021-07-282-0/+21
|
* [Minor] Remove extra namespaceVsevolod Stakhov2021-07-231-1/+1
|
* [Minor] Add std::hash specialisation + testsVsevolod Stakhov2021-07-231-10/+40
|
* [Minor] Add std::swap specialisationVsevolod Stakhov2021-07-231-0/+26
|
* [Test] Separate local_ptr unit testsVsevolod Stakhov2021-07-223-260/+287
|
* [Minor] Add weak ptr counterpartVsevolod Stakhov2021-07-221-0/+79
|
* [Minor] Enable make_shared like behaviourVsevolod Stakhov2021-07-221-0/+30
|
* [Test] Add some testsVsevolod Stakhov2021-07-221-11/+166
|
* [Minor] Fix parsing of some misformed email addressesVsevolod Stakhov2021-07-211-4/+4
|
* [Test] Store stdout/stderr in robotVsevolod Stakhov2021-07-161-1/+1
|
* [Minor] Fix rubbish stuffVsevolod Stakhov2021-07-111-1/+1
|
* [Minor] Do not try to modify constant memoryVsevolod Stakhov2021-07-071-0/+1
|
* [Test] Fix broken tests as it is confirmed by browser \m/Vsevolod Stakhov2021-07-021-1/+1
|
* [Test] Some fixes to html unit testsVsevolod Stakhov2021-06-281-28/+10
|
* Merge pull request #3804 from fatalbanana/bitcoin_pcreVsevolod Stakhov2021-06-252-0/+32
|\ | | | | [Fix] Fix an edge case in BITCOIN_ADDR rule
| * [Fix] Fix an edge case in BITCOIN_ADDR ruleAndrew Lewis2021-06-232-0/+32
| | | | | | | | | | - when using PCRE - and different address types are present