Revision 6528,
502 bytes
checked in by gustavo, 12 years ago
(diff) |
Ticket #2766 - Merge do branch das novas funcionalidaes para o trunk
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[6351] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * Static test suite. |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | class All_OAuth2_Tests extends PHPUnit_Framework_TestSuite { |
---|
| 8 | |
---|
| 9 | /** |
---|
| 10 | * Constructs the test suite handler. |
---|
| 11 | */ |
---|
| 12 | public function __construct() { |
---|
| 13 | $this->setName ( 'OAuth2Suite' ); |
---|
| 14 | |
---|
| 15 | foreach (glob(__DIR__.'/*Test.php') as $filename) { |
---|
| 16 | require $filename; |
---|
| 17 | $class = basename($filename, '.php'); |
---|
| 18 | $this->addTestSuite($class); |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | /** |
---|
| 23 | * Creates the suite. |
---|
| 24 | */ |
---|
| 25 | public static function suite() { |
---|
| 26 | return new self (); |
---|
| 27 | } |
---|
| 28 | } |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.