Example #1
0
require_once 'Zend/Validate/Sitemap/LastmodTest.php';
require_once 'Zend/Validate/Sitemap/LocTest.php';
require_once 'Zend/Validate/Sitemap/PriorityTest.php';
/**
 * @category   Zend
 * @package    Zend_Validate
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @group      Zend_Validate
 * @group      Zend_Validate_Sitemap
 */
class Zend_Validate_Sitemap_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Validate_Sitemap');
        $suite->addTestSuite('Zend_Validate_Sitemap_ChangefreqTest');
        $suite->addTestSuite('Zend_Validate_Sitemap_LastmodTest');
        $suite->addTestSuite('Zend_Validate_Sitemap_LocTest');
        $suite->addTestSuite('Zend_Validate_Sitemap_PriorityTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Validate_Sitemap_AllTests::main') {
    Zend_Validate_Sitemap_AllTests::main();
}
 /**
  * Creates and returns this test suite
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Validate');
     $suite->addTestSuite('Zend_Validate_AbstractTest');
     $suite->addTestSuite('Zend_Validate_AlnumTest');
     $suite->addTestSuite('Zend_Validate_AlphaTest');
     $suite->addTestSuite('Zend_Validate_BarcodeTest');
     $suite->addTestSuite('Zend_Validate_BetweenTest');
     $suite->addTestSuite('Zend_Validate_CallbackTest');
     $suite->addTestSuite('Zend_Validate_CcnumTest');
     $suite->addTestSuite('Zend_Validate_CreditCardTest');
     $suite->addTestSuite('Zend_Validate_DateTest');
     $suite->addTest(Zend_Validate_Db_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_DigitsTest');
     $suite->addTestSuite('Zend_Validate_EmailAddressTest');
     $suite->addTest(Zend_Validate_File_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_FloatTest');
     $suite->addTestSuite('Zend_Validate_GreaterThanTest');
     $suite->addTestSuite('Zend_Validate_HexTest');
     $suite->addTestSuite('Zend_Validate_HostnameTest');
     $suite->addTestSuite('Zend_Validate_IbanTest');
     $suite->addTestSuite('Zend_Validate_IdenticalTest');
     $suite->addTestSuite('Zend_Validate_InArrayTest');
     $suite->addTestSuite('Zend_Validate_IntTest');
     $suite->addTestSuite('Zend_Validate_IpTest');
     $suite->addTestSuite('Zend_Validate_IsbnTest');
     $suite->addTestSuite('Zend_Validate_LessThanTest');
     $suite->addTestSuite('Zend_Validate_MessageTest');
     $suite->addTestSuite('Zend_Validate_NotEmptyTest');
     $suite->addTestSuite('Zend_Validate_PostCodeTest');
     $suite->addTestSuite('Zend_Validate_RegexTest');
     $suite->addTest(Zend_Validate_Sitemap_AllTests::suite());
     $suite->addTestSuite('Zend_Validate_StringLengthTest');
     return $suite;
 }