Petr Vaněk
059e2e6973
[Test] Remove test case with non-deterministic result
Removed test case does not work with luajit-2.1 anymore as it depends on
internal behavior of lujait-2.0.
The order of URL list returned by `extract_specific_urls` function from
`lualib/lua_util` depends on order of keys in table of TLDs. The test
case incorrectly expects "net" and "com" being in front of the table,
however, "org" can appear there as well.
1 anno fa
Vsevolod Stakhov
6a8bf029f8
[Test] Fix broken tests
1 anno fa
Vsevolod Stakhov
96b94707c1
[Rework] Make http normalize path function a generic function
1 anno fa
Vsevolod Stakhov
93022e6207
[Test] Check the decoded length when doing base32 fuzz test
1 anno fa
Pavel Podkorytov
e68d8aba00
[Minor] Add test for lower_utf8 selector transformation
2 anni fa
Vsevolod Stakhov
2fa0e126c7
[Minor] Update my email and the copyright year
2 anni fa
Anton Yuzhaninov
431b3b892f
[Minor] Microoptimize lua_util.str_endswith
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.
2 anni fa
Vsevolod Stakhov
354ad43417
[Test] Fix mime dump test
2 anni fa
Vsevolod Stakhov
3f57a0d2d9
[Test] Remove broken test
2 anni fa
Vsevolod Stakhov
d5131fcf2f
[Test] Improve envelope stuff testing
2 anni fa
Vsevolod Stakhov
5367d1ed1e
[Test] Fix tests
2 anni fa
Vsevolod Stakhov
f4feae7c5d
[Test] Oops, add a missing require
2 anni fa
Vsevolod Stakhov
d71ef8ca42
[Test] Add unit test for message to ucl function
2 anni fa
Vsevolod Stakhov
b1c611505e
[Test] Add a simple config helper for the unit tests
2 anni fa
Vsevolod Stakhov
26e33fb5c1
[Test] Move tests from lua to C++
2 anni fa
Vsevolod Stakhov
48d7dbdb49
[Test] Add the test for the previous fix
2 anni fa
Vsevolod Stakhov
cae3206e6d
[Test] Add tests for broken qp decoding
2 anni fa
Vsevolod Stakhov
1dfd85e022
[Minor] Adjust unit test
2 anni fa
Vsevolod Stakhov
8b66801d1a
[Minor] Try to deal with urls with backslashes in path
2 anni fa
Vsevolod Stakhov
276d5a92ef
[Minor] Fix parsing of some misformed email addresses
2 anni fa
Vsevolod Stakhov
a69bb975ba
[Test] Fix broken tests as it is confirmed by browser \m/
3 anni fa
Vsevolod Stakhov
ee9655827a
[Test] Some fixes to html unit tests
3 anni fa
Vsevolod Stakhov
2b925196b7
[Test] Remove obsoleted test
3 anni fa
Vsevolod Stakhov
9647a701ab
[Minor] Fix multiple @ at the beginnig
3 anni fa
Vsevolod Stakhov
db4ef54517
[Minor] Fix parsing of some bogus urls
3 anni fa
Vsevolod Stakhov
fbe6bf7a0a
[Test] Add a unit test for buckets variables in the mempool
3 anni fa
Vsevolod Stakhov
c15c3243bc
[Test] Add unit tests for stream compression
3 anni fa
Vsevolod Stakhov
f03c580c85
[Test] Add some more rfc2047 tricky cases
3 anni fa
Vsevolod Stakhov
a06f20da1b
[Project] Css: Add display value support
3 anni fa
Vsevolod Stakhov
7e99c501c8
[Project] Css: Add dimensions handling
3 anni fa
Vsevolod Stakhov
f0de57da10
[Project] Css: Add opacity support
3 anni fa
Vsevolod Stakhov
fdb004b9ce
[Project] Css: Rework flags of css properties
3 anni fa
Vsevolod Stakhov
7954b67e2d
[Porject] Css: Rework functions parsing
3 anni fa
Vsevolod Stakhov
66f078e7f1
[Project] Css: Start semantic parsing for rules
3 anni fa
Vsevolod Stakhov
dc74baf9e9
[Project] Css: Several fixes + tests
3 anni fa
Vsevolod Stakhov
67857e64c2
[Minor] Css: Add a simple testing logic for css parsing
3 anni fa
Vsevolod Stakhov
de3370d428
[Test] Start css unit testing
3 anni fa
Vsevolod Stakhov
92bc01e5fe
[Minor] Add a path test
3 anni fa
Andrew Lewis
838d9dda1a
[Minor] Selectors: support extracting task cache variables
3 anni fa
Andrew Lewis
bbd94b4061
[Test] Add some unit tests for punycode conversion
3 anni fa
Vsevolod Stakhov
228458db4d
[Test] Disable broken test (type mismatch)
3 anni fa
Vsevolod Stakhov
f71dee6d40
[Fix] Fix quoted-printable soft newlines bugged case
3 anni fa
Vsevolod Stakhov
ff7c63b24d
[Minor] Fix some more lua compat issues with text:find
3 anni fa
Vsevolod Stakhov
87ef9084fb
[Fix] Fix off-by-one with init check
3 anni fa
Vsevolod Stakhov
ebd6508752
[Minor] Fix another stupid tests regression
3 anni fa
Vsevolod Stakhov
bae168a884
[Test] Add some tests for rspamd_text:find
3 anni fa
Andrew Lewis
68badebdac
[Minor] rspamd_text:byte() metamethod
3 anni fa
korgoth1
9ca0016e67
[TEST] smtp date
3 anni fa
Vsevolod Stakhov
7ac071f3f5
[Test] Fix tests
3 anni fa
Vsevolod Stakhov
7b8171fa97
[Test] Add smtp date parser unit tests
3 anni fa