Commit Graph

18 Commits

Author SHA1 Message Date
Mark Pemberton
342d1c3205 Altered tests to be more timezone friendly 2011-05-21 22:06:44 -04:00
Mark Pemberton
e0149e24e2 Resolve some failed bookmark and tag tests 2011-05-21 14:36:29 -04: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
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
30f84b3ca3 fix privacy protection issue when fetching tags of several users 2011-03-24 19:07:50 +01:00
Christian Weiske
637e276ac7 unittest for Bookmark2Tag::getContactTags, CS and docblock 2011-03-24 08:36:54 +01:00
Christian Weiske
cb28cd3371 unittest for getAdminTags as well as CS and docblock fixes on it 2011-03-23 19:11:38 +01:00
Christian Weiske
66c60880d2 rename three to thr to make the code look nicer 2011-03-23 19:00:25 +01:00
Christian Weiske
9f46e9f3ff getPopularTags is fully covered now 2011-03-23 08:58:20 +01:00
Christian Weiske
7d31d9d165 test for the days parameter 2011-03-23 08:33:49 +01:00
Christian Weiske
d4ccb1d3d3 first unit tests for Bookmark2Tag::getPopularTags 2011-03-23 08:23:36 +01:00
Christian Weiske
4cc46f2686 get rid of phpunits warnings about deprecated assertType usages 2011-02-18 08:01:18 +01:00
cweiske
bcb817c50d defined main method before including includes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@759 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-09-27 20:45:51 +00:00
cweiske
31570df64c Fix bug getTagsForBookmarks() that fetched all tags, see http://sourceforge.net/projects/semanticscuttle/forums/forum/759510/topic/3752670 for details
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@715 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-07-09 10:04:35 +00:00
cweiske
3e9c2cd0a5 add new method for better sql performance: Bookmark2Tag::getTagsForBookmarks()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@667 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:14:39 +00:00
cweiske
0685081d46 make tests better
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@665 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:11:26 +00:00
cweiske
97c3d1ed63 add test for Bookmark2Tag::getTagsForBookmark()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@663 b3834d28-1941-0410-a4f8-b48e95affb8f
2010-02-20 11:08:52 +00:00