tell which test covers which method

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@756 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2010-09-26 22:29:51 +00:00
parent 84224c3294
commit eb105d379b

View file

@ -81,6 +81,8 @@ class SearchHistoryTest extends TestBase
/** /**
* Tests if adding searches to the database works * Tests if adding searches to the database works
*
* @covers SemanticScuttle_Service_SearchHistory::addSearch
*/ */
public function testAddSearch() public function testAddSearch()
{ {
@ -94,6 +96,8 @@ class SearchHistoryTest extends TestBase
/** /**
* Tests if adding a search without terms should fail * Tests if adding a search without terms should fail
*
* @covers SemanticScuttle_Service_SearchHistory::addSearch
*/ */
public function testAddSearchNoTerms() public function testAddSearchNoTerms()
{ {
@ -153,6 +157,8 @@ class SearchHistoryTest extends TestBase
/** /**
* Deleting the oldest search without any historical searches * Deleting the oldest search without any historical searches
*
* @covers SemanticScuttle_Service_SearchHistory::deleteOldestSearch
*/ */
public function testDeleteOldestSearchNone() public function testDeleteOldestSearchNone()
{ {
@ -163,6 +169,8 @@ class SearchHistoryTest extends TestBase
/** /**
* Test deleting the oldest search * Test deleting the oldest search
*
* @covers SemanticScuttle_Service_SearchHistory::deleteOldestSearch
*/ */
public function testDeleteOldestSearchSome() public function testDeleteOldestSearchSome()
{ {