Commit Graph

789 Commits

Author SHA1 Message Date
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
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
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
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
bretticvs
65bd4bfab8 Updates for feature request 3164348: Make default privacy configurable. 2011-03-15 07:53:39 +01:00
Christian Weiske
4cc46f2686 get rid of phpunits warnings about deprecated assertType usages 2011-02-18 08:01:18 +01:00
Christian Weiske
0dd5540bfb Fix bug #3065284: AjaxVote problem with Webkit browsers 2011-02-16 08:49:01 +01:00
Christian Weiske
66ee4cbe40 set release date of 0.97.2 2011-02-16 00:45:06 +01:00
Christian Weiske
525b509bd2 remove svntag task from build file; we do not have svn anymore 2011-02-16 00:42:45 +01:00
Christian Weiske
4b6e2ea2bc another merged bugfix 2011-02-15 08:00:00 +01:00
Christian Weiske
96f7172de0 move changes into 0.97.2 where I merged them 2011-02-15 07:56:20 +01:00
Christian Weiske
a46146d016 Fix bug #3178597: Broken link to context in gsearch admin index page 2011-02-14 18:13:59 +01:00
Christian Weiske
6d752be4de documentation todo 2011-02-14 17:53:31 +01:00
Christian Weiske
966fdf808c rename $range to $status as it is used in all other methods; add privacy to the parameter description so we find it again next time 2011-02-09 07:15:56 +01:00
Christian Weiske
2c4bf8dacf make unittests run with phpunit 3.5.x 2011-02-02 23:08:43 +01:00
Christian Weiske
5a8327be1d Fix bug #3111254: Search in my_watchlist results in error 2010-11-19 07:06:08 +01:00
cweiske
e1f9d9e3a0 merge changelog from 0.97 branch
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@781 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 22:01:29 +00:00
cweiske
8e2b25a095 api/posts/add respects the "replace" parameter now
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@777 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:57:30 +00:00
cweiske
66af94feaf reformat api/posts/add and document it better
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@776 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:56:10 +00:00
cweiske
3ff661c0e0 send 400 status code if a parameter is missing
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@775 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:55:14 +00:00
cweiske
da272b5a20 check datetime setting
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@774 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:53:57 +00:00
cweiske
c9398ccd5b first tests for api/posts/add
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@773 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:52:59 +00:00
cweiske
2f3b23f96a first tests for api/posts/add
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@772 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:52:01 +00:00
cweiske
20ec8b4958 test for api/posts/update
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@771 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:50:38 +00:00
cweiske
70c39a8eea delicious returns a proper error message when deleting non-existant items, which we do now, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@770 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-29 20:49:14 +00:00
cweiske
22c9a01ee8 rewrite api/posts/delete to be more secure and add unit tests for it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@769 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:14:31 +00:00
cweiske
df8216d607 execute api tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@768 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:12:55 +00:00
cweiske
b31886b67a tests for deleting bookmarks via the API. two of them fail currently because of a security issue
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@767 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-28 22:11:59 +00:00