public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Mobile_Push'); $suite->addTest(Zend_Mobile_Push_Message_AllTests::suite()); $suite->addTestSuite('Zend_Mobile_Push_AbstractTest'); $suite->addTestSuite('Zend_Mobile_Push_ApnsTest'); $suite->addTestSuite('Zend_Mobile_Push_GcmTest'); $suite->addTestSuite('Zend_Mobile_Push_MpnsTest'); return $suite; }
require_once 'Zend/Mobile/Push/Message/Mpns/AllTests.php'; require_once 'Zend/Mobile/Push/Message/AbstractTest.php'; require_once 'Zend/Mobile/Push/Message/ApnsTest.php'; require_once 'Zend/Mobile/Push/Message/GcmTest.php'; /** * @category Zend * @package Zend_Mobile_Push_Message * @subpackage UnitTests * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @group Zend_Mobile */ class Zend_Mobile_Push_Message_AllTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Mobile_Push_Message'); $suite->addTest(Zend_Mobile_Push_Message_Mpns_AllTests::suite()); $suite->addTestSuite('Zend_Mobile_Push_Message_AbstractTest'); $suite->addTestSuite('Zend_Mobile_Push_Message_ApnsTest'); $suite->addTestSuite('Zend_Mobile_Push_Message_GcmTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Zend_Mobile_Push_Message_AllTests::main') { Zend_Mobile_Push_Message_AllTests::main(); }