Services_Yahoo
[ class tree: Services_Yahoo ] [ index: Services_Yahoo ] [ all elements ]

Source for file All.php

Documentation is available at All.php

  1. <?php
  2. /**
  3.  * Services_Yahoo Test Suite
  4.  *
  5.  * Copyright 2005-2006 Martin Jansen
  6.  *
  7.  * Licensed under the Apache License, Version 2.0 (the "License");
  8.  * you may not use this file except in compliance with the License.
  9.  * You may obtain a copy of the License at
  10.  *
  11.  *     http://www.apache.org/licenses/LICENSE-2.0
  12.  *
  13.  * Unless required by applicable law or agreed to in writing, software
  14.  * distributed under the License is distributed on an "AS IS" BASIS,
  15.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16.  * See the License for the specific language governing permissions and
  17.  * limitations under the License.
  18.  *
  19.  * @category   Services
  20.  * @package    Services_Yahoo
  21.  * @author     Martin Jansen <mj@php.net>
  22.  * @copyright  2005-2006 Martin Jansen
  23.  * @license    http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
  24.  * @version    CVS: $Id: All.php,v 1.2 2006/10/04 16:34:05 mj Exp $
  25.  * @link       http://pear.php.net/package/Services_Yahoo
  26.  */
  27.  
  28. if (!defined("PHPUnit_MAIN_METHOD")) {
  29.     define("PHPUnit_MAIN_NETHOD""Services_Yahoo_Tests_All::main");
  30. }
  31.  
  32. require_once "PHPUnit/Framework/TestSuite.php";
  33. require_once "PHPUnit/TextUI/TestRunner.php";
  34.  
  35. require_once "Services/Yahoo/Tests/Search.php";
  36. require_once "Services/Yahoo/Tests/Exception.php";
  37.  
  38. /**
  39.  * @category   Services
  40.  * @package    Services_Yahoo
  41.  * @author     Martin Jansen <mj@php.net>
  42.  * @copyright  2005-2006 Martin Jansen
  43.  * @license    http://www.apache.org/licenses/LICENSE-2.0  Apache License, Version 2.0
  44.  * @version    CVS: $Id: All.php,v 1.2 2006/10/04 16:34:05 mj Exp $
  45.  */
  46.     public static function main()
  47.     {
  48.         PHPUnit_TextUI_TestRunner::run(self::suite());
  49.     }
  50.  
  51.     public static function suite()
  52.     {
  53.         $suite = new PHPUnit_Framework_testSuite("Services_Yahoo");
  54.  
  55.         $suite->addTestSuite("Services_Yahoo_Tests_Search");
  56.         $suite->addTestSuite("Services_Yahoo_Tests_Exception");
  57.  
  58.         return $suite;
  59.     }
  60. }
  61.  
  62. if (PHPUnit_MAIN_METHOD == "Services_Yahoo_Tests_All::main"{
  63. }

Documentation generated on Fri, 20 Apr 2007 14:30:05 -0400 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.