Commit graph

1032 commits

Author SHA1 Message Date
Christian Weiske
bdebe6598c use bootstrap file declared in phpunit.xml and do not include it in every single test file. also get rid of the PHPUnit_MAIN_METHOD declarations since using phpunit directly is preferred 2011-04-12 09:29:59 +02:00
Christian Weiske
90f29d6e67 first test for service factory 2011-04-12 08:47:44 +02:00
Christian Weiske
36ff61b38e fix E_NOTICE in rss when calling i.e. http://bm.bogo/rss.php/test?sort=date_desc 2011-04-07 19:04:32 +02:00
Christian Weiske
12c77161ac move doc-todo to doc-todo file 2011-04-06 19:03:52 +02:00
Christian Weiske
200cb1d3c5 move privacy tests for api/post_add to the correct location 2011-04-06 09:52:02 +02:00
Christian Weiske
3306261b3e ignore unittest config file 2011-04-06 09:50:58 +02:00
Christian Weiske
366987a97d move unittest config deletion to setup since that makes it easier to debug, and does not break config when the test fatal errored 2011-04-06 09:50:42 +02:00
Christian Weiske
cba0776325 cherry-pick:
move setUnittestConfig to TestBaseApi since it makes only sense to use it there

Conflicts:

	tests/TestBaseApi.php
2011-04-06 08:43:42 +02:00
Christian Weiske
c81566f5d8 cherry-pick:
add new feature: allow unit test mode enabling via HTTP GET parameter
2011-04-06 08:42:26 +02:00
Christian Weiske
1a2b37cc34 tell people why we need that variable 2011-04-06 07:58:01 +02:00
Christian Weiske
988e564ec3 always delete all bookmarks in setUp since almost all methods do it anyway 2011-04-06 07:46:55 +02:00
Christian Weiske
599ac400f2 update changelog with jquery merge 2011-04-05 19:05:31 +02:00
Christian Weiske
cbf36891ae set width of autocomplete dropdown 2011-04-05 19:02:52 +02:00
Christian Weiske
705d016301 move bookmarklet code to own template file 2011-04-05 18:56:51 +02:00
Christian Weiske
1527555a96 restructure opera bookmarklet popup code (doesnt work currently :)) and make normal opera bookmarklet code a bit easier to read 2011-04-04 23:11:05 +02:00
Christian Weiske
361c94895d explain opera button commands 2011-04-04 22:26:19 +02:00
Christian Weiske
28460d52cb end user docs todo 2011-04-04 22:26:00 +02:00
Christian Weiske
51763183e0 FINALLY get the first opera bookmarklet working, with cleaner code now 2011-04-04 22:07:39 +02:00
Christian Weiske
43974a15f2 make popup bookmarklet work in firefox when the title contains double and single quotes. opera still broken, though 2011-04-01 08:17:01 +02:00
bretticvs
1aa20d38ca Re-adding test data without carriage returns. 2011-03-31 16:49:21 -07:00
bretticvs
a0ca398372 Trying to remove carriage returns from test data. 2011-03-31 16:42:44 -07:00
bretticvs
42942507c4 Revert "Revert "Updates for configurable-privacy2, hopefully without carriage returns.""
This reverts commit f072059f2d.
2011-03-31 16:18:36 -07:00
bretticvs
f072059f2d Revert "Updates for configurable-privacy2, hopefully without carriage returns."
This reverts commit 675eadd584.
2011-03-31 16:17:53 -07:00
bretticvs
675eadd584 Updates for configurable-privacy2, hopefully without carriage returns. 2011-03-31 15:59:44 -07:00
U-SYBASE\bdee
8cbfef8115 Revert "Further updates for configurable-privacy2."
This reverts commit ef88147d45.
2011-03-31 13:25:37 -07:00
Christian Weiske
7a45f330a7 re-enable browser bookmarklets after fixing some naaaaaaaaaaaaaasty bugs with site titles that have special chars in them 2011-03-31 19:13:07 +02:00
bretticvs
ef88147d45 Further updates for configurable-privacy2. 2011-03-30 22:31:51 -07:00
bretticvs
eaa62a6c45 Adding directory and files for test data. 2011-03-30 22:04:39 -07:00
Christian Weiske
28c8cdaf58 make dynamictags (tagcloud) work again 2011-03-30 19:20:26 +02:00
Christian Weiske
c7c702f544 begin to fix dynamictags for xhtml compatibility 2011-03-29 18:04:26 +02:00
Christian Weiske
407daf0bfa work around minLength problem in jquery-ui-autocomplete 2011-03-29 08:05:15 +02:00
Christian Weiske
24bb9eea92 do not load all css files 2011-03-29 08:02:37 +02:00
Christian Weiske
13fb8739db split words also by =, < and > 2011-03-29 07:57:35 +02:00
Christian Weiske
3f6bf4a5eb update from 1.8.5 to jquery-ui 1.8.11 2011-03-29 07:54:47 +02:00
Christian Weiske
5c1d75ae65 use getadmintags.php if configured so 2011-03-28 19:24:44 +02:00
Christian Weiske
833dde3f53 jquey-autocomplete works! 2011-03-28 19:17:51 +02:00
Christian Weiske
a5bd778929 introduce assertResponseJson200 for API/ajax tests and use it 2011-03-28 08:34:12 +02:00
Christian Weiske
1dfff5d3d8 add tests for getadmintags beginsWith and limit parameters 2011-03-28 08:01:02 +02:00
Christian Weiske
a1545004f2 rewrite ajax/getadmintags.php 2011-03-26 17:04:21 +01:00
Christian Weiske
a756799ef4 move setUnittestConfig to TestBaseApi since it makes only sense to use it there 2011-03-26 17:04:00 +01:00
Christian Weiske
361c18469a add new feature: allow unit test mode enabling via HTTP GET parameter 2011-03-26 15:09:22 +01:00
Christian Weiske
0935c98499 test the limit parameter 2011-03-26 13:55:46 +01:00
Christian Weiske
78654369e9 test for beginsWith parameter and a bugfix :) 2011-03-26 11:54:47 +01:00
Christian Weiske
0f9d06c664 first working unittest for ajax/getcontacttags with login! 2011-03-26 10:00:18 +01:00
Christian Weiske
6d49b0622d begin modifying ajax/getcontacttags 2011-03-25 19:26:42 +01:00
Christian Weiske
db71e63467 begin with ajax unittests - but they do not work yet 2011-03-25 19:26:21 +01:00
Christian Weiske
d6e99db40d do not generate invalid SQL when called with a not-so valid array 2011-03-25 08:00:32 +01:00
Christian Weiske
e667feb0ca beginsWith-parameter for getPopulartags, getContactTags and getAdminTags 2011-03-25 07:44:07 +01:00
Christian Weiske
d761abb05e docblock for deleteAll 2011-03-24 19:11:06 +01:00
Christian Weiske
e1370d949c update changelog 2011-03-24 19:09:19 +01:00