8
* This source file is subject to the new BSD license that is bundled
9
* with this package in the file LICENSE.txt.
10
* It is also available through the world-wide-web at this URL:
11
* http://framework.zend.com/license/new-bsd
12
* If you did not receive a copy of the license and are unable to
13
* obtain it through the world-wide-web, please send an email
14
* to license@zend.com so we can send you a copy immediately.
17
* @package Zend_Service_Delicious
18
* @subpackage UnitTests
19
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
20
* @license http://framework.zend.com/license/new-bsd New BSD License
21
* @version $Id: AllTests.php 11973 2008-10-15 16:00:56Z matthew $
25
if (!defined('PHPUnit_MAIN_METHOD')) {
26
define('PHPUnit_MAIN_METHOD', 'Zend_Service_Delicious_AllTests::main');
32
require_once dirname(__FILE__) . '/../../../TestHelper.php';
35
* Exclude from code coverage report
37
PHPUnit_Util_Filter::addFileToFilter(__FILE__);
42
* @package Zend_Service_Delicious
43
* @subpackage UnitTests
44
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
45
* @license http://framework.zend.com/license/new-bsd New BSD License
47
class Zend_Service_Delicious_AllTests
50
* Runs this test suite
54
public static function main()
56
PHPUnit_TextUI_TestRunner::run(self::suite());
60
* Creates and returns this test suite
62
* @return PHPUnit_Framework_TestSuite
64
public static function suite()
66
$suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service_Delicious');
68
if (!defined('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED') ||
69
!constant('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED')) {
72
* @see Zend_Service_Delicious_SkipTests
74
require_once 'Zend/Service/Delicious/SkipTests.php';
75
$suite->addTestSuite('Zend_Service_Delicious_SkipTests');
80
* @see Zend_Service_Delicious_PublicDataTest
82
require_once 'Zend/Service/Delicious/PublicDataTest.php';
83
$suite->addTestSuite('Zend_Service_Delicious_PublicDataTest');
86
* @see Zend_Service_Delicious_PrivateDataTest
88
require_once 'Zend/Service/Delicious/PrivateDataTest.php';
89
$suite->addTestSuite('Zend_Service_Delicious_PrivateDataTest');
93
* @see Zend_Service_Delicious_SimplePostTest
95
require_once 'Zend/Service/Delicious/SimplePostTest.php';
96
$suite->addTestSuite('Zend_Service_Delicious_SimplePostTest');
99
* @see Zend_Service_Delicious_PostTest
101
require_once 'Zend/Service/Delicious/PostTest.php';
102
$suite->addTestSuite('Zend_Service_Delicious_PostTest');
109
if (PHPUnit_MAIN_METHOD == 'Zend_Service_Delicious_AllTests::main') {
110
Zend_Service_Delicious_AllTests::main();