~ubuntu-branches/ubuntu/saucy/php-soap/saucy

« back to all changes in this revision

Viewing changes to SOAP-0.13.0/tests/AllTests.php

  • Committer: Package Import Robot
  • Author(s): Prach Pongpanich
  • Date: 2013-05-08 15:21:07 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130508152107-x6a6delp9dy112zi
Tags: 0.13.0-1
* New upstream release
* Now using PKG-PHP-PEAR team as maintainer
* Add myself as uploader
* Add debian/gbp.conf file
* Add Vcs-* fields
* Switch to pkg-php-tools and rewrite debian/rules
* Drop debian/docs, upstream don't ship AUTHORS file
* Update copyright file to version 1.0 format
* Update description in debian/control
* Bump compat level to 9
* Bump Standards-Version 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * @category Web Services
 
4
 * @package SOAP
 
5
 */
 
6
 
 
7
if (!defined('PHPUnit_MAIN_METHOD')) {
 
8
    define('PHPUnit_MAIN_METHOD', 'SOAP_AllTests::main');
 
9
}
 
10
 
 
11
require_once 'PHPUnit/Framework/TestSuite.php';
 
12
require_once 'PHPUnit/TextUI/TestRunner.php';
 
13
 
 
14
 
 
15
chdir(dirname(__FILE__));
 
16
require_once 'SOAP_BugsTest.php';
 
17
 
 
18
 
 
19
class SOAP_AllTests
 
20
{
 
21
    public static function main()
 
22
    {
 
23
 
 
24
        PHPUnit_TextUI_TestRunner::run(self::suite());
 
25
    }
 
26
 
 
27
    public static function suite()
 
28
    {
 
29
        $suite = new PHPUnit_Framework_TestSuite('SOAP Tests');
 
30
        /** Add testsuites, if there is. */
 
31
        $suite->addTestSuite('SOAP_BugsTest');
 
32
 
 
33
        return $suite;
 
34
    }
 
35
}
 
36
 
 
37
if (PHPUnit_MAIN_METHOD == 'SOAP_AllTests::main') {
 
38
    SOAP_AllTests::main();
 
39
}
 
40
?>
 
 
b'\\ No newline at end of file'