Commit graph

1211 commits

Author SHA1 Message Date
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
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