ZF-8222: format class name for class checks
[zend.git] / tests / Zend / InfoCard / AllTests.php
blobc8f5eb9b2f32853774bdb3d16a65eb756e5f6924
1 <?php
2 /**
3 * Zend Framework
5 * LICENSE
7 * This source file is subject to the new BSD license that is bundled
8 * with this package in the file LICENSE.txt.
9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
15 * @category Zend
16 * @package Zend_InfoCard
17 * @subpackage UnitTests
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id$
23 require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
25 if (!defined('PHPUnit_MAIN_METHOD')) {
26 define('PHPUnit_MAIN_METHOD', 'Zend_InfoCard_AllTests::main');
29 require_once 'Zend/InfoCard/XmlParsingTest.php';
30 require_once 'Zend/InfoCard/ProcessTest.php';
31 require_once 'Zend/InfoCard/AssertionTest.php';
32 require_once 'Zend/InfoCard/CipherTest.php';
34 /**
35 * @category Zend
36 * @package Zend_InfoCard
37 * @subpackage UnitTests
38 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
39 * @license http://framework.zend.com/license/new-bsd New BSD License
40 * @group Zend_InfoCard
42 class Zend_InfoCard_AllTests
44 public static function main()
46 PHPUnit_TextUI_TestRunner::run(self::suite());
49 public static function suite()
51 $suite = new PHPUnit_Framework_TestSuite("Zend Framework - Zend_InfoCard");
53 if(extension_loaded('openssl')) {
54 $suite->addTestSuite('Zend_InfoCard_AssertionTest');
55 $suite->addTestSuite('Zend_InfoCard_ProcessTest');
56 $suite->addTestSuite('Zend_InfoCard_XmlParsingTest');
57 $suite->addTestSuite('Zend_InfoCard_CipherTest');
60 return $suite;
64 if (PHPUnit_MAIN_METHOD == 'Zend_InfoCard_AllTests::main') {
65 Zend_InfoCard_AllTests::main();