Commit Graph

46 Commits

Author SHA1 Message Date
Vsevolod Stakhov
f3d15b0d92 [Test] Disable broken tests 2016-04-28 09:18:00 +01:00
Vsevolod Stakhov
3789f106c1 [Feature] Add unit tests for heap 2016-04-08 21:30:14 +01:00
Vsevolod Stakhov
0e7f9f3d46 Store event base in statistics library 2016-01-06 15:25:07 +00:00
Vsevolod Stakhov
c3896936f5 Fix tests 2015-11-20 16:33:34 +00:00
Vsevolod Stakhov
eb737947eb Reorganize includes to reduce namespace pollution. 2015-10-08 13:15:15 +01:00
Vsevolod Stakhov
3afc4aba24 Rename main.h and main.c to rspamd.X 2015-09-22 18:17:24 +01:00
Vsevolod Stakhov
b05c7c9edd Add tags to rspamd_mempool. 2015-08-27 17:36:29 +01:00
Vsevolod Stakhov
ab15b9a3c9 Remove legacy fuzzy code completely. 2015-07-18 00:10:56 +01:00
Vsevolod Stakhov
7eadc580cf Fix unit test building and starting. 2015-07-14 14:45:46 +01:00
Vsevolod Stakhov
045971cbb8 Add unit test for cryptobox. 2015-05-07 12:25:11 +01:00
Vsevolod Stakhov
92ba37c087 Fix tests build. 2015-04-17 22:06:14 +01:00
Vsevolod Stakhov
30cdb0547e Remove deprecated test. 2015-03-24 13:51:46 +00:00
Vsevolod Stakhov
20df05fe8d Initialize regexp library. 2015-03-05 18:58:00 +00:00
Vsevolod Stakhov
e4cc017c5d Rework lua tests one more time. 2015-02-28 00:11:56 +00:00
Vsevolod Stakhov
0c5dfb9541 Rework lua tests structure, require external busted. 2015-02-27 17:12:41 +00:00
Vsevolod Stakhov
2f20e4f7fe Add lua test framework. 2015-02-27 15:33:58 +00:00
Vsevolod Stakhov
984c43f649 Add HTTP connections speed test. 2015-02-04 17:05:53 +00:00
Vsevolod Stakhov
7404cdceee Add some tests for shingles. 2014-12-17 17:27:57 +00:00
Vsevolod Stakhov
d2150fc165 Refactor function names. 2014-11-29 17:03:24 +00:00
Vsevolod Stakhov
89442fca48 Add a simple upstreams test. 2014-11-02 18:38:43 +00:00
Vsevolod Stakhov
40e2310e65 Add cleanup. 2014-09-18 14:16:46 +01:00
Vsevolod Stakhov
e4846184c2 Rework radix tests. 2014-09-17 16:37:46 +01:00
Vsevolod Stakhov
aa48f9df19 Add radix trie test suite. 2014-09-12 12:18:55 +01:00
Vsevolod Stakhov
491e42b434 Restore testing framework. 2014-09-12 11:56:42 +01:00
Vsevolod Stakhov
d6643f35d7 Refactor config API. 2014-04-30 13:26:51 +01:00
Vsevolod Stakhov
ad837700b8 Refactor memory pool naming. 2014-04-20 08:16:49 -07:00
Vsevolod Stakhov
5607e21b22 Improve test suite by using standard glib test options. 2013-08-21 15:12:24 +01:00
Vsevolod Stakhov
07011527b9 Add a test suite for rcl. 2013-08-09 16:53:32 +01:00
Vsevolod Stakhov
fbcc7af8a6 * Add simple test for rrd.
Several fixes to RRD API.

TODO: fix test building
TODO: improve update of rrd files
TODO: rework shared libraries again
2012-12-15 04:17:10 +04:00
Vsevolod Stakhov
851ffca79a * Write tests for DKIM signature and key parsers.
Fix DKIM parsers.
2012-05-29 03:07:23 +04:00
Vsevolod Stakhov
448ba92d15 Fixed threading for testing suite. 2012-03-05 18:58:50 +04:00
Vsevolod Stakhov
4f28edb3f5 Fix asynchronous IO API.
Write test case for aio.
2012-03-01 21:57:09 +04:00
Vsevolod Stakhov
9d70356009 Separate librspamdserver API from plugins and workers functions.
Make tests compileable again.
2012-03-01 20:14:32 +04:00
Vsevolod Stakhov
1fd435e5d4 * Rework build process:
- add librspamdserver
 - link this library to all daemons and utils of rspamd
 - use subdirectories more often
* Rework global variables logic - move them to the main process
* Fix logging to handle utf-8 correctly
* Add statshow utility and make it working
* Move printf functions to separate source file
2011-05-10 19:15:03 +04:00
Vsevolod Stakhov
3d1c40c972 * Make DNS resolver working
* 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
2010-07-08 20:07:07 +04:00
Vsevolod Stakhov
a0f41f7c57 * New system of classifiers interface and statfiles processing
* Fix sample config
* Fix compile warnings
* Fix building without lua support
* Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
2009-09-14 19:11:19 +04:00
Vsevolod Stakhov
05556b30f9 * Add counters for rspamd symbols
* Fix shared hashes
2009-05-04 18:55:12 +04:00
Vsevolod Stakhov
afdaddc4d0 * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)
* Add test case for fuzzy hashing check
2009-03-20 18:35:30 +03:00
Vsevolod Stakhov
06661f20cb * Write functions to operate blocks in stat files
* Write test case for statistics files API
2008-11-28 19:29:00 +03:00
Vsevolod Stakhov
2aa9c74f1c * Reorganize structure of source files
* Adopt build system for new structure

--HG--
rename : cfg_file.h => src/cfg_file.h
rename : cfg_file.l => src/cfg_file.l
rename : cfg_file.y => src/cfg_file.y
rename : cfg_utils.c => src/cfg_utils.c
rename : controller.c => src/controller.c
rename : filter.c => src/filter.c
rename : filter.h => src/filter.h
rename : fstring.c => src/fstring.c
rename : fstring.h => src/fstring.h
rename : main.c => src/main.c
rename : main.h => src/main.h
rename : mem_pool.c => src/mem_pool.c
rename : mem_pool.h => src/mem_pool.h
rename : memcached-test.c => src/memcached-test.c
rename : memcached.c => src/memcached.c
rename : memcached.h => src/memcached.h
rename : perl.c => src/perl.c
rename : perl.h => src/perl.h
rename : plugins/regexp.c => src/plugins/regexp.c
rename : plugins/surbl.c => src/plugins/surbl.c
rename : protocol.c => src/protocol.c
rename : protocol.h => src/protocol.h
rename : upstream.c => src/upstream.c
rename : upstream.h => src/upstream.h
rename : url.c => src/url.c
rename : url.h => src/url.h
rename : util.c => src/util.c
rename : util.h => src/util.h
rename : worker.c => src/worker.c
2008-11-01 18:01:05 +03:00
cebka@cebka-laptop
da93e9d635 * Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies
* Add .depend files for subdirs that requre it
* Write simple test for expressions parser
2008-10-13 19:06:07 +04:00
cebka@cebka-laptop
6c55c3314c * Write protocol output functions
* Fix test suite build under linux
2008-10-10 19:21:23 +04:00
cebka@mailsupport.rambler.ru
2b65ae425b * Optimize memory pools allocator
* Add test case for memory pools
2008-09-22 01:08:41 +04:00
cebka@mailsupport.rambler.ru
4ad814a6c6 * Write test case for async memcached library
* Fix memcached async library to pass test :)
2008-09-16 18:42:02 +04:00
Vsevolod Stakhov
57e765ce78 * Fix url parser (get regexp from our mail system)
* Add some more tests to url testcase
2008-09-09 18:48:49 +04:00
Vsevolod Stakhov
946ddcfbc4 * Add initial test suite using glib test suite 2008-09-08 18:18:56 +04:00