2009-10-03 23:18:49 +00:00
|
|
|
<?php
|
2009-10-26 06:39:59 +00:00
|
|
|
/**
|
|
|
|
* SemanticScuttle - your social bookmark manager.
|
|
|
|
*
|
|
|
|
* PHP version 5.
|
|
|
|
*
|
|
|
|
* @category Bookmarking
|
|
|
|
* @package SemanticScuttle
|
|
|
|
* @author Benjamin Huynh-Kim-Bang <mensonge@users.sourceforge.net>
|
|
|
|
* @author Christian Weiske <cweiske@cweiske.de>
|
|
|
|
* @author Eric Dane <ericdane@users.sourceforge.net>
|
|
|
|
* @license GPL http://www.gnu.org/licenses/gpl.html
|
|
|
|
* @link http://sourceforge.net/projects/semanticscuttle
|
|
|
|
*/
|
2009-11-20 17:39:17 +00:00
|
|
|
|
2009-10-26 06:39:59 +00:00
|
|
|
/**
|
|
|
|
* SemanticScuttle unit tests.
|
|
|
|
*
|
|
|
|
* To launch this tests, you need PHPUnit 3.
|
|
|
|
* Run them with:
|
2011-04-12 07:29:59 +00:00
|
|
|
* $ cd tests; phpunit .
|
2009-10-26 06:39:59 +00:00
|
|
|
* or single files like:
|
2011-04-12 07:29:59 +00:00
|
|
|
* $ cd tests; phpunit BookmarkTest.php
|
2009-10-26 06:39:59 +00:00
|
|
|
*
|
|
|
|
* @category Bookmarking
|
|
|
|
* @package SemanticScuttle
|
|
|
|
* @author Benjamin Huynh-Kim-Bang <mensonge@users.sourceforge.net>
|
|
|
|
* @author Christian Weiske <cweiske@cweiske.de>
|
|
|
|
* @author Eric Dane <ericdane@users.sourceforge.net>
|
|
|
|
* @license GPL http://www.gnu.org/licenses/gpl.html
|
|
|
|
* @link http://sourceforge.net/projects/semanticscuttle
|
|
|
|
*/
|
2009-10-03 23:18:49 +00:00
|
|
|
class AllTests extends PHPUnit_Framework_TestSuite
|
|
|
|
{
|
|
|
|
public static function suite()
|
|
|
|
{
|
2009-10-25 19:35:48 +00:00
|
|
|
$suite = new AllTests();
|
2009-10-03 23:18:49 +00:00
|
|
|
$tdir = dirname(__FILE__);
|
2009-10-25 19:35:48 +00:00
|
|
|
$suite->addTestFile($tdir . '/BookmarkTest.php');
|
2010-02-20 11:10:08 +00:00
|
|
|
$suite->addTestFile($tdir . '/Bookmark2TagTest.php');
|
2009-10-25 19:35:48 +00:00
|
|
|
$suite->addTestFile($tdir . '/Tag2TagTest.php');
|
|
|
|
$suite->addTestFile($tdir . '/TagsCacheTest.php');
|
|
|
|
$suite->addTestFile($tdir . '/CommonDescriptionTest.php');
|
|
|
|
$suite->addTestFile($tdir . '/SearchHistoryTest.php');
|
|
|
|
$suite->addTestFile($tdir . '/TagTest.php');
|
|
|
|
$suite->addTestFile($tdir . '/VoteTest.php');
|
2009-10-28 22:18:38 +00:00
|
|
|
$suite->addTestFile($tdir . '/UserTest.php');
|
2010-09-28 22:12:55 +00:00
|
|
|
$suite->addTestFile($tdir . '/Api/ExportCsvTest.php');
|
2011-05-21 18:36:29 +00:00
|
|
|
$suite->addTestFile($tdir . '/Api/OpenSearchTest.php');
|
2010-09-29 20:52:01 +00:00
|
|
|
$suite->addTestFile($tdir . '/Api/PostsAddTest.php');
|
2010-09-28 22:12:55 +00:00
|
|
|
$suite->addTestFile($tdir . '/Api/PostsDeleteTest.php');
|
2010-09-29 20:50:38 +00:00
|
|
|
$suite->addTestFile($tdir . '/Api/PostsUpdateTest.php');
|
2009-10-03 23:18:49 +00:00
|
|
|
return $suite;
|
|
|
|
}
|
2009-10-24 08:01:07 +00:00
|
|
|
|
2009-10-25 19:35:48 +00:00
|
|
|
|
|
|
|
|
2009-10-03 23:18:49 +00:00
|
|
|
protected function tearDown()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2011-05-21 18:36:29 +00:00
|
|
|
?>
|