Commit graph

160 commits

Author SHA1 Message Date
Andreas Schneider
476fd5d00e Add a test for csync_vio_mkdirs(). 2008-05-19 17:05:39 +02:00
Andreas Schneider
92396e614c Fix testsetup for journal query test. 2008-05-14 13:46:01 +02:00
Andreas Schneider
87a2805a91 Fix a build warning. 2008-05-09 11:30:53 +02:00
Andreas Schneider
7f3cba1517 Add missing tests for journal functions. 2008-05-09 11:25:21 +02:00
Andreas Schneider
738bd55231 Add test for c_rbtree_dup(). 2008-05-09 11:10:00 +02:00
Andreas Schneider
917f369e67 Use the dummy module to test csync_init() with module loading. 2008-05-09 10:57:08 +02:00
Andreas Schneider
029a6679da Add journal load and query tests. 2008-05-09 10:00:10 +02:00
Andreas Schneider
364b8038e6 Split up journal tests in test which needs init and just create. 2008-05-09 09:59:26 +02:00
Andreas Schneider
9c245073c0 Split csync tests into two tests. 2008-05-09 09:54:08 +02:00
Andreas Schneider
16ae13d095 Remove standard csync test. 2008-05-09 09:53:48 +02:00
Andreas Schneider
9f887635b2 Add tests for the csync_util functions. 2008-05-09 09:26:12 +02:00
Andreas Schneider
be57b79d6c Add test for csync_difftime(). 2008-05-09 09:25:50 +02:00
Andreas Schneider
9a440d4501 Respect return values in tests. 2008-05-08 17:28:12 +02:00
Andreas Schneider
46bedd6285 Remove obsolete definition. 2008-05-08 15:07:32 +02:00
Andreas Schneider
e76c2db9f6 Fix directories for exclude tests. 2008-05-08 10:56:08 +02:00
Andreas Schneider
d0a6e9221b Fix tests and remove developer mode.
This allows to run all tests without the need for a special developer
mode.
2008-05-07 15:33:55 +02:00
Andreas Schneider
e41e8e1610 Add commandline parsing to all tests. 2008-05-07 11:09:56 +02:00
Andreas Schneider
7b6be113ea Add commandline options support for testcases.
This adds a simple possibility to run the test not in the fork mode.
2008-05-07 10:56:36 +02:00
Andreas Schneider
ad67b21062 Use always the same path for testing. 2008-05-05 10:55:05 +02:00
Andreas Schneider
c318daed7f Add time difference check to the init function. 2008-05-05 10:48:05 +02:00
Andreas Schneider
f2145a0e92 Fix testcase for insert metadata. 2008-04-30 12:33:18 +02:00
Andreas Schneider
6ba2a31f04 Add missing tests for journal. 2008-04-30 10:39:23 +02:00
Andreas Schneider
8503dcbb1d Adapt exclude list for updated csync_exclude.conf. 2008-04-29 15:54:41 +02:00
Andreas Schneider
997ec6db98 Speedup the journal creation and adapt the testcases. 2008-04-29 14:21:16 +02:00
Andreas Schneider
27fb5d9128 Fix several bugs in the journal query function. 2008-04-29 11:42:20 +02:00
Andreas Schneider
3bf6fc7e82 Fix test to check for status flag. 2008-04-29 11:21:22 +02:00
Andreas Schneider
cc4c636ed4 Add function to create tables in the journal. 2008-04-29 09:24:28 +02:00
Andreas Schneider
e8b4f4c5e1 Fix memory leak in vio test. 2008-04-26 20:48:12 +02:00
Andreas Schneider
7bb4091787 Define test mode for logging. 2008-04-26 10:13:09 +02:00
Andreas Schneider
6820819c1e Add a null csync_destroy test. 2008-04-26 10:12:16 +02:00
Andreas Schneider
bc54165b13 Add missing testcases for csync_vio. 2008-04-25 17:13:27 +02:00
Andreas Schneider
817dc1c2a4 Add csync_vio_local_close test will NULL. 2008-04-25 17:12:19 +02:00
Andreas Schneider
5a13a0ee5a Add the missing tests for csync_vio_local. 2008-04-25 16:49:14 +02:00
Andreas Schneider
17faefbffe Add test for file functions of csync_vio_local. 2008-04-25 15:10:01 +02:00
Andreas Schneider
e6b45181f3 Add the possibility to disable log4c in testcases. 2008-04-25 10:56:23 +02:00
Andreas Schneider
23b40250ef Fix the exclude list test. 2008-04-24 09:39:20 +02:00
Andreas Schneider
335b97242c Add some tests for csync_vio_local. 2008-04-23 17:54:53 +02:00
Andreas Schneider
dc72b7397c Add the local and remote uri at creation time. 2008-04-22 17:23:26 +02:00
Andreas Schneider
61c4be6c23 Don't initialize the synchronizer in the vio test. 2008-04-22 11:05:16 +02:00
Andreas Schneider
63dddf8f78 Fix memory leak in vio handle test. 2008-04-22 10:46:52 +02:00
Andreas Schneider
22513d07f2 Add test for loading the module. 2008-04-21 09:45:55 +02:00
Andreas Schneider
d2b7c2f0c6 Add vio module loading test. 2008-04-18 19:16:54 +02:00
Andreas Schneider
cb14a9aaa5 Fix build warning for shadowed variable. 2008-04-17 15:02:52 +02:00
Andreas Schneider
c1bd966c5c Make csync_vio_file_stat functions public. 2008-04-16 10:54:53 +02:00
Andreas Schneider
7bd9c7753d Add test for csync_vio_file_stat. 2008-04-16 10:32:33 +02:00
Andreas Schneider
c7a3afecfa Fix a compile warning. 2008-04-10 15:46:01 +02:00
Andreas Schneider
ab39159607 Add virtual IO plugin system.
This is the initial commit of the vio plugin system. The idea is based on
gnomevfs.
2008-04-07 17:16:41 +02:00
Andreas Schneider
3e33f5d52c Run tests in fork mode. 2008-04-07 17:16:00 +02:00
Andreas Schneider
5ba9432548 Free memory of the exclude list in the csync destroy function. 2008-03-26 11:11:20 +01:00
Andreas Schneider
335d07e0b8 Add a exclude list. 2008-03-25 16:13:44 +01:00
Andreas Schneider
5257f277a4 Config test should run in fork mode. 2008-03-25 16:08:39 +01:00
Andreas Schneider
b4811c36bc Add a stringlist expand function. 2008-03-20 10:34:58 +01:00
Andreas Schneider
2e34b51373 Load the config file. 2008-03-06 17:43:58 +01:00
Andreas Schneider
2982193ee9 Add a false testcase for csync_journal_check. 2008-03-06 16:59:19 +01:00
Andreas Schneider
7c47d9cb59 Add more test cases for csync_journal functions. 2008-03-04 11:29:58 +01:00
Andreas Schneider
7415bb1ea3 Add more testcases for csync_journal. 2008-03-04 10:42:02 +01:00
Andreas Schneider
c8b641ac98 Fix build warnings. 2008-03-04 09:01:58 +01:00
Andreas Schneider
c394ea1c90 Fix memleaks in rbtree test. 2008-03-03 13:22:36 +01:00
Andreas Schneider
ff7e28f82c Completly hide the csync structure for the user of the library.
So it easier to change the API/ABI.
2008-02-29 11:41:15 +01:00
Andreas Schneider
1b29a420bc Initial commit 2008-02-27 18:56:47 +01:00