Mark Pemberton
045d139d64
Added RSS Feed tests
2011-06-15 00:58:29 -04:00
Christian Weiske
5deeecc408
make bookmarks.php tests easier to read and use the TestBaseApi to get the urls
2011-06-08 07:22:13 +02:00
Christian Weiske
5009535d34
docblocks for url and urlPart variables
2011-06-08 07:21:33 +02:00
Christian Weiske
39dfe3f1ac
CS
2011-06-08 07:00:24 +02:00
Christian Weiske
44a65eddac
fix tests for people that use a separate test database
2011-06-08 07:00:17 +02:00
Mark Pemberton
cd2756a4d0
Refined bookmarksTest.php and added indexTest.php
2011-06-07 22:13:50 -04:00
Mark Pemberton
84e603aa91
Reverted changes of date() to gdate(), added tests to confirm existence of private RSS feed, and finalized changes to the user session usage with rss.php
2011-06-04 00:29:04 -04:00
Mark Pemberton
342d1c3205
Altered tests to be more timezone friendly
2011-05-21 22:06:44 -04:00
Mark Pemberton
b105867e75
Merge branch 'master' into privatekey2
2011-05-21 21:38:25 -04:00
Mark Pemberton
e0149e24e2
Resolve some failed bookmark and tag tests
2011-05-21 14:36:29 -04:00
Christian Weiske
1bbc36f8a4
fix test
2011-05-20 17:08:39 +02:00
Christian Weiske
191f08683e
all but one test work now with a different unittest database
2011-05-20 07:02:52 +02:00
Christian Weiske
675aa6291a
automatically append unittestmode parameter to url
2011-05-20 06:58:28 +02:00
Mark Pemberton
5203848b12
revert getBookmarks() back to original
2011-05-19 19:40:22 -04:00
Christian Weiske
ef23f01eba
begin supporting a different database for unit tests
2011-05-19 07:38:35 +02:00
Mark Pemberton
ec345f7a13
new privatekey2 branch with privatekey changes
2011-05-13 14:26:51 -04:00
Christian Weiske
88d7b9631b
Merge branch 'master' into configurable-privacy2
2011-05-12 19:25:03 +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
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
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
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
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
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
200cb1d3c5
move privacy tests for api/post_add to the correct location
2011-04-06 09:52:02 +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