summaryrefslogtreecommitdiffstats
path: root/test/rspamd_fuzzy_test.c
Commit message (Collapse)AuthorAgeFilesLines
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-3/+4
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-3/+35
| | | | | | | | | | | | that have regexp at the end * Improve test for fuzzy hashes * Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes * Add documentation for expressions parser and fot Mail::Rspamd::TextPart * Allways calculate fuzzy hash for text parts * Store text parts separately from other parts * Add compare_parts_distance for expressions that calculates difference in 2 parts messages * Do not try to substitute variables in empty strings
* * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)Vsevolod Stakhov2009-03-201-0/+44
* Add test case for fuzzy hashing check