Commit Graph

921 Commits

Author SHA1 Message Date
Christian Weiske
88d7b9631b Merge branch 'master' into configurable-privacy2 2011-05-12 19:25:03 +02:00
Christian Weiske
b57c8d4581 do not automatically store user id in session 2011-05-12 19:23:53 +02:00
Christian Weiske
aea9c9ddbb fix a test that failed when using a base URL without protocol 2011-05-12 19:09:30 +02:00
Christian Weiske
f647c48477 reformat userservice::getWatchNames 2011-05-12 09:22:04 +02:00
bretticvs
fc093a5fe5 Moved testDefaultPrivacyEdit() to tests/www/editTest.php.
Moved testDefaultPrivacyImportNetscape() to tests/www/importNetscapeTest.php.
Moved testDefaultPrivacyImport() to tests/www/importTest.php.
Moved testDefaultPrivacyBookmarksAddMissingTitleMissingPrivacy() to tests/www/bookmarksTest.php.
Moved testDefaultPrivacyBookmarksAdd() to tests/www/bookmarksTest.php.
Kept testDefaultPrivacyPrivate() in tests/api/PostsAddTest.php.
Kept testDefaultPrivacyPublic() in tests/api/PostsAddTest.php.
2011-05-05 16:24:21 -06:00
Christian Weiske
dda05f5cc7 SQL schema version table to ease future database upgrades 2011-05-04 08:02:33 +02:00
Christian Weiske
69e58d8632 Support HTTPS connections when $root is not configured 2011-05-04 07:24:52 +02:00
Christian Weiske
e2c4b53ecb update changelog; bug #3251877 has been fixed with the query switch 2011-05-03 19:21:26 +02:00
Christian Weiske
69d0ef4ff5 update changelog 2011-05-03 19:17:28 +02:00
Christian Weiske
c8a5f29677 show proper error message when url is invalid 2011-05-03 19:15:36 +02:00
Christian Weiske
4a3fdcc4dd rename test method 2011-05-03 19:10:30 +02:00
Christian Weiske
fb11021ed7 do not add bookmarks with an invalid URL 2011-05-03 19:10:12 +02:00
Christian Weiske
218ac05e71 docblock for isValidUrl method 2011-05-03 09:19:08 +02:00
Christian Weiske
2077464d46 begin bookmark model class with URL validation method 2011-05-03 09:14:32 +02:00
Christian Weiske
8be81abfe6 merge master 2011-05-02 18:07:15 +02:00
Christian Weiske
f629d081dd make privacy tests clearer 2011-05-02 09:03:35 +02:00
Christian Weiske
6b02db7920 use cookie jar instead of manually creating the cookie 2011-04-26 07:01:48 +02:00
Christian Weiske
3e5cadc764 use cookie jar instead of manually creating the cookie 2011-04-26 07:00:33 +02:00
Christian Weiske
43b6021be7 use xpath instead of manual string-search to verify test results 2011-04-26 06:59:23 +02:00
Christian Weiske
8e7138bf1f make html valid xml to be able to load it with an xml parser 2011-04-26 06:58:49 +02:00
Christian Weiske
106bdcec66 replace named html entities with their numeric name to be able to load the generated pages with an xml parser 2011-04-26 06:53:50 +02:00
Christian Weiske
da36ba7b7e replace deprecated split 2011-04-26 06:48:26 +02:00
Christian Weiske
79e3f4e121 make import test easier 2011-04-18 22:39:06 +02:00
Christian Weiske
6f04c888bf make importnetscape-test easier 2011-04-18 22:37:42 +02:00
Christian Weiske
5d5ca9efdd clarify documentation; we are returning get requests 2011-04-18 19:20:58 +02:00
Christian Weiske
87eab925e4 make edit test much easier and do not rely on manual cookie setting 2011-04-18 19:16:58 +02:00
Christian Weiske
f3fdb6ca14 start the session when we are in http unittest mode 2011-04-18 19:16:18 +02:00
Christian Weiske
b937d6ee42 fix tests that did not find the data file 2011-04-18 07:50:20 +02:00
bretticvs
3b582fd875 Moved unit tests to PostsAddTest.php in Api directory. 2011-04-17 17:42:49 -06:00
Christian Weiske
40b4674e47 exclude database layer files from coverage 2011-04-15 19:22:19 +02:00
Christian Weiske
a1989cff06 add test to search for multiple tags, which fails currently 2011-04-15 19:15:57 +02:00
Christian Weiske
0f0a95998e use correct url 2011-04-15 08:00:26 +02:00
Christian Weiske
b2c48977bb use xml parser, not html 2011-04-15 07:56:50 +02:00
Christian Weiske
a25838b267 Fix bug #3097187: Using opensearch with two tags does not work in Firefox 2011-04-15 07:55:06 +02:00
Christian Weiske
5d22905ce7 verify we get the correct search URL 2011-04-14 17:04:57 +02:00
Christian Weiske
8a87a245b8 test opensearch api content type 2011-04-14 16:58:47 +02:00
Christian Weiske
dbccc1781e remove fixme 2011-04-14 16:55:51 +02:00
Christian Weiske
f5ac88ea87 test that opensearch link is the main page HTML head 2011-04-14 16:53:46 +02:00
Christian Weiske
542824a9ba include HTTP_Request2 in api base file 2011-04-14 16:53:09 +02:00
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