Commit graph

14 commits

Author SHA1 Message Date
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
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
b80df612d5 add new "votes" field in bookmarks database with the total sum of votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@509 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-03 09:14:30 +00:00
cweiske
73212d6e3f allow vote changes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@495 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:36:23 +00:00
cweiske
1b6f516bbb test vote() when voting is deactivated
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@494 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:58 +00:00
cweiske
d05aebe54e allow changing of votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@493 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:38 +00:00
cweiske
b569921136 enable voting in voting tests
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@492 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-11-02 09:35:12 +00:00
cweiske
bb5205053e implement rewriteVotings() and unittest the method
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@448 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:15:14 +00:00
cweiske
03bc498eff test that voting for other bookmarks does not change when voting for one bookmark
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@447 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-28 22:13:57 +00:00
cweiske
3f340acd2b add eric and ben as authors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@429 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-26 06:39:59 +00:00
cweiske
8d16356f75 remove unreachable code
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@426 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 20:09:28 +00:00
cweiske
05defe72d8 introduce testbase class and make all tests runnable standalone
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@410 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-25 15:31:31 +00:00
cweiske
1cf1374627 clear votes table before testing votes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@403 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 09:05:05 +00:00
cweiske
f3c36ee5c9 Implement voting service and unit tests for it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@401 b3834d28-1941-0410-a4f8-b48e95affb8f
2009-10-24 08:07:55 +00:00