[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/tests/soap/ -> AllTests.php (source)

   1  <?php
   2  # Mantis - a php based bugtracking system
   3  
   4  # Mantis is free software: you can redistribute it and/or modify
   5  # it under the terms of the GNU General Public License as published by
   6  # the Free Software Foundation, either version 2 of the License, or
   7  # (at your option) any later version.
   8  #
   9  # Mantis is distributed in the hope that it will be useful,
  10  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  # GNU General Public License for more details.
  13  #
  14  # You should have received a copy of the GNU General Public License
  15  # along with Mantis.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * @package Tests
  19   * @subpackage UnitTests
  20   * @copyright Copyright (C) 2002 - 2011  MantisBT Team   - mantisbt-dev@lists.sourceforge.net
  21   * @link http://www.mantisbt.org
  22   */
  23  
  24  /**
  25   * Test config
  26   */
  27  require_once dirname(__FILE__) . '/../TestConfig.php';
  28  
  29  require_once  'EnumTest.php';
  30  require_once  'IssueAddTest.php';
  31  require_once  'IssueMonitorTest.php';
  32  require_once  'IssueNoteTest.php';
  33  require_once  'IssueUpdateTest.php';
  34  require_once  'FilterTest.php';
  35  require_once  'AttachmentTest.php';
  36  require_once  'LoginTest.php';
  37  require_once  'CategoryTest.php';
  38  require_once  'CompressionTest.php';
  39  require_once  'ProjectTest.php';
  40  require_once  'VersionTest.php';
  41  require_once  'RelationshipTest.php';
  42  require_once  'UserTest.php';
  43  
  44  /**
  45   * @package    Tests
  46   * @subpackage UnitTests
  47   * @copyright Copyright (C) 2002 - 2011  MantisBT Team   - mantisbt-dev@lists.sourceforge.net
  48   * @link http://www.mantisbt.org
  49   */
  50  class Soap_AllTests extends PHPUnit_Framework_TestSuite
  51  {
  52      protected function setUp()
  53      {
  54          if ( ! extension_loaded('soap') ) {
  55              $this->markTestSuiteSkipped(
  56                      'The SOAP extension is not available.'
  57                      );
  58          }
  59  
  60      }
  61  
  62      public static function suite()
  63      {
  64          $suite = new Soap_AllTests('SOAP Interface');
  65  
  66          $suite->addTestSuite('EnumTest');
  67          $suite->addTestSuite('IssueAddTest');
  68          $suite->addTestSuite('IssueMonitorTest');
  69          $suite->addTestSuite('IssueNoteTest');
  70          $suite->addTestSuite('IssueUpdateTest');
  71          $suite->addTestSuite('FilterTest');
  72          $suite->addTestSuite('AttachmentTest');
  73          $suite->addTestSuite('LoginTest');
  74          $suite->addTestSuite('CategoryTest');
  75          $suite->addTestSuite('CompressionTest');
  76          $suite->addTestSuite('ProjectTest');
  77          $suite->addTestSuite('VersionTest');
  78          $suite->addTestSuite('RelationshipTest');
  79          $suite->addTestSuite('UserTest');
  80  
  81          return $suite;
  82      }
  83  }


Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7