pictcode / app / Plugin / Recaptcha / Test / Case / AllRecaptchaTest.php @ 48ae03cf
履歴 | 表示 | アノテート | ダウンロード (904 Bytes)
| 1 |
<?php
|
|---|---|
| 2 |
/**
|
| 3 |
* Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com)
|
| 4 |
*
|
| 5 |
* Licensed under The MIT License
|
| 6 |
* Redistributions of files must retain the above copyright notice.
|
| 7 |
*
|
| 8 |
* @copyright Copyright 2010 - 2014, Cake Development Corporation (http://cakedc.com)
|
| 9 |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
| 10 |
*/
|
| 11 |
|
| 12 |
class AllRecaptchaTest extends PHPUnit_Framework_TestSuite { |
| 13 |
|
| 14 |
/**
|
| 15 |
* Suite define the tests for this suite
|
| 16 |
*
|
| 17 |
* @return void
|
| 18 |
*/
|
| 19 |
public static function suite() { |
| 20 |
$Suite = new CakeTestSuite('All Recaptcha Plugin tests'); |
| 21 |
$basePath = CakePlugin::path('Recaptcha') . DS . 'Test' . DS . 'Case' . DS; |
| 22 |
$Suite->addTestDirectory($basePath . DS . 'View' . DS . 'Helper'); |
| 23 |
$Suite->addTestDirectory($basePath . DS . 'Model' . DS . 'Behavior'); |
| 24 |
$Suite->addTestDirectory($basePath . DS . 'Controller' . DS . 'Component'); |
| 25 |
return $Suite; |
| 26 |
} |
| 27 |
|
| 28 |
} |