mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removed the @access and @static.
This commit is contained in:
parent
db80fe27e1
commit
9bc3e567c1
276 changed files with 0 additions and 2712 deletions
|
@ -470,8 +470,6 @@ class Cache {
|
|||
* @param string $name Name of the configuration to get settings for. Defaults to 'default'
|
||||
* @return array list of settings for this engine
|
||||
* @see Cache::config()
|
||||
* @access public
|
||||
* @static
|
||||
*/
|
||||
public static function settings($name = 'default') {
|
||||
if (!empty(self::$_engines[$name])) {
|
||||
|
@ -492,7 +490,6 @@ abstract class CacheEngine {
|
|||
* Settings of current engine instance
|
||||
*
|
||||
* @var int
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array();
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ class FileEngine extends CacheEngine {
|
|||
* Instance of SplFileObject class
|
||||
*
|
||||
* @var _File
|
||||
* @access protected
|
||||
*/
|
||||
protected $_File = null;
|
||||
|
||||
|
@ -45,7 +44,6 @@ class FileEngine extends CacheEngine {
|
|||
*
|
||||
* @var array
|
||||
* @see CacheEngine::__defaults
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array();
|
||||
|
||||
|
@ -53,7 +51,6 @@ class FileEngine extends CacheEngine {
|
|||
* True unless FileEngine::__active(); fails
|
||||
*
|
||||
* @var boolean
|
||||
* @access protected
|
||||
*/
|
||||
protected $_init = true;
|
||||
|
||||
|
@ -274,7 +271,6 @@ class FileEngine extends CacheEngine {
|
|||
* @param string $key The key
|
||||
* @param boolean $createKey Whether the key should be created if it doesn't exists, or not
|
||||
* @return boolean true if the cache key could be set, false otherwise
|
||||
* @access protected
|
||||
*/
|
||||
protected function _setKey($key, $createKey = false) {
|
||||
$path = new SplFileInfo($this->settings['path'] . $key);
|
||||
|
@ -295,7 +291,6 @@ class FileEngine extends CacheEngine {
|
|||
* Determine is cache directory is writable
|
||||
*
|
||||
* @return boolean
|
||||
* @access protected
|
||||
*/
|
||||
protected function _active() {
|
||||
$dir = new SplFileInfo($this->settings['path']);
|
||||
|
|
|
@ -31,7 +31,6 @@ class MemcacheEngine extends CacheEngine {
|
|||
* Memcache wrapper.
|
||||
*
|
||||
* @var Memcache
|
||||
* @access private
|
||||
*/
|
||||
protected $_Memcache = null;
|
||||
|
||||
|
@ -43,7 +42,6 @@ class MemcacheEngine extends CacheEngine {
|
|||
* - compress = boolean, default => false
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array();
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ class XcacheEngine extends CacheEngine {
|
|||
* - PHP_AUTH_PW = xcache.admin.password, default cake
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array();
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ class BakeTask extends Shell {
|
|||
* Name of plugin
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $plugin = null;
|
||||
|
||||
|
@ -34,7 +33,6 @@ class BakeTask extends Shell {
|
|||
* The db connection being used for baking
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $connection = null;
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@ class Shell extends Object {
|
|||
* If true, the script will ask for permission to perform actions.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $interactive = true;
|
||||
|
||||
|
@ -56,7 +55,6 @@ class Shell extends Object {
|
|||
* Contains command switches parsed from the command line.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $params = array();
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ class PagesController extends AppController {
|
|||
* Controller name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Pages';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class PagesController extends AppController {
|
|||
* Default helper
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $helpers = array('Html');
|
||||
|
||||
|
@ -48,7 +46,6 @@ class PagesController extends AppController {
|
|||
* This controller does not use a model
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
@ -56,7 +53,6 @@ class PagesController extends AppController {
|
|||
* Displays a view
|
||||
*
|
||||
* @param mixed What page to display
|
||||
* @access public
|
||||
*/
|
||||
public function display() {
|
||||
$path = func_get_args();
|
||||
|
|
|
@ -37,7 +37,6 @@ class AclComponent extends Component {
|
|||
* Instance of an ACL class
|
||||
*
|
||||
* @var object
|
||||
* @access protected
|
||||
*/
|
||||
protected $_Instance = null;
|
||||
|
||||
|
@ -528,7 +527,6 @@ class IniAcl extends Object implements AclInterface {
|
|||
* Array with configuration, parsed from ini file
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $config = null;
|
||||
|
||||
|
|
|
@ -687,7 +687,6 @@ class AuthComponent extends Component {
|
|||
* Check whether or not the current user has data in the session, and is considered logged in.
|
||||
*
|
||||
* @return boolean true if the user is logged in, false otherwise
|
||||
* @access public
|
||||
*/
|
||||
public function loggedIn() {
|
||||
return $this->user() != array();
|
||||
|
|
|
@ -38,7 +38,6 @@ class CookieComponent extends Component {
|
|||
* $this->Cookie->name = 'CookieName';
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'CakeCookie';
|
||||
|
||||
|
@ -51,7 +50,6 @@ class CookieComponent extends Component {
|
|||
* $this->Cookie->time = '5 Days';
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $time = null;
|
||||
|
||||
|
@ -67,7 +65,6 @@ class CookieComponent extends Component {
|
|||
* The default value is the entire domain.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $path = '/';
|
||||
|
||||
|
@ -83,7 +80,6 @@ class CookieComponent extends Component {
|
|||
* Set $this->Cookie->domain = '.example.com'; in your controller beforeFilter
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $domain = '';
|
||||
|
||||
|
@ -97,7 +93,6 @@ class CookieComponent extends Component {
|
|||
* When set to true, the cookie will only be set if a secure connection exists.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $secure = false;
|
||||
|
||||
|
@ -108,7 +103,6 @@ class CookieComponent extends Component {
|
|||
* $this->Cookie->key = 'SomeRandomString';
|
||||
*
|
||||
* @var string
|
||||
* @access protected
|
||||
*/
|
||||
public $key = null;
|
||||
|
||||
|
@ -129,7 +123,6 @@ class CookieComponent extends Component {
|
|||
*
|
||||
* @see CookieComponent::read();
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
protected $_values = array();
|
||||
|
||||
|
@ -140,7 +133,6 @@ class CookieComponent extends Component {
|
|||
* Defaults to Security::cipher();
|
||||
*
|
||||
* @var string
|
||||
* @access private
|
||||
* @todo add additional encryption methods
|
||||
*/
|
||||
protected $_type = 'cipher';
|
||||
|
@ -149,7 +141,6 @@ class CookieComponent extends Component {
|
|||
* Used to reset cookie time if $expire is passed to CookieComponent::write()
|
||||
*
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
protected $_reset = null;
|
||||
|
||||
|
@ -159,7 +150,6 @@ class CookieComponent extends Component {
|
|||
* This is controlled by CookieComponent::time;
|
||||
*
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
protected $_expires = 0;
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ class EmailComponent extends Component {
|
|||
* Recipient of the email
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $to = null;
|
||||
|
||||
|
@ -45,7 +44,6 @@ class EmailComponent extends Component {
|
|||
* The mail which the email is sent from
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $from = null;
|
||||
|
||||
|
@ -53,7 +51,6 @@ class EmailComponent extends Component {
|
|||
* The email the recipient will reply to
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $replyTo = null;
|
||||
|
||||
|
@ -61,7 +58,6 @@ class EmailComponent extends Component {
|
|||
* The read receipt email
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $readReceipt = null;
|
||||
|
||||
|
@ -72,7 +68,6 @@ class EmailComponent extends Component {
|
|||
* - Unknown user
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $return = null;
|
||||
|
||||
|
@ -83,7 +78,6 @@ class EmailComponent extends Component {
|
|||
* The Recipient WILL be able to see this list
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $cc = array();
|
||||
|
||||
|
@ -94,7 +88,6 @@ class EmailComponent extends Component {
|
|||
* The Recipient WILL NOT be able to see this list
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $bcc = array();
|
||||
|
||||
|
@ -111,7 +104,6 @@ class EmailComponent extends Component {
|
|||
* The subject of the email
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $subject = null;
|
||||
|
||||
|
@ -120,7 +112,6 @@ class EmailComponent extends Component {
|
|||
* Keys will be prefixed 'X-' as per RFC2822 Section 4.7.5
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $headers = array();
|
||||
|
||||
|
@ -130,7 +121,6 @@ class EmailComponent extends Component {
|
|||
* These will NOT be used if you are using safemode and mail()
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $additionalParams = null;
|
||||
|
||||
|
@ -138,7 +128,6 @@ class EmailComponent extends Component {
|
|||
* Layout for the View
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $layout = 'default';
|
||||
|
||||
|
@ -146,7 +135,6 @@ class EmailComponent extends Component {
|
|||
* Template for the view
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $template = null;
|
||||
|
||||
|
@ -158,7 +146,6 @@ class EmailComponent extends Component {
|
|||
* (which leads to doubling CR if CRLF is used).
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $lineFeed = PHP_EOL;
|
||||
|
||||
|
@ -171,7 +158,6 @@ class EmailComponent extends Component {
|
|||
* - both
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $sendAs = 'text';
|
||||
|
||||
|
@ -184,7 +170,6 @@ class EmailComponent extends Component {
|
|||
* - debug
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $delivery = 'mail';
|
||||
|
||||
|
@ -192,7 +177,6 @@ class EmailComponent extends Component {
|
|||
* charset the email is sent in
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $charset = 'utf-8';
|
||||
|
||||
|
@ -202,7 +186,6 @@ class EmailComponent extends Component {
|
|||
* Can be both absolute and relative paths
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $attachments = array();
|
||||
|
||||
|
@ -210,7 +193,6 @@ class EmailComponent extends Component {
|
|||
* What mailer should EmailComponent identify itself as
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $xMailer = 'CakePHP Email Component';
|
||||
|
||||
|
@ -218,7 +200,6 @@ class EmailComponent extends Component {
|
|||
* The list of paths to search if an attachment isnt absolute
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $filePaths = array();
|
||||
|
||||
|
@ -234,7 +215,6 @@ class EmailComponent extends Component {
|
|||
* - client
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP
|
||||
*/
|
||||
public $smtpOptions = array();
|
||||
|
@ -243,7 +223,6 @@ class EmailComponent extends Component {
|
|||
* Contains the rendered plain text message if one was sent.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $textMessage = null;
|
||||
|
||||
|
@ -251,7 +230,6 @@ class EmailComponent extends Component {
|
|||
* Contains the rendered HTML message if one was sent.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $htmlMessage = null;
|
||||
|
||||
|
@ -265,7 +243,6 @@ class EmailComponent extends Component {
|
|||
* could encounter delivery issues if you do not.
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $messageId = true;
|
||||
|
||||
|
@ -429,7 +406,6 @@ class EmailComponent extends Component {
|
|||
*
|
||||
* @param string $attachment Attachment file name to find
|
||||
* @return string Path to located file
|
||||
* @access private
|
||||
*/
|
||||
function _findFiles($attachment) {
|
||||
if (file_exists($attachment)) {
|
||||
|
@ -449,7 +425,6 @@ class EmailComponent extends Component {
|
|||
*
|
||||
* @param string $subject String to encode
|
||||
* @return string Encoded string
|
||||
* @access private
|
||||
*/
|
||||
function _encode($subject) {
|
||||
$subject = $this->_strip($subject);
|
||||
|
@ -496,7 +471,6 @@ class EmailComponent extends Component {
|
|||
* @param string $value Value to strip
|
||||
* @param boolean $message Set to true to indicate main message content
|
||||
* @return string Stripped value
|
||||
* @access private
|
||||
*/
|
||||
function _strip($value, $message = false) {
|
||||
$search = '%0a|%0d|Content-(?:Type|Transfer-Encoding)\:';
|
||||
|
|
|
@ -174,7 +174,6 @@ class RequestHandlerComponent extends Component {
|
|||
*
|
||||
* @param string $xml
|
||||
* @return array Xml array data
|
||||
* @access protected
|
||||
*/
|
||||
public function _convertXml($xml) {
|
||||
try {
|
||||
|
|
|
@ -33,7 +33,6 @@ class SecurityComponent extends Component {
|
|||
* The controller method that will be called if this request is black-hole'd
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $blackHoleCallback = null;
|
||||
|
||||
|
@ -41,7 +40,6 @@ class SecurityComponent extends Component {
|
|||
* List of controller actions for which a POST request is required
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requirePost()
|
||||
*/
|
||||
public $requirePost = array();
|
||||
|
@ -50,7 +48,6 @@ class SecurityComponent extends Component {
|
|||
* List of controller actions for which a GET request is required
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireGet()
|
||||
*/
|
||||
public $requireGet = array();
|
||||
|
@ -59,7 +56,6 @@ class SecurityComponent extends Component {
|
|||
* List of controller actions for which a PUT request is required
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requirePut()
|
||||
*/
|
||||
public $requirePut = array();
|
||||
|
@ -68,7 +64,6 @@ class SecurityComponent extends Component {
|
|||
* List of controller actions for which a DELETE request is required
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireDelete()
|
||||
*/
|
||||
public $requireDelete = array();
|
||||
|
@ -77,7 +72,6 @@ class SecurityComponent extends Component {
|
|||
* List of actions that require an SSL-secured connection
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireSecure()
|
||||
*/
|
||||
public $requireSecure = array();
|
||||
|
@ -86,7 +80,6 @@ class SecurityComponent extends Component {
|
|||
* List of actions that require a valid authentication key
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireAuth()
|
||||
*/
|
||||
public $requireAuth = array();
|
||||
|
@ -96,7 +89,6 @@ class SecurityComponent extends Component {
|
|||
* requests.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireAuth()
|
||||
*/
|
||||
public $allowedControllers = array();
|
||||
|
@ -106,7 +98,6 @@ class SecurityComponent extends Component {
|
|||
* requests.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @see SecurityComponent::requireAuth()
|
||||
*/
|
||||
public $allowedActions = array();
|
||||
|
@ -135,7 +126,6 @@ class SecurityComponent extends Component {
|
|||
* services, etc.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $validatePost = true;
|
||||
|
||||
|
@ -171,7 +161,6 @@ class SecurityComponent extends Component {
|
|||
* Other components used by the Security component
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Session');
|
||||
|
||||
|
@ -291,7 +280,6 @@ class SecurityComponent extends Component {
|
|||
* @param object $controller Instantiating controller
|
||||
* @param string $error Error method
|
||||
* @return mixed If specified, controller blackHoleCallback's response, or no return otherwise
|
||||
* @access public
|
||||
* @see SecurityComponent::$blackHoleCallback
|
||||
* @link http://book.cakephp.org/view/1307/blackHole-object-controller-string-error
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,6 @@ class PagesController extends AppController {
|
|||
* Controller name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Pages';
|
||||
|
||||
|
@ -43,7 +42,6 @@ class PagesController extends AppController {
|
|||
* Default helper
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $helpers = array('Html', 'Session');
|
||||
|
||||
|
@ -51,7 +49,6 @@ class PagesController extends AppController {
|
|||
* This controller does not use a model
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ class Scaffold {
|
|||
* valid session.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
protected $_validSession = null;
|
||||
|
||||
|
@ -86,7 +85,6 @@ class Scaffold {
|
|||
* List of variables to collect from the associated controller
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__passedVars = array(
|
||||
'layout', 'name', 'viewPath', 'request'
|
||||
|
@ -96,7 +94,6 @@ class Scaffold {
|
|||
* Title HTML element for current scaffolded view
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $scaffoldTitle = null;
|
||||
|
||||
|
|
|
@ -803,7 +803,6 @@ class App {
|
|||
* @param string $name unique name for this map
|
||||
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
private static function __map($file, $name, $plugin = null) {
|
||||
if ($plugin) {
|
||||
|
@ -822,7 +821,6 @@ class App {
|
|||
* @param string $name unique name
|
||||
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
||||
* @return mixed, file path if found, false otherwise
|
||||
* @access private
|
||||
*/
|
||||
private static function __mapped($name, $plugin = null) {
|
||||
if ($plugin) {
|
||||
|
|
|
@ -140,7 +140,6 @@ class ExceptionRenderer {
|
|||
*
|
||||
* @param Exception $exception The exception to get a controller for.
|
||||
* @return Controller
|
||||
* @access protected
|
||||
*/
|
||||
protected function _getController($exception) {
|
||||
App::uses('CakeErrorController', 'Controller');
|
||||
|
|
|
@ -29,7 +29,6 @@ class L10n {
|
|||
* The language for current locale
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $language = 'English (United States)';
|
||||
|
||||
|
@ -37,7 +36,6 @@ class L10n {
|
|||
* Locale search paths
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $languagePath = array('eng');
|
||||
|
||||
|
@ -45,7 +43,6 @@ class L10n {
|
|||
* ISO 639-3 for current locale
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $lang = 'eng';
|
||||
|
||||
|
@ -53,7 +50,6 @@ class L10n {
|
|||
* Locale
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $locale = 'en_us';
|
||||
|
||||
|
@ -63,7 +59,6 @@ class L10n {
|
|||
* DEFAULT_LANGUAGE is defined in an application this will be set as a fall back
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $default = null;
|
||||
|
||||
|
@ -71,7 +66,6 @@ class L10n {
|
|||
* Encoding used for current locale
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $charset = 'utf-8';
|
||||
|
||||
|
@ -79,7 +73,6 @@ class L10n {
|
|||
* Text direction for current locale
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $direction = 'ltr';
|
||||
|
||||
|
@ -87,7 +80,6 @@ class L10n {
|
|||
* Set to true if a locale is found
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $found = false;
|
||||
|
||||
|
@ -95,7 +87,6 @@ class L10n {
|
|||
* Maps ISO 639-3 to I10n::__l10nCatalog
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__l10nMap = array(/* Afrikaans */ 'afr' => 'af',
|
||||
/* Albanian */ 'alb' => 'sq',
|
||||
|
@ -182,7 +173,6 @@ class L10n {
|
|||
* holds all information related to a language
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__l10nCatalog = array('af' => array('language' => 'Afrikaans', 'locale' => 'afr', 'localeFallback' => 'afr', 'charset' => 'utf-8', 'direction' => 'ltr'),
|
||||
'ar' => array('language' => 'Arabic', 'locale' => 'ara', 'localeFallback' => 'ara', 'charset' => 'utf-8', 'direction' => 'rtl'),
|
||||
|
@ -404,7 +394,6 @@ class L10n {
|
|||
* Attempts to find the locale settings based on the HTTP_ACCEPT_LANGUAGE variable
|
||||
*
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
private function __autoLanguage() {
|
||||
$_detectableLanguages = CakeRequest::acceptLanguage();
|
||||
|
|
|
@ -33,7 +33,6 @@ class AclNode extends AppModel {
|
|||
* Explicitly disable in-memory query caching for ACL models
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $cacheQueries = false;
|
||||
|
||||
|
@ -41,7 +40,6 @@ class AclNode extends AppModel {
|
|||
* ACL models use the Tree behavior
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $actsAs = array('Tree' => array('nested'));
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ class Aco extends AclNode {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Aco';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class Aco extends AclNode {
|
|||
* Binds to ARO nodes through permissions settings
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
|
||||
}
|
|
@ -34,7 +34,6 @@ class AcoAction extends AppModel {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AcoAction';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class AcoAction extends AppModel {
|
|||
* ACO Actions belong to ACOs
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('Aco');
|
||||
}
|
|
@ -32,7 +32,6 @@ class Aro extends AclNode {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Aro';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class Aro extends AclNode {
|
|||
* AROs are linked to ACOs by means of Permission
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
|
||||
}
|
||||
|
|
|
@ -32,7 +32,6 @@ class ContainableBehavior extends ModelBehavior {
|
|||
* Types of relationships available for models
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
public $types = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
||||
|
||||
|
@ -40,7 +39,6 @@ class ContainableBehavior extends ModelBehavior {
|
|||
* Runtime configuration for this behavior
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
public $runtime = array();
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ class TreeBehavior extends ModelBehavior {
|
|||
* Defaults
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_defaults = array(
|
||||
'parent' => 'parent_id', 'left' => 'lft', 'right' => 'rght',
|
||||
|
|
|
@ -34,7 +34,6 @@ class BehaviorCollection extends ObjectCollection {
|
|||
* Stores a reference to the attached name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $modelName = null;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ class CakeSchema extends Object {
|
|||
* Name of the schema
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = null;
|
||||
|
||||
|
@ -39,7 +38,6 @@ class CakeSchema extends Object {
|
|||
* Path to write location
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $path = null;
|
||||
|
||||
|
@ -47,7 +45,6 @@ class CakeSchema extends Object {
|
|||
* File to write
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $file = 'schema.php';
|
||||
|
||||
|
@ -55,7 +52,6 @@ class CakeSchema extends Object {
|
|||
* Connection used for read
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $connection = 'default';
|
||||
|
||||
|
@ -70,7 +66,6 @@ class CakeSchema extends Object {
|
|||
* Set of tables
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $tables = array();
|
||||
|
||||
|
@ -532,7 +527,6 @@ class CakeSchema extends Object {
|
|||
* @param array $array2 Corresponding array checked for equality
|
||||
* @return array Difference as array with array(keys => values) from input array
|
||||
* where match was not found.
|
||||
* @access protected
|
||||
*/
|
||||
protected function _arrayDiffAssoc($array1, $array2) {
|
||||
$difference = array();
|
||||
|
|
|
@ -32,7 +32,6 @@ class ConnectionManager {
|
|||
* Holds a loaded instance of the Connections object
|
||||
*
|
||||
* @var DATABASE_CONFIG
|
||||
* @access public
|
||||
*/
|
||||
public static $config = null;
|
||||
|
||||
|
@ -40,7 +39,6 @@ class ConnectionManager {
|
|||
* Holds instances DataSource objects
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected static $_dataSources = array();
|
||||
|
||||
|
@ -48,7 +46,6 @@ class ConnectionManager {
|
|||
* Contains a list of all file and class names used in Connection settings
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected static $_connectionsEnum = array();
|
||||
|
||||
|
|
|
@ -284,7 +284,6 @@ class CakeSession {
|
|||
*
|
||||
* @param integer $errorNumber Error to set
|
||||
* @return string Error as string
|
||||
* @access private
|
||||
*/
|
||||
private static function __error($errorNumber) {
|
||||
if (!is_array(self::$error) || !array_key_exists($errorNumber, self::$error)) {
|
||||
|
@ -680,7 +679,6 @@ class CakeSession {
|
|||
* @param integer $errorNumber Number of the error
|
||||
* @param string $errorMessage Description of the error
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
private static function __setError($errorNumber, $errorMessage) {
|
||||
if (self::$error === false) {
|
||||
|
|
|
@ -28,7 +28,6 @@ class DataSource extends Object {
|
|||
* Are we connected to the DataSource?
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $connected = false;
|
||||
|
||||
|
@ -36,7 +35,6 @@ class DataSource extends Object {
|
|||
* The default configuration of a specific DataSource
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_baseConfig = array();
|
||||
|
||||
|
@ -44,7 +42,6 @@ class DataSource extends Object {
|
|||
* Holds references to descriptions loaded by the DataSource
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__descriptions = array();
|
||||
|
||||
|
@ -52,7 +49,6 @@ class DataSource extends Object {
|
|||
* Holds a list of sources (tables) contained in the DataSource
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_sources = null;
|
||||
|
||||
|
@ -60,7 +56,6 @@ class DataSource extends Object {
|
|||
* The DataSource configuration
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $config = array();
|
||||
|
||||
|
@ -68,7 +63,6 @@ class DataSource extends Object {
|
|||
* Whether or not this DataSource is in the middle of a transaction
|
||||
*
|
||||
* @var boolean
|
||||
* @access protected
|
||||
*/
|
||||
protected $_transactionStarted = false;
|
||||
|
||||
|
@ -77,7 +71,6 @@ class DataSource extends Object {
|
|||
* should be cached
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $cacheSources = true;
|
||||
|
||||
|
@ -294,7 +287,6 @@ class DataSource extends Object {
|
|||
* @param string $object The name of the object (model) to cache
|
||||
* @param mixed $data The description of the model, usually a string or array
|
||||
* @return mixed
|
||||
* @access private
|
||||
*/
|
||||
function __cacheDescription($object, $data = null) {
|
||||
if ($this->cacheSources === false) {
|
||||
|
|
|
@ -74,7 +74,6 @@ class Mysql extends DboSource {
|
|||
* use alias for update and delete. Set to true if version >= 4.1
|
||||
*
|
||||
* @var boolean
|
||||
* @access protected
|
||||
*/
|
||||
protected $_useAlias = true;
|
||||
|
||||
|
@ -82,7 +81,6 @@ class Mysql extends DboSource {
|
|||
* Index of basic SQL commands
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_commands = array(
|
||||
'begin' => 'START TRANSACTION',
|
||||
|
@ -94,7 +92,6 @@ class Mysql extends DboSource {
|
|||
* List of engine specific additional field parameters used on table creating
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fieldParameters = array(
|
||||
'charset' => array('value' => 'CHARACTER SET', 'quote' => false, 'join' => ' ', 'column' => false, 'position' => 'beforeDefault'),
|
||||
|
@ -106,7 +103,6 @@ class Mysql extends DboSource {
|
|||
* List of table engine specific parameters used on table creating
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $tableParameters = array(
|
||||
'charset' => array('value' => 'DEFAULT CHARSET', 'quote' => false, 'join' => '=', 'column' => 'charset'),
|
||||
|
|
|
@ -30,7 +30,6 @@ class DboOracle extends DboSource {
|
|||
* Configuration options
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $config = array();
|
||||
|
||||
|
@ -57,7 +56,6 @@ class DboOracle extends DboSource {
|
|||
* Column definitions
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $columns = array(
|
||||
'primary_key' => array('name' => ''),
|
||||
|
@ -78,7 +76,6 @@ class DboOracle extends DboSource {
|
|||
* Connection object
|
||||
*
|
||||
* @var mixed
|
||||
* @access protected
|
||||
*/
|
||||
public $connection;
|
||||
|
||||
|
@ -86,7 +83,6 @@ class DboOracle extends DboSource {
|
|||
* Query limit
|
||||
*
|
||||
* @var int
|
||||
* @access protected
|
||||
*/
|
||||
protected $_limit = -1;
|
||||
|
||||
|
@ -94,7 +90,6 @@ class DboOracle extends DboSource {
|
|||
* Query offset
|
||||
*
|
||||
* @var int
|
||||
* @access protected
|
||||
*/
|
||||
protected $_offset = 0;
|
||||
|
||||
|
@ -102,7 +97,6 @@ class DboOracle extends DboSource {
|
|||
* Enter description here...
|
||||
*
|
||||
* @var unknown_type
|
||||
* @access protected
|
||||
*/
|
||||
protected $_map;
|
||||
|
||||
|
@ -110,7 +104,6 @@ class DboOracle extends DboSource {
|
|||
* Current Row
|
||||
*
|
||||
* @var mixed
|
||||
* @access protected
|
||||
*/
|
||||
protected $_currentRow;
|
||||
|
||||
|
@ -118,7 +111,6 @@ class DboOracle extends DboSource {
|
|||
* Number of rows
|
||||
*
|
||||
* @var int
|
||||
* @access protected
|
||||
*/
|
||||
protected $_numRows;
|
||||
|
||||
|
@ -126,7 +118,6 @@ class DboOracle extends DboSource {
|
|||
* Query results
|
||||
*
|
||||
* @var mixed
|
||||
* @access protected
|
||||
*/
|
||||
protected $_results;
|
||||
|
||||
|
@ -444,7 +435,6 @@ class DboOracle extends DboSource {
|
|||
*
|
||||
* @param string $table
|
||||
* @return mixed
|
||||
* @access public
|
||||
*/
|
||||
public function createTrigger($table) {
|
||||
$sql = "CREATE OR REPLACE TRIGGER pk_$table" . "_trigger BEFORE INSERT ON $table FOR EACH ROW BEGIN SELECT pk_$table.NEXTVAL INTO :NEW.ID FROM DUAL; END;";
|
||||
|
@ -526,7 +516,6 @@ class DboOracle extends DboSource {
|
|||
* @param integer $reset If -1, sequences are dropped, if 0 (default), sequences are reset,
|
||||
* and if 1, sequences are not modified
|
||||
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
||||
* @access public
|
||||
*
|
||||
*/
|
||||
public function truncate($table, $reset = 0) {
|
||||
|
|
|
@ -32,7 +32,6 @@ class Postgres extends DboSource {
|
|||
* Driver description
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $description = "PostgreSQL DBO Driver";
|
||||
|
||||
|
@ -40,7 +39,6 @@ class Postgres extends DboSource {
|
|||
* Index of basic SQL commands
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_commands = array(
|
||||
'begin' => 'BEGIN',
|
||||
|
@ -52,7 +50,6 @@ class Postgres extends DboSource {
|
|||
* Base driver configuration settings. Merged with user settings.
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_baseConfig = array(
|
||||
'persistent' => true,
|
||||
|
@ -85,7 +82,6 @@ class Postgres extends DboSource {
|
|||
* Starting Quote
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $startQuote = '"';
|
||||
|
||||
|
@ -93,7 +89,6 @@ class Postgres extends DboSource {
|
|||
* Ending Quote
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $endQuote = '"';
|
||||
|
||||
|
@ -456,7 +451,6 @@ class Postgres extends DboSource {
|
|||
*
|
||||
* @param array $compare Results of CakeSchema::compare()
|
||||
* @param string $table name of the table
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function alterSchema($compare, $table = null) {
|
||||
|
|
|
@ -32,7 +32,6 @@ class Sqlite extends DboSource {
|
|||
* Datasource Description
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $description = "SQLite DBO Driver";
|
||||
|
||||
|
@ -40,7 +39,6 @@ class Sqlite extends DboSource {
|
|||
* Quote Start
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $startQuote = '"';
|
||||
|
||||
|
@ -48,7 +46,6 @@ class Sqlite extends DboSource {
|
|||
* Quote End
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $endQuote = '"';
|
||||
|
||||
|
@ -56,7 +53,6 @@ class Sqlite extends DboSource {
|
|||
* Base configuration settings for SQLite3 driver
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $_baseConfig = array(
|
||||
'persistent' => false,
|
||||
|
@ -67,7 +63,6 @@ class Sqlite extends DboSource {
|
|||
* SQLite3 column definition
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $columns = array(
|
||||
'primary_key' => array('name' => 'integer primary key autoincrement'),
|
||||
|
@ -87,7 +82,6 @@ class Sqlite extends DboSource {
|
|||
* List of engine specific additional field parameters used on table creating
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $fieldParameters = array(
|
||||
'collate' => array(
|
||||
|
@ -202,7 +196,6 @@ class Sqlite extends DboSource {
|
|||
* @param array $values
|
||||
* @param mixed $conditions
|
||||
* @return array
|
||||
* @access public
|
||||
*/
|
||||
public function update(Model $model, $fields = array(), $values = null, $conditions = null) {
|
||||
if (empty($values) && !empty($fields)) {
|
||||
|
@ -224,7 +217,6 @@ class Sqlite extends DboSource {
|
|||
*
|
||||
* @param mixed $table A string or model class representing the table to be truncated
|
||||
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
||||
* @access public
|
||||
*/
|
||||
public function truncate($table) {
|
||||
$this->_execute('DELETE FROM sqlite_sequence where name=' . $this->fullTableName($table));
|
||||
|
@ -236,7 +228,6 @@ class Sqlite extends DboSource {
|
|||
*
|
||||
* @param string $real Real database-layer column type (i.e. "varchar(255)")
|
||||
* @return string Abstract column type (i.e. "string")
|
||||
* @access public
|
||||
*/
|
||||
public function column($real) {
|
||||
if (is_array($real)) {
|
||||
|
@ -353,7 +344,6 @@ class Sqlite extends DboSource {
|
|||
* @param integer $limit Limit of results returned
|
||||
* @param integer $offset Offset from which to start results
|
||||
* @return string SQL limit/offset statement
|
||||
* @access public
|
||||
*/
|
||||
public function limit($limit, $offset = null) {
|
||||
if ($limit) {
|
||||
|
@ -376,7 +366,6 @@ class Sqlite extends DboSource {
|
|||
* @param array $column An array structured like the following: array('name'=>'value', 'type'=>'value'[, options]),
|
||||
* where options can be 'default', 'length', or 'key'.
|
||||
* @return string
|
||||
* @access public
|
||||
*/
|
||||
public function buildColumn($column) {
|
||||
$name = $type = null;
|
||||
|
@ -461,7 +450,6 @@ class Sqlite extends DboSource {
|
|||
*
|
||||
* @param string $model Name of model to inspect
|
||||
* @return array Fields in table. Keys are column and unique
|
||||
* @access public
|
||||
*/
|
||||
public function index($model) {
|
||||
$index = array();
|
||||
|
@ -502,7 +490,6 @@ class Sqlite extends DboSource {
|
|||
* @param string $type
|
||||
* @param array $data
|
||||
* @return string
|
||||
* @access public
|
||||
*/
|
||||
public function renderStatement($type, $data) {
|
||||
switch (strtolower($type)) {
|
||||
|
@ -526,7 +513,6 @@ class Sqlite extends DboSource {
|
|||
* PDO deals in objects, not resources, so overload accordingly.
|
||||
*
|
||||
* @return boolean
|
||||
* @access public
|
||||
*/
|
||||
public function hasResult() {
|
||||
return is_object($this->_result);
|
||||
|
|
|
@ -34,7 +34,6 @@ class DboSource extends DataSource {
|
|||
* Description string for this Database Data Source.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $description = "Database Data Source";
|
||||
|
||||
|
@ -49,7 +48,6 @@ class DboSource extends DataSource {
|
|||
* Database keyword used to assign aliases to identifiers.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $alias = 'AS ';
|
||||
|
||||
|
@ -60,7 +58,6 @@ class DboSource extends DataSource {
|
|||
* with collisions, set DboSource::$cacheMethods to false.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public static $methodCache = array();
|
||||
|
||||
|
@ -69,7 +66,6 @@ class DboSource extends DataSource {
|
|||
* into the memory cache. Set to false to disable the use of the memory cache.
|
||||
*
|
||||
* @var boolean.
|
||||
* @access public
|
||||
*/
|
||||
public $cacheMethods = true;
|
||||
|
||||
|
@ -77,7 +73,6 @@ class DboSource extends DataSource {
|
|||
* Print full query debug info?
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $fullDebug = false;
|
||||
|
||||
|
@ -85,7 +80,6 @@ class DboSource extends DataSource {
|
|||
* Error description of last query
|
||||
*
|
||||
* @var unknown_type
|
||||
* @access public
|
||||
*/
|
||||
public $error = null;
|
||||
|
||||
|
@ -93,7 +87,6 @@ class DboSource extends DataSource {
|
|||
* String to hold how many rows were affected by the last SQL operation.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $affected = null;
|
||||
|
||||
|
@ -101,7 +94,6 @@ class DboSource extends DataSource {
|
|||
* Number of rows in current resultset
|
||||
*
|
||||
* @var int
|
||||
* @access public
|
||||
*/
|
||||
public $numRows = null;
|
||||
|
||||
|
@ -109,7 +101,6 @@ class DboSource extends DataSource {
|
|||
* Time the last query took
|
||||
*
|
||||
* @var int
|
||||
* @access public
|
||||
*/
|
||||
public $took = null;
|
||||
|
||||
|
@ -117,7 +108,6 @@ class DboSource extends DataSource {
|
|||
* Result
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_result = null;
|
||||
|
||||
|
@ -125,7 +115,6 @@ class DboSource extends DataSource {
|
|||
* Queries count.
|
||||
*
|
||||
* @var int
|
||||
* @access protected
|
||||
*/
|
||||
protected $_queriesCnt = 0;
|
||||
|
||||
|
@ -133,7 +122,6 @@ class DboSource extends DataSource {
|
|||
* Total duration of all queries.
|
||||
*
|
||||
* @var unknown_type
|
||||
* @access protected
|
||||
*/
|
||||
protected $_queriesTime = null;
|
||||
|
||||
|
@ -141,7 +129,6 @@ class DboSource extends DataSource {
|
|||
* Log of queries executed by this DataSource
|
||||
*
|
||||
* @var unknown_type
|
||||
* @access protected
|
||||
*/
|
||||
protected $_queriesLog = array();
|
||||
|
||||
|
@ -151,7 +138,6 @@ class DboSource extends DataSource {
|
|||
* This is to prevent query log taking over too much memory.
|
||||
*
|
||||
* @var int Maximum number of queries in the queries log.
|
||||
* @access protected
|
||||
*/
|
||||
protected $_queriesLogMax = 200;
|
||||
|
||||
|
@ -159,7 +145,6 @@ class DboSource extends DataSource {
|
|||
* Caches serialzed results of executed queries
|
||||
*
|
||||
* @var array Maximum number of queries in the queries log.
|
||||
* @access protected
|
||||
*/
|
||||
protected $_queryCache = array();
|
||||
|
||||
|
@ -167,7 +152,6 @@ class DboSource extends DataSource {
|
|||
* A reference to the physical connection of this DataSource
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $connection = null;
|
||||
|
||||
|
@ -175,7 +159,6 @@ class DboSource extends DataSource {
|
|||
* The DataSource configuration key name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $configKeyName = null;
|
||||
|
||||
|
@ -183,7 +166,6 @@ class DboSource extends DataSource {
|
|||
* The starting character that this DataSource uses for quoted identifiers.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $startQuote = null;
|
||||
|
||||
|
@ -191,7 +173,6 @@ class DboSource extends DataSource {
|
|||
* The ending character that this DataSource uses for quoted identifiers.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $endQuote = null;
|
||||
|
||||
|
@ -199,7 +180,6 @@ class DboSource extends DataSource {
|
|||
* The set of valid SQL operations usable in a WHERE statement
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__sqlOps = array('like', 'ilike', 'or', 'not', 'in', 'between', 'regexp', 'similar to');
|
||||
|
||||
|
@ -207,7 +187,6 @@ class DboSource extends DataSource {
|
|||
* Indicates the level of nested transactions
|
||||
*
|
||||
* @var integer
|
||||
* @access protected
|
||||
*/
|
||||
protected $_transactionNesting = 0;
|
||||
|
||||
|
@ -215,7 +194,6 @@ class DboSource extends DataSource {
|
|||
* Index of basic SQL commands
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_commands = array(
|
||||
'begin' => 'BEGIN',
|
||||
|
@ -234,7 +212,6 @@ class DboSource extends DataSource {
|
|||
* List of table engine specific parameters used on table creating
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $tableParameters = array();
|
||||
|
||||
|
@ -242,7 +219,6 @@ class DboSource extends DataSource {
|
|||
* List of engine specific additional field parameters used on table creating
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fieldParameters = array();
|
||||
|
||||
|
@ -1666,7 +1642,6 @@ class DboSource extends DataSource {
|
|||
*
|
||||
* @param array $join An array defining a JOIN statement in a query
|
||||
* @return string An SQL JOIN statement to be used in a query
|
||||
* @access public
|
||||
* @see DboSource::renderJoinStatement()
|
||||
* @see DboSource::buildStatement()
|
||||
*/
|
||||
|
@ -1693,7 +1668,6 @@ class DboSource extends DataSource {
|
|||
* @param array $query An array defining an SQL query
|
||||
* @param object $model The model object which initiated the query
|
||||
* @return string An executable SQL statement
|
||||
* @access public
|
||||
* @see DboSource::renderStatement()
|
||||
*/
|
||||
public function buildStatement($query, $model) {
|
||||
|
@ -2446,7 +2420,6 @@ class DboSource extends DataSource {
|
|||
* @param string $key An SQL key snippet containing a field and optional SQL operator
|
||||
* @param mixed $value The value(s) to be inserted in the string
|
||||
* @return string
|
||||
* @access private
|
||||
*/
|
||||
private function __parseKey($model, $key, $value) {
|
||||
$operatorMatch = '/^((' . implode(')|(', $this->__sqlOps);
|
||||
|
@ -2533,7 +2506,6 @@ class DboSource extends DataSource {
|
|||
*
|
||||
* @param string $conditions
|
||||
* @return string or false if no match
|
||||
* @access private
|
||||
*/
|
||||
private function __quoteFields($conditions) {
|
||||
$start = $end = null;
|
||||
|
|
|
@ -30,7 +30,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
* Method called on open of a database session.
|
||||
*
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function open() {
|
||||
return true;
|
||||
|
@ -40,7 +39,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
* Method called on close of a database session.
|
||||
*
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function close() {
|
||||
$probability = mt_rand(1, 150);
|
||||
|
@ -55,7 +53,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param mixed $id The key of the value to read
|
||||
* @return mixed The value of the key or false if it does not exist
|
||||
* @access private
|
||||
*/
|
||||
public function read($id) {
|
||||
return Cache::read($id, Configure::read('Session.handler.config'));
|
||||
|
@ -67,7 +64,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
* @param integer $id ID that uniquely identifies session in database
|
||||
* @param mixed $data The value of the data to be saved.
|
||||
* @return boolean True for successful write, false otherwise.
|
||||
* @access private
|
||||
*/
|
||||
public function write($id, $data) {
|
||||
return Cache::write($id, $data, Configure::read('Session.handler.config'));
|
||||
|
@ -78,7 +74,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param integer $id ID that uniquely identifies session in database
|
||||
* @return boolean True for successful delete, false otherwise.
|
||||
* @access private
|
||||
*/
|
||||
public function destroy($id) {
|
||||
return Cache::delete($id, Configure::read('Session.handler.config'));
|
||||
|
@ -89,7 +84,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param integer $expires Timestamp (defaults to current time)
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function gc($expires = null) {
|
||||
return Cache::gc();
|
||||
|
|
|
@ -51,7 +51,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
* Method called on open of a database session.
|
||||
*
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function open() {
|
||||
return true;
|
||||
|
@ -61,7 +60,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
* Method called on close of a database session.
|
||||
*
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function close() {
|
||||
$probability = mt_rand(1, 150);
|
||||
|
@ -76,7 +74,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param mixed $id The key of the value to read
|
||||
* @return mixed The value of the key or false if it does not exist
|
||||
* @access private
|
||||
*/
|
||||
public function read($id) {
|
||||
$model = ClassRegistry::getObject('Session');
|
||||
|
@ -98,7 +95,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
* @param integer $id ID that uniquely identifies session in database
|
||||
* @param mixed $data The value of the data to be saved.
|
||||
* @return boolean True for successful write, false otherwise.
|
||||
* @access private
|
||||
*/
|
||||
public function write($id, $data) {
|
||||
if (!$id) {
|
||||
|
@ -116,7 +112,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param integer $id ID that uniquely identifies session in database
|
||||
* @return boolean True for successful delete, false otherwise.
|
||||
* @access private
|
||||
*/
|
||||
public function destroy($id) {
|
||||
return ClassRegistry::getObject('Session')->delete($id);
|
||||
|
@ -127,7 +122,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
*
|
||||
* @param integer $expires Timestamp (defaults to current time)
|
||||
* @return boolean Success
|
||||
* @access private
|
||||
*/
|
||||
public function gc($expires = null) {
|
||||
if (!$expires) {
|
||||
|
|
|
@ -47,7 +47,6 @@ class Model extends Object {
|
|||
* The name of the DataSource connection that this Model uses
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#useDbConfig-1058
|
||||
*/
|
||||
public $useDbConfig = 'default';
|
||||
|
@ -56,7 +55,6 @@ class Model extends Object {
|
|||
* Custom database table name, or null/false if no table association is desired.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
|
||||
*/
|
||||
public $useTable = null;
|
||||
|
@ -65,7 +63,6 @@ class Model extends Object {
|
|||
* Custom display field name. Display fields are used by Scaffold, in SELECT boxes' OPTION elements.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#displayField-1062
|
||||
*/
|
||||
public $displayField = null;
|
||||
|
@ -75,7 +72,6 @@ class Model extends Object {
|
|||
* Automatically set after database insertions.
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $id = false;
|
||||
|
||||
|
@ -83,7 +79,6 @@ class Model extends Object {
|
|||
* Container for the data that this model gets from persistent storage (usually, a database).
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#data-1065
|
||||
*/
|
||||
public $data = array();
|
||||
|
@ -92,7 +87,6 @@ class Model extends Object {
|
|||
* Table name for this Model.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $table = false;
|
||||
|
||||
|
@ -100,7 +94,6 @@ class Model extends Object {
|
|||
* The name of the primary key field for this model.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#primaryKey-1061
|
||||
*/
|
||||
public $primaryKey = null;
|
||||
|
@ -109,7 +102,6 @@ class Model extends Object {
|
|||
* Field-by-field table metadata.
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#_schema-1066
|
||||
*/
|
||||
protected $_schema = null;
|
||||
|
@ -119,7 +111,6 @@ class Model extends Object {
|
|||
* that have to match with preg_match(). Use these rules with Model::validate()
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#validate-1067
|
||||
* @link http://book.cakephp.org/view/1143/Data-Validation
|
||||
*/
|
||||
|
@ -129,7 +120,6 @@ class Model extends Object {
|
|||
* List of validation errors.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||
*/
|
||||
public $validationErrors = array();
|
||||
|
@ -139,7 +129,6 @@ class Model extends Object {
|
|||
* Name of the validation string domain to use when translating validation errors.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $validationDomain = null;
|
||||
|
||||
|
@ -147,7 +136,6 @@ class Model extends Object {
|
|||
* Database table prefix for tables in model.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#tablePrefix-1060
|
||||
*/
|
||||
public $tablePrefix = null;
|
||||
|
@ -156,7 +144,6 @@ class Model extends Object {
|
|||
* Name of the model.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#name-1068
|
||||
*/
|
||||
public $name = null;
|
||||
|
@ -165,7 +152,6 @@ class Model extends Object {
|
|||
* Alias name for model.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $alias = null;
|
||||
|
||||
|
@ -173,7 +159,6 @@ class Model extends Object {
|
|||
* List of table names included in the model description. Used for associations.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $tableToModel = array();
|
||||
|
||||
|
@ -182,7 +167,6 @@ class Model extends Object {
|
|||
* caching only, the results are not stored beyond the current request.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#cacheQueries-1069
|
||||
*/
|
||||
public $cacheQueries = false;
|
||||
|
@ -191,7 +175,6 @@ class Model extends Object {
|
|||
* Detailed list of belongsTo associations.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1042/belongsTo
|
||||
*/
|
||||
public $belongsTo = array();
|
||||
|
@ -200,7 +183,6 @@ class Model extends Object {
|
|||
* Detailed list of hasOne associations.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1041/hasOne
|
||||
*/
|
||||
public $hasOne = array();
|
||||
|
@ -209,7 +191,6 @@ class Model extends Object {
|
|||
* Detailed list of hasMany associations.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1043/hasMany
|
||||
*/
|
||||
public $hasMany = array();
|
||||
|
@ -218,7 +199,6 @@ class Model extends Object {
|
|||
* Detailed list of hasAndBelongsToMany associations.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1044/hasAndBelongsToMany-HABTM
|
||||
*/
|
||||
public $hasAndBelongsToMany = array();
|
||||
|
@ -230,7 +210,6 @@ class Model extends Object {
|
|||
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1072/Using-Behaviors
|
||||
*/
|
||||
public $actsAs = null;
|
||||
|
@ -239,7 +218,6 @@ class Model extends Object {
|
|||
* Holds the Behavior objects currently bound to this model.
|
||||
*
|
||||
* @var BehaviorCollection
|
||||
* @access public
|
||||
*/
|
||||
public $Behaviors = null;
|
||||
|
||||
|
@ -247,7 +225,6 @@ class Model extends Object {
|
|||
* Whitelist of fields allowed to be saved.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $whitelist = array();
|
||||
|
||||
|
@ -255,7 +232,6 @@ class Model extends Object {
|
|||
* Whether or not to cache sources for this model.
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $cacheSources = true;
|
||||
|
||||
|
@ -263,7 +239,6 @@ class Model extends Object {
|
|||
* Type of find query currently executing.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $findQueryType = null;
|
||||
|
||||
|
@ -272,7 +247,6 @@ class Model extends Object {
|
|||
* the first level by default.
|
||||
*
|
||||
* @var integer
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#recursive-1063
|
||||
*/
|
||||
public $recursive = 1;
|
||||
|
@ -284,7 +258,6 @@ class Model extends Object {
|
|||
* public $order = array("Post.view_count DESC", "Post.rating DESC");
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#order-1064
|
||||
*/
|
||||
public $order = null;
|
||||
|
@ -299,7 +272,6 @@ class Model extends Object {
|
|||
* Is a simplistic example of how to set virtualFields
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $virtualFields = array();
|
||||
|
||||
|
@ -307,7 +279,6 @@ class Model extends Object {
|
|||
* Default list of association keys.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__associationKeys = array(
|
||||
'belongsTo' => array('className', 'foreignKey', 'conditions', 'fields', 'order', 'counterCache'),
|
||||
|
@ -320,7 +291,6 @@ class Model extends Object {
|
|||
* Holds provided/generated association key names and other data for all associations.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $__associations = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
||||
|
||||
|
@ -328,7 +298,6 @@ class Model extends Object {
|
|||
* Holds model associations temporarily to allow for dynamic (un)binding.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
public $__backAssociation = array();
|
||||
|
||||
|
@ -342,7 +311,6 @@ class Model extends Object {
|
|||
* The ID of the model record that was last inserted.
|
||||
*
|
||||
* @var integer
|
||||
* @access private
|
||||
*/
|
||||
private $__insertID = null;
|
||||
|
||||
|
@ -358,7 +326,6 @@ class Model extends Object {
|
|||
* List of valid finder method options, supplied as the first parameter to find().
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $findMethods = array(
|
||||
'all' => true, 'first' => true, 'count' => true,
|
||||
|
@ -580,7 +547,6 @@ class Model extends Object {
|
|||
* @param array $params Set of bindings (indexed by binding type)
|
||||
* @param boolean $reset Set to false to make the binding permanent
|
||||
* @return boolean Success
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
||||
*/
|
||||
public function bindModel($params, $reset = true) {
|
||||
|
@ -625,7 +591,6 @@ class Model extends Object {
|
|||
* @param array $params Set of bindings to unbind (indexed by binding type)
|
||||
* @param boolean $reset Set to false to make the unbinding permanent
|
||||
* @return boolean Success
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
||||
*/
|
||||
public function unbindModel($params, $reset = true) {
|
||||
|
@ -647,7 +612,6 @@ class Model extends Object {
|
|||
* Create a set of associations.
|
||||
*
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
private function __createLinks() {
|
||||
foreach ($this->__associations as $type) {
|
||||
|
@ -694,7 +658,6 @@ class Model extends Object {
|
|||
* public $hasMany = array('ModelName');
|
||||
* usage: $this->ModelName->modelMethods();
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
private function __constructLinkedModel($assoc, $className = null, $plugin = null) {
|
||||
if (empty($className)) {
|
||||
|
@ -722,7 +685,6 @@ class Model extends Object {
|
|||
* @param string $type 'belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany'
|
||||
* @param string $assocKey
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
private function __generateAssociation($type, $assocKey) {
|
||||
$class = $assocKey;
|
||||
|
@ -814,7 +776,6 @@ class Model extends Object {
|
|||
* @param mixed $one Array or string of data
|
||||
* @param string $two Value string for the alternative indata method
|
||||
* @return array Data with all of $one's keys and values
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
public function set($one, $two = null) {
|
||||
|
@ -1131,7 +1092,6 @@ class Model extends Object {
|
|||
* schema data defaults are not merged.
|
||||
* @param boolean $filterKey If true, overwrites any primary key input with an empty value
|
||||
* @return array The current Model::data; after merging $data and/or defaults from database
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
public function create($data = array(), $filterKey = false) {
|
||||
|
@ -1162,7 +1122,6 @@ class Model extends Object {
|
|||
* @param mixed $fields String of single fieldname, or an array of fieldnames.
|
||||
* @param mixed $id The ID of the record to read
|
||||
* @return array Array of database fields, or false if not found
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#read-1029
|
||||
*/
|
||||
public function read($fields = null, $id = null) {
|
||||
|
@ -1197,7 +1156,6 @@ class Model extends Object {
|
|||
* @param array $conditions SQL conditions (defaults to NULL)
|
||||
* @param string $order SQL ORDER BY fragment
|
||||
* @return string field contents, or false if not found
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#field-1028
|
||||
*/
|
||||
public function field($name, $conditions = null, $order = null) {
|
||||
|
@ -1237,7 +1195,6 @@ class Model extends Object {
|
|||
* @param mixed $value Value of the field
|
||||
* @param array $validate See $options param in Model::save(). Does not respect 'fieldList' key if passed
|
||||
* @return boolean See Model::save()
|
||||
* @access public
|
||||
* @see Model::save()
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
|
@ -1263,7 +1220,6 @@ class Model extends Object {
|
|||
* If an array, allows control of validate, callbacks, and fieldList
|
||||
* @param array $fieldList List of fields to allow to be written
|
||||
* @return mixed On success Model::$data if its not empty or true, false on failure
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
public function save($data = null, $validate = true, $fieldList = array()) {
|
||||
|
@ -1622,7 +1578,6 @@ class Model extends Object {
|
|||
* @return mixed If atomic: True on success, or false on failure.
|
||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||
* depending on whether each record saved successfully.
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1032/Saving-Related-Model-Data-hasOne-hasMany-belongsTo
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
|
@ -1660,7 +1615,6 @@ class Model extends Object {
|
|||
* @return mixed If atomic: True on success, or false on failure.
|
||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||
* depending on whether each record saved successfully.
|
||||
* @access public
|
||||
*/
|
||||
public function saveMany($data = null, $options = array()) {
|
||||
if (empty($data)) {
|
||||
|
@ -1728,7 +1682,6 @@ class Model extends Object {
|
|||
* @return mixed If atomic: True on success, or false on failure.
|
||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||
* depending on whether each record validated successfully.
|
||||
* @access public
|
||||
*/
|
||||
public function validateMany($data, $options = array()) {
|
||||
$options = array_merge(array('atomic' => true), $options);
|
||||
|
@ -1766,7 +1719,6 @@ class Model extends Object {
|
|||
* @return mixed If atomic: True on success, or false on failure.
|
||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||
* depending on whether each record saved successfully.
|
||||
* @access public
|
||||
*/
|
||||
public function saveAssociated($data = null, $options = array()) {
|
||||
if (empty($data)) {
|
||||
|
@ -1920,7 +1872,6 @@ class Model extends Object {
|
|||
* Fields are treated as SQL snippets, to insert literal values manually escape your data.
|
||||
* @param mixed $conditions Conditions to match, true for all records
|
||||
* @return boolean True on success, false on failure
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||
*/
|
||||
public function updateAll($fields, $conditions = true) {
|
||||
|
@ -1933,7 +1884,6 @@ class Model extends Object {
|
|||
* @param mixed $id ID of record to delete
|
||||
* @param boolean $cascade Set to true to delete records that depend on this record
|
||||
* @return boolean True on success
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1036/delete
|
||||
*/
|
||||
public function delete($id = null, $cascade = true) {
|
||||
|
@ -2049,7 +1999,6 @@ class Model extends Object {
|
|||
* @param boolean $cascade Set to true to delete records that depend on this record
|
||||
* @param boolean $callbacks Run callbacks
|
||||
* @return boolean True on success, false on failure
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1038/deleteAll
|
||||
*/
|
||||
public function deleteAll($conditions, $cascade = true, $callbacks = false) {
|
||||
|
@ -2598,7 +2547,6 @@ class Model extends Object {
|
|||
*
|
||||
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
||||
* @return boolean True if there are no errors
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||
*/
|
||||
public function validates($options = array()) {
|
||||
|
@ -2618,7 +2566,6 @@ class Model extends Object {
|
|||
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
||||
* @return array Array of invalid fields
|
||||
* @see Model::validates()
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||
*/
|
||||
public function invalidFields($options = array()) {
|
||||
|
@ -2774,7 +2721,6 @@ class Model extends Object {
|
|||
*
|
||||
* @param array $options Array of options to use on Valdation of with models
|
||||
* @return boolean Failure of validation on with models.
|
||||
* @access private
|
||||
* @see Model::validates()
|
||||
*/
|
||||
private function __validateWithModels($options) {
|
||||
|
@ -3059,7 +3005,6 @@ class Model extends Object {
|
|||
* @param array $queryData Data used to execute this query, i.e. conditions, order, etc.
|
||||
* @return mixed true if the operation should continue, false if it should abort; or, modified
|
||||
* $queryData to continue with new $queryData
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1048/Callback-Methods#beforeFind-1049
|
||||
*/
|
||||
public function beforeFind($queryData) {
|
||||
|
@ -3073,7 +3018,6 @@ class Model extends Object {
|
|||
* @param mixed $results The results of the find operation
|
||||
* @param boolean $primary Whether this model is being queried directly (vs. being queried as an association)
|
||||
* @return mixed Result of the find operation
|
||||
* @access public
|
||||
* @link http://book.cakephp.org/view/1048/Callback-Methods#afterFind-1050
|
||||
*/
|
||||
public function afterFind($results, $primary = false) {
|
||||
|
|
|
@ -139,7 +139,6 @@ class ModelBehavior extends Object {
|
|||
*
|
||||
* @param Model $model Model using this behavior
|
||||
* @return mixed False or null will abort the operation. Any other result will continue.
|
||||
* @access public
|
||||
*/
|
||||
public function beforeValidate($model) {
|
||||
return true;
|
||||
|
|
|
@ -34,7 +34,6 @@ class Permission extends AppModel {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Permission';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class Permission extends AppModel {
|
|||
* Explicitly disable in-memory query caching
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $cacheQueries = false;
|
||||
|
||||
|
@ -50,7 +48,6 @@ class Permission extends AppModel {
|
|||
* Override default table name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aros_acos';
|
||||
|
||||
|
@ -58,7 +55,6 @@ class Permission extends AppModel {
|
|||
* Permissions link AROs with ACOs
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('Aro', 'Aco');
|
||||
|
||||
|
@ -66,7 +62,6 @@ class Permission extends AppModel {
|
|||
* No behaviors for this model
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $actsAs = null;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ class CakeSocket {
|
|||
* Object description
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $description = 'Remote DataSource Network Socket Interface';
|
||||
|
||||
|
@ -39,7 +38,6 @@ class CakeSocket {
|
|||
* Base configuration settings for the socket connection
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_baseConfig = array(
|
||||
'persistent' => false,
|
||||
|
@ -53,7 +51,6 @@ class CakeSocket {
|
|||
* Configuration settings for the socket connection
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $config = array();
|
||||
|
||||
|
@ -61,7 +58,6 @@ class CakeSocket {
|
|||
* Reference to socket connection resource
|
||||
*
|
||||
* @var resource
|
||||
* @access public
|
||||
*/
|
||||
public $connection = null;
|
||||
|
||||
|
@ -69,7 +65,6 @@ class CakeSocket {
|
|||
* This boolean contains the current state of the CakeSocket class
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $connected = false;
|
||||
|
||||
|
@ -77,7 +72,6 @@ class CakeSocket {
|
|||
* This variable contains an array with the last error number (num) and string (str)
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $lastError = array();
|
||||
|
||||
|
@ -256,7 +250,6 @@ class CakeSocket {
|
|||
/**
|
||||
* Destructor, used to disconnect from current connection.
|
||||
*
|
||||
* @access private
|
||||
*/
|
||||
public function __destruct() {
|
||||
$this->disconnect();
|
||||
|
|
|
@ -1271,7 +1271,6 @@ class CakeEmail {
|
|||
*
|
||||
* @param string $content Content to render
|
||||
* @return array Email ready to be sent
|
||||
* @access private
|
||||
*/
|
||||
protected function _render($content) {
|
||||
$viewClass = $this->_viewRender;
|
||||
|
|
|
@ -45,7 +45,6 @@ class Router {
|
|||
* Array of routes connected with Router::connect()
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public static $routes = array();
|
||||
|
||||
|
@ -54,7 +53,6 @@ class Router {
|
|||
* Includes admin prefix
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
protected static $_prefixes = array();
|
||||
|
||||
|
@ -62,7 +60,6 @@ class Router {
|
|||
* Directive for Router to parse out file extensions for mapping to Content-types.
|
||||
*
|
||||
* @var boolean
|
||||
* @access private
|
||||
*/
|
||||
protected static $_parseExtensions = false;
|
||||
|
||||
|
@ -70,7 +67,6 @@ class Router {
|
|||
* List of valid extensions to parse from a URL. If null, any extension is allowed.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
protected static $_validExtensions = array();
|
||||
|
||||
|
@ -98,7 +94,6 @@ class Router {
|
|||
* Stores all information necessary to decide what named arguments are parsed under what conditions.
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
protected static $_namedConfig = array(
|
||||
'default' => array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction', 'step'),
|
||||
|
@ -111,7 +106,6 @@ class Router {
|
|||
* The route matching the URL of the current request
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
protected static $_currentRoute = array();
|
||||
|
||||
|
@ -119,7 +113,6 @@ class Router {
|
|||
* Default HTTP request method => controller action map.
|
||||
*
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
protected static $_resourceMap = array(
|
||||
array('action' => 'index', 'method' => 'GET', 'id' => false),
|
||||
|
@ -158,7 +151,6 @@ class Router {
|
|||
* Sets the Routing prefixes.
|
||||
*
|
||||
* @return void
|
||||
* @access private
|
||||
*/
|
||||
protected static function _setPrefixes() {
|
||||
$routing = Configure::read('Routing');
|
||||
|
@ -487,7 +479,6 @@ class Router {
|
|||
*
|
||||
* @param string $url
|
||||
* @return array Returns an array containing the altered URL and the parsed extension.
|
||||
* @access private
|
||||
*/
|
||||
private static function __parseExtension($url) {
|
||||
$ext = null;
|
||||
|
|
|
@ -29,7 +29,6 @@ class AllHelpersTest extends PHPUnit_Framework_TestSuite {
|
|||
/**
|
||||
* suite declares tests to run
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public static function suite() {
|
||||
|
|
|
@ -29,7 +29,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -43,7 +42,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -54,7 +52,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testConfig method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConfig() {
|
||||
|
@ -114,7 +111,6 @@ class CacheTest extends CakeTestCase {
|
|||
*
|
||||
* Test that the cache class doesn't cause fatal errors with a partial path
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInvaidConfig() {
|
||||
|
@ -147,7 +143,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testConfigChange method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConfigChange() {
|
||||
|
@ -193,7 +188,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testWritingWithConfig method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWritingWithConfig() {
|
||||
|
@ -231,7 +225,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testInitSettings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInitSettings() {
|
||||
|
@ -278,7 +271,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testWriteEmptyValues method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWriteEmptyValues() {
|
||||
|
@ -326,7 +318,6 @@ class CacheTest extends CakeTestCase {
|
|||
* Check that the "Cache.disable" configuration and a change to it
|
||||
* (even after a cache config has been setup) is taken into account.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCacheDisable() {
|
||||
|
@ -366,7 +357,6 @@ class CacheTest extends CakeTestCase {
|
|||
/**
|
||||
* testSet method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSet() {
|
||||
|
|
|
@ -29,7 +29,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -43,7 +42,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -55,7 +53,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteCache() {
|
||||
|
@ -93,7 +90,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testExpiry method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testExpiry() {
|
||||
|
@ -128,7 +124,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCache() {
|
||||
|
@ -143,7 +138,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDecrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDecrement() {
|
||||
|
@ -169,7 +163,6 @@ class ApcEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testIncrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIncrement() {
|
||||
|
|
|
@ -30,14 +30,12 @@ class FileEngineTest extends CakeTestCase {
|
|||
* config property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $config = array();
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -49,7 +47,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* teardown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -61,7 +58,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testCacheDirChange method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCacheDirChange() {
|
||||
|
@ -76,7 +72,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteCache() {
|
||||
|
@ -105,7 +100,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testExpiry method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testExpiry() {
|
||||
|
@ -136,7 +130,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCache() {
|
||||
|
@ -155,7 +148,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testSerialize method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSerialize() {
|
||||
|
@ -179,7 +171,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testClear method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testClear() {
|
||||
|
@ -246,7 +237,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testKeyPath method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testKeyPath() {
|
||||
|
@ -264,7 +254,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testRemoveWindowsSlashesFromCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRemoveWindowsSlashesFromCache() {
|
||||
|
@ -310,7 +299,6 @@ class FileEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testWriteQuotedString method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWriteQuotedString() {
|
||||
|
|
|
@ -46,7 +46,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -64,7 +63,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -76,7 +74,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testSettings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSettings() {
|
||||
|
@ -98,7 +95,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testSettings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultipleServers() {
|
||||
|
@ -127,7 +123,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testConnect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConnect() {
|
||||
|
@ -172,7 +167,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteCache() {
|
||||
|
@ -196,7 +190,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testExpiry method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testExpiry() {
|
||||
|
@ -245,7 +238,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCache() {
|
||||
|
@ -260,7 +252,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDecrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDecrement() {
|
||||
|
@ -283,7 +274,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testIncrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIncrement() {
|
||||
|
|
|
@ -29,7 +29,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -42,7 +41,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -54,7 +52,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteCache() {
|
||||
|
@ -78,7 +75,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testExpiry method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testExpiry() {
|
||||
|
@ -113,7 +109,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCache() {
|
||||
|
@ -128,7 +123,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDecrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDecrement() {
|
||||
|
@ -157,7 +151,6 @@ class WincacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testIncrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIncrement() {
|
||||
|
|
|
@ -29,7 +29,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -42,7 +41,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -53,7 +51,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testSettings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSettings() {
|
||||
|
@ -74,7 +71,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteCache() {
|
||||
|
@ -98,7 +94,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testExpiry method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testExpiry() {
|
||||
|
@ -128,7 +123,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCache() {
|
||||
|
@ -143,7 +137,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testClearCache method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testClearCache() {
|
||||
|
@ -161,7 +154,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testDecrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDecrement() {
|
||||
|
@ -184,7 +176,6 @@ class XcacheEngineTest extends CakeTestCase {
|
|||
/**
|
||||
* testIncrement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIncrement() {
|
||||
|
|
|
@ -33,7 +33,6 @@ class AclShellTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.aco', 'core.aro', 'core.aros_aco');
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ class BakeShellTest extends CakeTestCase {
|
|||
* fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.user');
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
|||
* name property
|
||||
*
|
||||
* @var string 'MyApp'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaShellTest';
|
||||
|
||||
|
@ -43,7 +42,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
|||
* connection property
|
||||
*
|
||||
* @var string 'test'
|
||||
* @access public
|
||||
*/
|
||||
public $connection = 'test';
|
||||
|
||||
|
@ -51,7 +49,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
|||
* comments property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $comments = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -69,7 +66,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
|||
* posts property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $articles = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -95,7 +91,6 @@ class SchemaShellTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
|
||||
'core.comment', 'core.test_plugin_comment'
|
||||
|
|
|
@ -34,7 +34,6 @@ class ShellTestShell extends Shell {
|
|||
* name property
|
||||
*
|
||||
* @var name
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ShellTestShell';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class ShellTestShell extends Shell {
|
|||
* stopped property
|
||||
*
|
||||
* @var integer
|
||||
* @access public
|
||||
*/
|
||||
public $stopped;
|
||||
|
||||
|
@ -110,7 +108,6 @@ class ShellTest extends CakeTestCase {
|
|||
* Fixtures used in this test case
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.post', 'core.comment', 'core.article', 'core.user',
|
||||
|
@ -817,7 +814,6 @@ TEXT;
|
|||
/**
|
||||
* Testing camel cased naming of tasks
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testShellNaming() {
|
||||
|
|
|
@ -55,7 +55,6 @@ class ControllerTaskTest extends CakeTestCase {
|
|||
* fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.bake_article', 'core.bake_articles_bake_tag', 'core.bake_comment', 'core.bake_tag');
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ class FixtureTaskTest extends CakeTestCase {
|
|||
* fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.comment', 'core.datatype', 'core.binary_test');
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ class ModelTaskTest extends CakeTestCase {
|
|||
* fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.bake_article', 'core.bake_comment', 'core.bake_articles_bake_tag',
|
||||
|
|
|
@ -40,7 +40,6 @@ class TestTaskArticle extends Model {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'TestTaskArticle';
|
||||
|
||||
|
@ -48,7 +47,6 @@ class TestTaskArticle extends Model {
|
|||
* Table name to use
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'articles';
|
||||
|
||||
|
@ -56,7 +54,6 @@ class TestTaskArticle extends Model {
|
|||
* HasMany Associations
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasMany = array(
|
||||
'Comment' => array(
|
||||
|
@ -69,7 +66,6 @@ class TestTaskArticle extends Model {
|
|||
* Has and Belongs To Many Associations
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array(
|
||||
'Tag' => array(
|
||||
|
@ -117,7 +113,6 @@ class TestTaskTag extends Model {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'TestTaskTag';
|
||||
|
||||
|
@ -125,7 +120,6 @@ class TestTaskTag extends Model {
|
|||
* Table name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'tags';
|
||||
|
||||
|
@ -133,7 +127,6 @@ class TestTaskTag extends Model {
|
|||
* Has and Belongs To Many Associations
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array(
|
||||
'Article' => array(
|
||||
|
@ -166,7 +159,6 @@ class TestTaskComment extends TestTaskAppModel {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'TestTaskComment';
|
||||
|
||||
|
@ -174,7 +166,6 @@ class TestTaskComment extends TestTaskAppModel {
|
|||
* Table name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -182,7 +173,6 @@ class TestTaskComment extends TestTaskAppModel {
|
|||
* Belongs To Associations
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'Article' => array(
|
||||
|
@ -204,7 +194,6 @@ class TestTaskCommentsController extends Controller {
|
|||
* Controller Name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'TestTaskComments';
|
||||
|
||||
|
@ -212,7 +201,6 @@ class TestTaskCommentsController extends Controller {
|
|||
* Models to use
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array('TestTaskComment', 'TestTaskTag');
|
||||
}
|
||||
|
@ -228,7 +216,6 @@ class TestTaskTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ class ViewTaskComment extends Model {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ViewTaskComment';
|
||||
|
||||
|
@ -51,7 +50,6 @@ class ViewTaskComment extends Model {
|
|||
* Table name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -59,7 +57,6 @@ class ViewTaskComment extends Model {
|
|||
* Belongs To Associations
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'Article' => array(
|
||||
|
@ -81,7 +78,6 @@ class ViewTaskArticle extends Model {
|
|||
* Model name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ViewTaskArticle';
|
||||
|
||||
|
@ -89,7 +85,6 @@ class ViewTaskArticle extends Model {
|
|||
* Table name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'articles';
|
||||
}
|
||||
|
@ -106,7 +101,6 @@ class ViewTaskCommentsController extends Controller {
|
|||
* Controller name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ViewTaskComments';
|
||||
|
||||
|
@ -139,7 +133,6 @@ class ViewTaskArticlesController extends Controller {
|
|||
* Controller name
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ViewTaskArticles';
|
||||
|
||||
|
@ -211,7 +204,6 @@ class ViewTaskTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
|||
* params property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $params = array();
|
||||
|
||||
|
@ -38,7 +37,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
|||
* stopped property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $stopped = null;
|
||||
|
||||
|
@ -46,7 +44,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
|||
* TestShell
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $TestShell;
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ class AclNodeTwoTestBase extends AclNode {
|
|||
* useDbConfig property
|
||||
*
|
||||
* @var string 'test'
|
||||
* @access public
|
||||
*/
|
||||
public $useDbConfig = 'test';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class AclNodeTwoTestBase extends AclNode {
|
|||
* cacheSources property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $cacheSources = false;
|
||||
}
|
||||
|
@ -56,7 +54,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AroTwoTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AroTwoTest';
|
||||
|
||||
|
@ -64,7 +61,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aro_twos'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aro_twos';
|
||||
|
||||
|
@ -72,7 +68,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('AcoTwoTest' => array('with' => 'PermissionTwoTest'));
|
||||
}
|
||||
|
@ -88,7 +83,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AcoTwoTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AcoTwoTest';
|
||||
|
||||
|
@ -96,7 +90,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aco_twos'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aco_twos';
|
||||
|
||||
|
@ -104,7 +97,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('AroTwoTest' => array('with' => 'PermissionTwoTest'));
|
||||
}
|
||||
|
@ -120,7 +112,6 @@ class PermissionTwoTest extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'PermissionTwoTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'PermissionTwoTest';
|
||||
|
||||
|
@ -128,7 +119,6 @@ class PermissionTwoTest extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aros_aco_twos'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aros_aco_twos';
|
||||
|
||||
|
@ -136,7 +126,6 @@ class PermissionTwoTest extends CakeTestModel {
|
|||
* cacheQueries property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $cacheQueries = false;
|
||||
|
||||
|
@ -144,7 +133,6 @@ class PermissionTwoTest extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('AroTwoTest' => array('foreignKey' => 'aro_id'), 'AcoTwoTest' => array('foreignKey' => 'aco_id'));
|
||||
|
||||
|
@ -152,7 +140,6 @@ class PermissionTwoTest extends CakeTestModel {
|
|||
* actsAs property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $actsAs = null;
|
||||
}
|
||||
|
@ -167,7 +154,6 @@ class DbAclTwoTest extends DbAcl {
|
|||
/**
|
||||
* construct method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __construct() {
|
||||
|
@ -258,7 +244,6 @@ class IniAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testIniCheck method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheck() {
|
||||
|
@ -309,7 +294,6 @@ class DbAclTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.aro_two', 'core.aco_two', 'core.aros_aco_two');
|
||||
|
||||
|
@ -329,7 +313,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -340,7 +323,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testAclCreate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCreate() {
|
||||
|
@ -368,7 +350,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testAclCreateWithParent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCreateWithParent() {
|
||||
|
@ -388,7 +369,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbAclAllow method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAllow() {
|
||||
|
@ -426,7 +406,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testAllowInvalidNode method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAllowInvalidNode() {
|
||||
|
@ -437,7 +416,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbAclCheck method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheck() {
|
||||
|
@ -458,7 +436,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckInvalidNode method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckInvalidNode() {
|
||||
|
@ -469,7 +446,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckInvalidPermission method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckInvalidPermission() {
|
||||
|
@ -480,7 +456,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckMissingPermission method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckMissingPermission() {
|
||||
|
@ -494,7 +469,6 @@ class DbAclTest extends CakeTestCase {
|
|||
* Setup the acl permissions such that Bobs inherits from admin.
|
||||
* deny Admin delete access to a specific resource, check the permisssions are inherited.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAclCascadingDeny() {
|
||||
|
@ -509,7 +483,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbAclDeny method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeny() {
|
||||
|
@ -539,7 +512,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testAclNodeLookup method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAclNodeLookup() {
|
||||
|
@ -564,7 +536,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbInherit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInherit() {
|
||||
|
@ -582,7 +553,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbGrant method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGrant() {
|
||||
|
@ -604,7 +574,6 @@ class DbAclTest extends CakeTestCase {
|
|||
/**
|
||||
* testDbRevoke method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRevoke() {
|
||||
|
@ -629,7 +598,6 @@ class DbAclTest extends CakeTestCase {
|
|||
* Only designed to work with the db based ACL
|
||||
*
|
||||
* @param bool $treesToo
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __debug ($printTreesToo = false) {
|
||||
|
@ -677,7 +645,6 @@ class DbAclTest extends CakeTestCase {
|
|||
*
|
||||
* @param string $string
|
||||
* @param int $len
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __pad($string = '', $len = 14) {
|
||||
|
|
|
@ -226,7 +226,6 @@ DIGEST;
|
|||
/**
|
||||
* testParseDigestAuthData method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testParseAuthData() {
|
||||
|
|
|
@ -34,14 +34,12 @@ class TestAuthComponent extends AuthComponent {
|
|||
* testStop property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $testStop = false;
|
||||
|
||||
/**
|
||||
* stop method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function _stop($status = 0) {
|
||||
|
@ -62,7 +60,6 @@ class AuthUser extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AuthUser'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AuthUser';
|
||||
|
||||
|
@ -70,7 +67,6 @@ class AuthUser extends CakeTestModel {
|
|||
* useDbConfig property
|
||||
*
|
||||
* @var string 'test'
|
||||
* @access public
|
||||
*/
|
||||
public $useDbConfig = 'test';
|
||||
|
||||
|
@ -88,7 +84,6 @@ class AuthTestController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AuthTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AuthTest';
|
||||
|
||||
|
@ -96,7 +91,6 @@ class AuthTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array('AuthUser');
|
||||
|
||||
|
@ -104,7 +98,6 @@ class AuthTestController extends Controller {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Session', 'Auth');
|
||||
|
||||
|
@ -112,14 +105,12 @@ class AuthTestController extends Controller {
|
|||
* testUrl property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $testUrl = null;
|
||||
|
||||
/**
|
||||
* construct method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __construct($request, $response) {
|
||||
|
@ -133,7 +124,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* login method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function login() {
|
||||
|
@ -142,7 +132,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* admin_login method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function admin_login() {
|
||||
|
@ -151,7 +140,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* admin_add method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function admin_add() {
|
||||
|
@ -160,7 +148,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* logout method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function logout() {
|
||||
|
@ -170,7 +157,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* add method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function add() {
|
||||
|
@ -180,7 +166,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* add method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function camelCase() {
|
||||
|
@ -193,7 +178,6 @@ class AuthTestController extends Controller {
|
|||
* @param mixed $url
|
||||
* @param mixed $status
|
||||
* @param mixed $exit
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function redirect($url, $status = null, $exit = true) {
|
||||
|
@ -204,7 +188,6 @@ class AuthTestController extends Controller {
|
|||
/**
|
||||
* isAuthorized method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function isAuthorized() {
|
||||
|
@ -224,7 +207,6 @@ class AjaxAuthController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AjaxAuth'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AjaxAuth';
|
||||
|
||||
|
@ -232,7 +214,6 @@ class AjaxAuthController extends Controller {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Session', 'TestAuth');
|
||||
|
||||
|
@ -240,7 +221,6 @@ class AjaxAuthController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
@ -248,14 +228,12 @@ class AjaxAuthController extends Controller {
|
|||
* testUrl property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $testUrl = null;
|
||||
|
||||
/**
|
||||
* beforeFilter method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeFilter() {
|
||||
|
@ -267,7 +245,6 @@ class AjaxAuthController extends Controller {
|
|||
/**
|
||||
* add method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function add() {
|
||||
|
@ -282,7 +259,6 @@ class AjaxAuthController extends Controller {
|
|||
* @param mixed $url
|
||||
* @param mixed $status
|
||||
* @param mixed $exit
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function redirect($url, $status = null, $exit = true) {
|
||||
|
@ -303,7 +279,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'Auth'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Auth';
|
||||
|
||||
|
@ -311,7 +286,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.auth_user');
|
||||
|
||||
|
@ -319,14 +293,12 @@ class AuthComponentTest extends CakeTestCase {
|
|||
* initialized property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $initialized = false;
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -375,7 +347,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testNoAuth method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNoAuth() {
|
||||
|
@ -385,7 +356,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testIsErrorOrTests
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIsErrorOrTests() {
|
||||
|
@ -406,7 +376,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testLogin method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLogin() {
|
||||
|
@ -470,7 +439,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testAuthorizeFalse method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAuthorizeFalse() {
|
||||
|
@ -633,7 +601,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that deny always takes precedence over allow
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAllowDenyAll() {
|
||||
|
@ -729,7 +696,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoginRedirect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoginRedirect() {
|
||||
|
@ -919,7 +885,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testAdminRoute method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAdminRoute() {
|
||||
|
@ -949,7 +914,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testAjaxLogin method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAjaxLogin() {
|
||||
|
@ -972,7 +936,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoginActionRedirect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoginActionRedirect() {
|
||||
|
@ -1007,7 +970,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that shutdown destroys the redirect session var
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testShutDown() {
|
||||
|
@ -1022,7 +984,6 @@ class AuthComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* test $settings in Controller::$components
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testComponentSettings() {
|
||||
|
|
|
@ -33,14 +33,12 @@ class CookieComponentTestController extends Controller {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Cookie');
|
||||
|
||||
/**
|
||||
* beforeFilter method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeFilter() {
|
||||
|
@ -64,14 +62,12 @@ class CookieComponentTest extends CakeTestCase {
|
|||
* Controller property
|
||||
*
|
||||
* @var CookieComponentTestController
|
||||
* @access public
|
||||
*/
|
||||
public $Controller;
|
||||
|
||||
/**
|
||||
* start
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -94,7 +90,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* end
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -136,7 +131,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testCookieName
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCookieName() {
|
||||
|
@ -146,7 +140,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadEncryptedCookieData
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadEncryptedCookieData() {
|
||||
|
@ -163,7 +156,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadPlainCookieData
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadPlainCookieData() {
|
||||
|
@ -223,7 +215,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testWritePlainCookieArray
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWritePlainCookieArray() {
|
||||
|
@ -254,7 +245,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadingCookieValue
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadingCookieValue() {
|
||||
|
@ -283,7 +273,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testDeleteCookieValue
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteCookieValue() {
|
||||
|
@ -310,7 +299,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadingCookieArray
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadingCookieArray() {
|
||||
|
@ -368,7 +356,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadingCookieDataOnStartup
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadingCookieDataOnStartup() {
|
||||
|
@ -420,7 +407,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadingCookieDataWithoutStartup
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadingCookieDataWithoutStartup() {
|
||||
|
@ -551,7 +537,6 @@ class CookieComponentTest extends CakeTestCase {
|
|||
*
|
||||
* @param mixed $value
|
||||
* @return string
|
||||
* @access private
|
||||
*/
|
||||
function __encrypt($value) {
|
||||
if (is_array($value)) {
|
||||
|
|
|
@ -32,7 +32,6 @@ class EmailTestComponent extends EmailComponent {
|
|||
/**
|
||||
* Convenience method for testing.
|
||||
*
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function strip($content, $message = false) {
|
||||
|
@ -95,7 +94,6 @@ class EmailTestController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'EmailTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'EmailTest';
|
||||
|
||||
|
@ -103,7 +101,6 @@ class EmailTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $uses = null;
|
||||
|
||||
|
@ -111,7 +108,6 @@ class EmailTestController extends Controller {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Session', 'EmailTest');
|
||||
|
||||
|
@ -128,7 +124,6 @@ class EmailComponentTest extends CakeTestCase {
|
|||
* Controller property
|
||||
*
|
||||
* @var EmailTestController
|
||||
* @access public
|
||||
*/
|
||||
public $Controller;
|
||||
|
||||
|
@ -136,14 +131,12 @@ class EmailComponentTest extends CakeTestCase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'Email'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Email';
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -164,7 +157,6 @@ class EmailComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -177,7 +169,6 @@ class EmailComponentTest extends CakeTestCase {
|
|||
* osFix method
|
||||
*
|
||||
* @param string $string
|
||||
* @access private
|
||||
* @return string
|
||||
*/
|
||||
function __osFix($string) {
|
||||
|
@ -187,7 +178,6 @@ class EmailComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSendFormats method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSendFormats() {
|
||||
|
@ -239,7 +229,6 @@ MSGBLOC;
|
|||
/**
|
||||
* testTemplates method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTemplates() {
|
||||
|
@ -365,7 +354,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testSendDebug method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSendDebug() {
|
||||
|
@ -427,7 +415,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testMessageRetrievalWithoutTemplate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMessageRetrievalWithoutTemplate() {
|
||||
|
@ -465,7 +452,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testMessageRetrievalWithTemplate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMessageRetrievalWithTemplate() {
|
||||
|
@ -526,7 +512,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testMessageRetrievalWithHelper method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMessageRetrievalWithHelper() {
|
||||
|
@ -555,7 +540,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testContentArray method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSendContentArray() {
|
||||
|
@ -603,7 +587,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testContentStripping method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testContentStripping() {
|
||||
|
@ -662,7 +645,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testMultibyte method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyte() {
|
||||
|
@ -778,7 +760,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testReset method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReset() {
|
||||
|
@ -849,7 +830,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testStartup method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStartup() {
|
||||
|
@ -859,7 +839,6 @@ HTMLBLOC;
|
|||
/**
|
||||
* testMessageId method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMessageId() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class PaginatorTestController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'PaginatorTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'PaginatorTest';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class PaginatorTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
//public $uses = null;
|
||||
|
||||
|
@ -50,7 +48,6 @@ class PaginatorTestController extends Controller {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Paginator');
|
||||
}
|
||||
|
@ -66,7 +63,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'PaginatorControllerPost'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'PaginatorControllerPost';
|
||||
|
||||
|
@ -74,7 +70,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
|
||||
|
@ -82,7 +77,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
|||
* invalidFields property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $invalidFields = array('name' => 'error_msg');
|
||||
|
||||
|
@ -97,7 +91,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
|||
* beforeFind method
|
||||
*
|
||||
* @param mixed $query
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeFind($query) {
|
||||
|
@ -109,7 +102,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
|||
*
|
||||
* @param mixed $type
|
||||
* @param array $options
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function find($conditions = null, $fields = array(), $order = null, $recursive = null) {
|
||||
|
@ -133,7 +125,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerPaginateModel'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ControllerPaginateModel';
|
||||
|
||||
|
@ -141,7 +132,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'comments'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -157,7 +147,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
|||
/**
|
||||
* paginateCount
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function paginateCount($conditions, $recursive, $extra) {
|
||||
|
@ -176,7 +165,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'Comment'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Comment';
|
||||
|
||||
|
@ -184,7 +172,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'comments'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -192,7 +179,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
|||
* alias property
|
||||
*
|
||||
* @var string 'PaginatorControllerComment'
|
||||
* @access public
|
||||
*/
|
||||
public $alias = 'PaginatorControllerComment';
|
||||
}
|
||||
|
@ -203,7 +189,6 @@ class PaginatorTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.post', 'core.comment');
|
||||
|
||||
|
@ -226,7 +211,6 @@ class PaginatorTest extends CakeTestCase {
|
|||
/**
|
||||
* testPaginate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPaginate() {
|
||||
|
@ -340,7 +324,6 @@ class PaginatorTest extends CakeTestCase {
|
|||
/**
|
||||
* testPaginateExtraParams method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPaginateExtraParams() {
|
||||
|
@ -462,7 +445,6 @@ class PaginatorTest extends CakeTestCase {
|
|||
/**
|
||||
* testDefaultPaginateParams method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDefaultPaginateParams() {
|
||||
|
@ -727,7 +709,6 @@ class PaginatorTest extends CakeTestCase {
|
|||
* testPaginateMaxLimit
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
public function testPaginateMaxLimit() {
|
||||
$Controller = new Controller($this->request);
|
||||
|
|
|
@ -33,7 +33,6 @@ class RequestHandlerTestController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'RequestHandlerTest';
|
||||
|
||||
|
@ -41,7 +40,6 @@ class RequestHandlerTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $uses = null;
|
||||
|
||||
|
@ -89,7 +87,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
* Controller property
|
||||
*
|
||||
* @var RequestHandlerTestController
|
||||
* @access public
|
||||
*/
|
||||
public $Controller;
|
||||
|
||||
|
@ -97,14 +94,12 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
* RequestHandler property
|
||||
*
|
||||
* @var RequestHandlerComponent
|
||||
* @access public
|
||||
*/
|
||||
public $RequestHandler;
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -115,7 +110,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* init method
|
||||
*
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
function _init() {
|
||||
|
@ -130,7 +124,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* endTest method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -160,7 +153,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testInitializeCallback method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInitializeCallback() {
|
||||
|
@ -212,7 +204,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testDisabling method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDisabling() {
|
||||
|
@ -227,7 +218,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testAutoResponseType method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAutoResponseType() {
|
||||
|
@ -242,7 +232,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testAutoAjaxLayout method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAutoAjaxLayout() {
|
||||
|
@ -262,7 +251,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testStartupCallback method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStartupCallback() {
|
||||
|
@ -314,7 +302,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testNonAjaxRedirect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNonAjaxRedirect() {
|
||||
|
@ -326,7 +313,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testRenderAs method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRenderAs() {
|
||||
|
@ -433,7 +419,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestClientTypes method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestClientTypes() {
|
||||
|
@ -447,7 +432,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests the detection of various Flash versions
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFlashDetection() {
|
||||
|
@ -463,7 +447,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestContentTypes method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestContentTypes() {
|
||||
|
@ -503,7 +486,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testResponseContentType method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testResponseContentType() {
|
||||
|
@ -515,7 +497,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testMobileDeviceDetection method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMobileDeviceDetection() {
|
||||
|
@ -531,7 +512,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestProperties method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestProperties() {
|
||||
|
@ -547,7 +527,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestMethod method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestMethod() {
|
||||
|
@ -612,7 +591,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* test accepts and prefers methods.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPrefers() {
|
||||
|
@ -637,7 +615,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testCustomContent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCustomContent() {
|
||||
|
@ -650,7 +627,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testClientProperties method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testClientProperties() {
|
||||
|
|
|
@ -30,7 +30,6 @@ class SessionTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
@ -55,7 +54,6 @@ class OrangeSessionTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
@ -111,7 +109,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -123,7 +120,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -134,7 +130,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* ensure that session ids don't change when request action is called.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionIdConsistentAcrossRequestAction() {
|
||||
|
@ -156,7 +151,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionValid method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionValid() {
|
||||
|
@ -176,7 +170,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionError method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionError() {
|
||||
|
@ -187,7 +180,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionReadWrite method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionReadWrite() {
|
||||
|
@ -221,7 +213,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionDelete method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionDelete() {
|
||||
|
@ -236,7 +227,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionCheck method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionCheck() {
|
||||
|
@ -252,7 +242,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionFlash method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionFlash() {
|
||||
|
@ -278,7 +267,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionId method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionId() {
|
||||
|
@ -291,7 +279,6 @@ class SessionComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionDestroy method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionDestroy() {
|
||||
|
|
|
@ -31,7 +31,6 @@ class ParamTestComponent extends Component {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ParamTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ParamTest';
|
||||
|
||||
|
@ -39,7 +38,6 @@ class ParamTestComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Banana' => array('config' => 'value'));
|
||||
|
||||
|
@ -48,7 +46,6 @@ class ParamTestComponent extends Component {
|
|||
*
|
||||
* @param mixed $controller
|
||||
* @param mixed $settings
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function initialize(&$controller, $settings) {
|
||||
|
@ -73,7 +70,6 @@ class ComponentTestController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ComponentTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ComponentTest';
|
||||
|
||||
|
@ -81,7 +77,6 @@ class ComponentTestController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
|
@ -98,7 +93,6 @@ class AppleComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Orange');
|
||||
|
||||
|
@ -106,7 +100,6 @@ class AppleComponent extends Component {
|
|||
* testName property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $testName = null;
|
||||
|
||||
|
@ -114,7 +107,6 @@ class AppleComponent extends Component {
|
|||
* startup method
|
||||
*
|
||||
* @param mixed $controller
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function startup(&$controller) {
|
||||
|
@ -133,7 +125,6 @@ class OrangeComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Banana');
|
||||
|
||||
|
@ -141,7 +132,6 @@ class OrangeComponent extends Component {
|
|||
* initialize method
|
||||
*
|
||||
* @param mixed $controller
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function initialize(&$controller) {
|
||||
|
@ -171,7 +161,6 @@ class BananaComponent extends Component {
|
|||
* testField property
|
||||
*
|
||||
* @var string 'BananaField'
|
||||
* @access public
|
||||
*/
|
||||
public $testField = 'BananaField';
|
||||
|
||||
|
@ -197,7 +186,6 @@ class MutuallyReferencingOneComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('MutuallyReferencingTwo');
|
||||
}
|
||||
|
@ -213,7 +201,6 @@ class MutuallyReferencingTwoComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('MutuallyReferencingOne');
|
||||
}
|
||||
|
@ -229,7 +216,6 @@ class SomethingWithEmailComponent extends Component {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Email');
|
||||
}
|
||||
|
@ -245,7 +231,6 @@ class ComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -258,7 +243,6 @@ class ComponentTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
|
|
@ -33,21 +33,18 @@ class ControllerTestAppController extends Controller {
|
|||
* helpers property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $helpers = array('Html');
|
||||
/**
|
||||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array('ControllerPost');
|
||||
/**
|
||||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Cookie');
|
||||
}
|
||||
|
@ -64,7 +61,6 @@ class ControllerPost extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerPost'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ControllerPost';
|
||||
|
||||
|
@ -72,7 +68,6 @@ class ControllerPost extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
|
||||
|
@ -80,7 +75,6 @@ class ControllerPost extends CakeTestModel {
|
|||
* invalidFields property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $invalidFields = array('name' => 'error_msg');
|
||||
|
||||
|
@ -88,7 +82,6 @@ class ControllerPost extends CakeTestModel {
|
|||
* lastQuery property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $lastQuery = null;
|
||||
|
||||
|
@ -96,7 +89,6 @@ class ControllerPost extends CakeTestModel {
|
|||
* beforeFind method
|
||||
*
|
||||
* @param mixed $query
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeFind($query) {
|
||||
|
@ -108,7 +100,6 @@ class ControllerPost extends CakeTestModel {
|
|||
*
|
||||
* @param mixed $type
|
||||
* @param array $options
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function find($type, $options = array()) {
|
||||
|
@ -132,7 +123,6 @@ class ControllerCommentsController extends ControllerTestAppController {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerPost'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ControllerComments';
|
||||
|
||||
|
@ -150,7 +140,6 @@ class ControllerComment extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerComment'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Comment';
|
||||
|
||||
|
@ -158,7 +147,6 @@ class ControllerComment extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'comments'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -166,7 +154,6 @@ class ControllerComment extends CakeTestModel {
|
|||
* data property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $data = array('name' => 'Some Name');
|
||||
|
||||
|
@ -174,7 +161,6 @@ class ControllerComment extends CakeTestModel {
|
|||
* alias property
|
||||
*
|
||||
* @var string 'ControllerComment'
|
||||
* @access public
|
||||
*/
|
||||
public $alias = 'ControllerComment';
|
||||
}
|
||||
|
@ -190,7 +176,6 @@ class ControllerAlias extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerAlias'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ControllerAlias';
|
||||
|
||||
|
@ -198,7 +183,6 @@ class ControllerAlias extends CakeTestModel {
|
|||
* alias property
|
||||
*
|
||||
* @var string 'ControllerSomeAlias'
|
||||
* @access public
|
||||
*/
|
||||
public $alias = 'ControllerSomeAlias';
|
||||
|
||||
|
@ -206,7 +190,6 @@ class ControllerAlias extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
}
|
||||
|
@ -221,14 +204,12 @@ class NameTest extends CakeTestModel {
|
|||
/**
|
||||
* name property
|
||||
* @var string 'Name'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Name';
|
||||
|
||||
/**
|
||||
* useTable property
|
||||
* @var string 'names'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -236,7 +217,6 @@ class NameTest extends CakeTestModel {
|
|||
* alias property
|
||||
*
|
||||
* @var string 'ControllerComment'
|
||||
* @access public
|
||||
*/
|
||||
public $alias = 'Name';
|
||||
}
|
||||
|
@ -251,7 +231,6 @@ class TestController extends ControllerTestAppController {
|
|||
/**
|
||||
* name property
|
||||
* @var string 'Name'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Test';
|
||||
|
||||
|
@ -259,7 +238,6 @@ class TestController extends ControllerTestAppController {
|
|||
* helpers property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $helpers = array('Session');
|
||||
|
||||
|
@ -267,7 +245,6 @@ class TestController extends ControllerTestAppController {
|
|||
* components property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $components = array('Security');
|
||||
|
||||
|
@ -275,7 +252,6 @@ class TestController extends ControllerTestAppController {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array('ControllerComment', 'ControllerAlias');
|
||||
|
||||
|
@ -286,7 +262,6 @@ class TestController extends ControllerTestAppController {
|
|||
*
|
||||
* @param mixed $testId
|
||||
* @param mixed $test2Id
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function index($testId, $test2Id) {
|
||||
|
@ -326,7 +301,6 @@ class TestComponent extends Object {
|
|||
/**
|
||||
* beforeRedirect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeRedirect() {
|
||||
|
@ -334,7 +308,6 @@ class TestComponent extends Object {
|
|||
/**
|
||||
* initialize method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function initialize(&$controller) {
|
||||
|
@ -343,7 +316,6 @@ class TestComponent extends Object {
|
|||
/**
|
||||
* startup method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function startup(&$controller) {
|
||||
|
@ -351,7 +323,6 @@ class TestComponent extends Object {
|
|||
/**
|
||||
* shutdown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function shutdown(&$controller) {
|
||||
|
@ -378,14 +349,12 @@ class AnotherTestController extends ControllerTestAppController {
|
|||
/**
|
||||
* name property
|
||||
* @var string 'Name'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AnotherTest';
|
||||
/**
|
||||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = null;
|
||||
|
||||
|
@ -403,7 +372,6 @@ class ControllerTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.post', 'core.comment', 'core.name');
|
||||
|
||||
|
@ -421,7 +389,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* teardown
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function teardown() {
|
||||
|
@ -432,7 +399,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoadModel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadModel() {
|
||||
|
@ -454,7 +420,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoadModel method from a plugin controller
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadModelInPlugins() {
|
||||
|
@ -485,7 +450,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testConstructClasses method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConstructClasses() {
|
||||
|
@ -518,7 +482,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testAliasName method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAliasName() {
|
||||
|
@ -536,7 +499,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testFlash method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFlash() {
|
||||
|
@ -581,7 +543,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testControllerSet method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testControllerSet() {
|
||||
|
@ -625,7 +586,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testRender method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRender() {
|
||||
|
@ -700,7 +660,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testToBeInheritedGuardmethods method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testToBeInheritedGuardmethods() {
|
||||
|
@ -734,7 +693,6 @@ class ControllerTest extends CakeTestCase {
|
|||
* testRedirect method
|
||||
*
|
||||
* @dataProvider statusCodeProvider
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRedirectByCode($code, $msg) {
|
||||
|
@ -871,7 +829,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testMergeVars method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMergeVars() {
|
||||
|
@ -933,7 +890,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* test that options from child classes replace those in the parent classes.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testChildComponentOptionsSupercedeParents() {
|
||||
|
@ -967,7 +923,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testReferer method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReferer() {
|
||||
|
@ -1004,7 +959,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testSetAction method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSetAction() {
|
||||
|
@ -1019,7 +973,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testValidateErrors method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testValidateErrors() {
|
||||
|
@ -1062,7 +1015,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testPostConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPostConditions() {
|
||||
|
@ -1128,7 +1080,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestHandlerPrefers method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestHandlerPrefers(){
|
||||
|
@ -1153,7 +1104,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testControllerHttpCodes method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testControllerHttpCodes() {
|
||||
|
@ -1168,7 +1118,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that the startup process calls the correct functions
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStartupProcess() {
|
||||
|
@ -1189,7 +1138,6 @@ class ControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that the shutdown process calls the correct functions
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testShutdownProcess() {
|
||||
|
|
|
@ -29,7 +29,6 @@ class PagesControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* endTest method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function endTest() {
|
||||
|
@ -39,7 +38,6 @@ class PagesControllerTest extends CakeTestCase {
|
|||
/**
|
||||
* testDisplay method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDisplay() {
|
||||
|
|
|
@ -32,7 +32,6 @@ class ScaffoldMockController extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ScaffoldMock'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ScaffoldMock';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class ScaffoldMockController extends Controller {
|
|||
* scaffold property
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $scaffold;
|
||||
}
|
||||
|
@ -56,7 +54,6 @@ class ScaffoldMockControllerWithFields extends Controller {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ScaffoldMock'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'ScaffoldMock';
|
||||
|
||||
|
@ -64,7 +61,6 @@ class ScaffoldMockControllerWithFields extends Controller {
|
|||
* scaffold property
|
||||
*
|
||||
* @var mixed
|
||||
* @access public
|
||||
*/
|
||||
public $scaffold;
|
||||
|
||||
|
@ -116,7 +112,6 @@ class ScaffoldMock extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'articles';
|
||||
|
||||
|
@ -124,7 +119,6 @@ class ScaffoldMock extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'User' => array(
|
||||
|
@ -137,7 +131,6 @@ class ScaffoldMock extends CakeTestModel {
|
|||
* hasMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasMany = array(
|
||||
'Comment' => array(
|
||||
|
@ -171,7 +164,6 @@ class ScaffoldUser extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'users';
|
||||
|
||||
|
@ -179,7 +171,6 @@ class ScaffoldUser extends CakeTestModel {
|
|||
* hasMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasMany = array(
|
||||
'Article' => array(
|
||||
|
@ -200,7 +191,6 @@ class ScaffoldComment extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -208,7 +198,6 @@ class ScaffoldComment extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'Article' => array(
|
||||
|
@ -228,7 +217,6 @@ class ScaffoldTag extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'tags';
|
||||
}
|
||||
|
@ -243,7 +231,6 @@ class TestScaffoldView extends ScaffoldView {
|
|||
* testGetFilename method
|
||||
*
|
||||
* @param mixed $action
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetFilename($action) {
|
||||
|
@ -262,14 +249,12 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -299,7 +284,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetViewFilename method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetViewFilename() {
|
||||
|
@ -402,7 +386,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* test default index scaffold generation
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIndexScaffold() {
|
||||
|
@ -442,7 +425,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* test default view scaffold generation
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testViewScaffold() {
|
||||
|
@ -485,7 +467,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* test default view scaffold generation
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testEditScaffold() {
|
||||
|
@ -528,7 +509,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* Test Admin Index Scaffolding.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAdminIndexScaffold() {
|
||||
|
@ -574,7 +554,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* Test Admin Index Scaffolding.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAdminEditScaffold() {
|
||||
|
@ -614,7 +593,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
|||
/**
|
||||
* Test Admin Index Scaffolding.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultiplePrefixScaffold() {
|
||||
|
@ -670,7 +648,6 @@ class ScaffoldTest extends CakeTestCase {
|
|||
* Controller property
|
||||
*
|
||||
* @var SecurityTestController
|
||||
* @access public
|
||||
*/
|
||||
public $Controller;
|
||||
|
||||
|
@ -678,7 +655,6 @@ class ScaffoldTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
||||
/**
|
||||
|
@ -707,7 +683,6 @@ class ScaffoldTest extends CakeTestCase {
|
|||
* Test the correct Generation of Scaffold Params.
|
||||
* This ensures that the correct action and view will be generated
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testScaffoldParams() {
|
||||
|
|
|
@ -19,7 +19,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuild method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBuild() {
|
||||
|
@ -87,7 +86,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* tests that it is possible to set up paths using the cake 1.3 notation for them (models, behaviors, controllers...)
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCompatibleBuild() {
|
||||
|
@ -188,7 +186,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuildWithReset method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildWithReset() {
|
||||
|
@ -216,7 +213,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testCore method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCore() {
|
||||
|
@ -242,7 +238,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testListObjects method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testListObjects() {
|
||||
|
@ -404,7 +399,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testClassLoading method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testClassLoading() {
|
||||
|
@ -545,7 +539,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testFileLoading method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFileLoading () {
|
||||
|
@ -559,7 +552,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testFileLoadingWithArray method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFileLoadingWithArray() {
|
||||
|
@ -577,7 +569,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testFileLoadingReturnValue method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFileLoadingReturnValue () {
|
||||
|
@ -597,7 +588,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoadingWithSearch method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadingWithSearch () {
|
||||
|
@ -611,7 +601,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoadingWithSearchArray method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadingWithSearchArray() {
|
||||
|
@ -639,7 +628,6 @@ class AppTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultipleLoading method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultipleLoading() {
|
||||
|
|
|
@ -30,7 +30,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -45,7 +44,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -75,7 +73,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testRead method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRead() {
|
||||
|
@ -103,7 +100,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testWrite method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWrite() {
|
||||
|
@ -156,7 +152,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testDelete method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDelete() {
|
||||
|
@ -241,7 +236,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoad method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadPlugin() {
|
||||
|
@ -265,7 +259,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testStore method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStoreAndRestore() {
|
||||
|
@ -306,7 +299,6 @@ class ConfigureTest extends CakeTestCase {
|
|||
/**
|
||||
* testVersion method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testVersion() {
|
||||
|
|
|
@ -33,7 +33,6 @@ class RequestActionPost extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'ControllerPost'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'RequestActionPost';
|
||||
|
||||
|
@ -41,7 +40,6 @@ class RequestActionPost extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
}
|
||||
|
@ -86,7 +84,6 @@ class RequestActionController extends Controller {
|
|||
/**
|
||||
* normal_request_action method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function normal_request_action() {
|
||||
|
@ -105,7 +102,6 @@ class RequestActionController extends Controller {
|
|||
/**
|
||||
* paginate_request_action method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function paginate_request_action() {
|
||||
|
@ -144,7 +140,6 @@ class TestObject extends Object {
|
|||
* firstName property
|
||||
*
|
||||
* @var string 'Joel'
|
||||
* @access public
|
||||
*/
|
||||
public $firstName = 'Joel';
|
||||
|
||||
|
@ -152,7 +147,6 @@ class TestObject extends Object {
|
|||
* lastName property
|
||||
*
|
||||
* @var string 'Moss'
|
||||
* @access public
|
||||
*/
|
||||
public $lastName = 'Moss';
|
||||
|
||||
|
@ -160,14 +154,12 @@ class TestObject extends Object {
|
|||
* methodCalls property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $methodCalls = array();
|
||||
|
||||
/**
|
||||
* emptyMethod method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function emptyMethod() {
|
||||
|
@ -178,7 +170,6 @@ class TestObject extends Object {
|
|||
* oneParamMethod method
|
||||
*
|
||||
* @param mixed $param
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function oneParamMethod($param) {
|
||||
|
@ -190,7 +181,6 @@ class TestObject extends Object {
|
|||
*
|
||||
* @param mixed $param
|
||||
* @param mixed $param2
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function twoParamMethod($param, $param2) {
|
||||
|
@ -203,7 +193,6 @@ class TestObject extends Object {
|
|||
* @param mixed $param
|
||||
* @param mixed $param2
|
||||
* @param mixed $param3
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function threeParamMethod($param, $param2, $param3) {
|
||||
|
@ -216,7 +205,6 @@ class TestObject extends Object {
|
|||
* @param mixed $param2
|
||||
* @param mixed $param3
|
||||
* @param mixed $param4
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function fourParamMethod($param, $param2, $param3, $param4) {
|
||||
|
@ -230,7 +218,6 @@ class TestObject extends Object {
|
|||
* @param mixed $param3
|
||||
* @param mixed $param4
|
||||
* @param mixed $param5
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function fiveParamMethod($param, $param2, $param3, $param4, $param5) {
|
||||
|
@ -247,7 +234,6 @@ class TestObject extends Object {
|
|||
* @param mixed $param5
|
||||
* @param mixed $param6
|
||||
* @param mixed $param7
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function crazyMethod($param, $param2, $param3, $param4, $param5, $param6, $param7 = null) {
|
||||
|
@ -258,7 +244,6 @@ class TestObject extends Object {
|
|||
* methodWithOptionalParam method
|
||||
*
|
||||
* @param mixed $param
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function methodWithOptionalParam($param = null) {
|
||||
|
@ -302,7 +287,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -312,7 +296,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -324,7 +307,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* testLog method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLog() {
|
||||
|
@ -355,7 +337,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* testSet method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSet() {
|
||||
|
@ -376,7 +357,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* testToString method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testToString() {
|
||||
|
@ -387,7 +367,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* testMethodDispatching method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMethodDispatching() {
|
||||
|
@ -454,7 +433,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* testRequestAction method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestAction() {
|
||||
|
@ -585,7 +563,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* Test that requestAction() is populating $this->params properly
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestActionParamParseAndPass() {
|
||||
|
@ -609,7 +586,6 @@ class ObjectTest extends CakeTestCase {
|
|||
/**
|
||||
* test requestAction and POST parameter passing, and not passing when url is an array.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRequestActionPostPassing() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class AuthBlueberryUser extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AuthBlueberryUser'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AuthBlueberryUser';
|
||||
|
||||
|
@ -42,7 +41,6 @@ class AuthBlueberryUser extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = false;
|
||||
}
|
||||
|
@ -57,7 +55,6 @@ class BlueberryComponent extends Component {
|
|||
/**
|
||||
* testName property
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public $testName = null;
|
||||
|
@ -65,7 +62,6 @@ class BlueberryComponent extends Component {
|
|||
/**
|
||||
* initialize method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function initialize(&$controller) {
|
||||
|
@ -84,14 +80,12 @@ class TestErrorController extends Controller {
|
|||
* uses property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $uses = array();
|
||||
|
||||
/**
|
||||
* components property
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public $components = array('Blueberry');
|
||||
|
@ -99,7 +93,6 @@ class TestErrorController extends Controller {
|
|||
/**
|
||||
* beforeRender method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeRender() {
|
||||
|
@ -109,7 +102,6 @@ class TestErrorController extends Controller {
|
|||
/**
|
||||
* index method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function index() {
|
||||
|
@ -340,7 +332,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
/**
|
||||
* testerror400 method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testError400() {
|
||||
|
@ -411,7 +402,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
/**
|
||||
* testError500 method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testError500Message() {
|
||||
|
@ -430,7 +420,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
/**
|
||||
* testMissingController method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMissingController() {
|
||||
|
|
|
@ -28,7 +28,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -43,7 +42,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -99,7 +97,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testDefaultStrings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDefaultStrings() {
|
||||
|
@ -169,7 +166,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesZero method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesZero() {
|
||||
|
@ -241,7 +237,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesZero method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesZero() {
|
||||
|
@ -313,7 +308,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesOne method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesOne() {
|
||||
|
@ -385,7 +379,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesOne method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesOne() {
|
||||
|
@ -457,7 +450,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesTwo method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesTwo() {
|
||||
|
@ -529,7 +521,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesTwo method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesTwo() {
|
||||
|
@ -601,7 +592,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesThree method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesThree() {
|
||||
|
@ -673,7 +663,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesThree method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesThree() {
|
||||
|
@ -745,7 +734,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesFour method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesFour() {
|
||||
|
@ -817,7 +805,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesFour method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesFour() {
|
||||
|
@ -889,7 +876,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesFive method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesFive() {
|
||||
|
@ -963,7 +949,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesFive method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesFive() {
|
||||
|
@ -1037,7 +1022,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesSix method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesSix() {
|
||||
|
@ -1109,7 +1093,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesSix method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesSix() {
|
||||
|
@ -1181,7 +1164,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesSeven method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesSeven() {
|
||||
|
@ -1253,7 +1235,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesSeven method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesSeven() {
|
||||
|
@ -1325,7 +1306,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesEight method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesEight() {
|
||||
|
@ -1397,7 +1377,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesEight method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesEight() {
|
||||
|
@ -1469,7 +1448,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesNine method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesNine() {
|
||||
|
@ -1544,7 +1522,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesNine method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesNine() {
|
||||
|
@ -1619,7 +1596,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesTen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesTen() {
|
||||
|
@ -1693,7 +1669,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesTen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesTen() {
|
||||
|
@ -1767,7 +1742,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesEleven method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesEleven() {
|
||||
|
@ -1839,7 +1813,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesEleven method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesEleven() {
|
||||
|
@ -1911,7 +1884,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesTwelve method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesTwelve() {
|
||||
|
@ -1983,7 +1955,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesTwelve method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesTwelve() {
|
||||
|
@ -2055,7 +2026,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesThirteen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesThirteen() {
|
||||
|
@ -2127,7 +2097,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesThirteen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesThirteen() {
|
||||
|
@ -2199,7 +2168,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoRulesFourteen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoRulesFourteen() {
|
||||
|
@ -2271,7 +2239,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoRulesFourteen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoRulesFourteen() {
|
||||
|
@ -2343,7 +2310,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testSetLanguageWithSession method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSetLanguageWithSession () {
|
||||
|
@ -2384,7 +2350,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testNoCoreTranslation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNoCoreTranslation () {
|
||||
|
@ -2427,7 +2392,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPluginTranslation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPluginTranslation() {
|
||||
|
@ -2471,7 +2435,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoMultipleLineTranslation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoMultipleLineTranslation () {
|
||||
|
@ -2545,7 +2508,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoNoTranslationNeeded method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoNoTranslationNeeded () {
|
||||
|
@ -2557,7 +2519,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPoQuotedString method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPoQuotedString () {
|
||||
|
@ -2568,7 +2529,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testFloatValue method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFloatValue() {
|
||||
|
@ -2590,7 +2550,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testCategory method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCategory() {
|
||||
|
@ -2602,7 +2561,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testPluginCategory method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPluginCategory() {
|
||||
|
@ -2619,7 +2577,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* testCategoryThenSingular method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCategoryThenSingular() {
|
||||
|
@ -2666,7 +2623,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Singular method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __domainCategorySingular($domain = 'test_plugin', $category = 3) {
|
||||
|
@ -2677,7 +2633,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Plural method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __domainCategoryPlural($domain = 'test_plugin', $category = 3) {
|
||||
|
@ -2691,7 +2646,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Singular method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __domainSingular($domain = 'test_plugin') {
|
||||
|
@ -2702,7 +2656,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Plural method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __domainPlural($domain = 'test_plugin') {
|
||||
|
@ -2716,7 +2669,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* category method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __category($category = 3) {
|
||||
|
@ -2727,7 +2679,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Singular method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __singular() {
|
||||
|
@ -2738,7 +2689,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* Plural method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __plural() {
|
||||
|
@ -2752,7 +2702,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* singularFromCore method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __singularFromCore() {
|
||||
|
@ -2763,7 +2712,6 @@ class I18nTest extends CakeTestCase {
|
|||
/**
|
||||
* pluralFromCore method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __pluralFromCore() {
|
||||
|
|
|
@ -28,7 +28,6 @@ class L10nTest extends CakeTestCase {
|
|||
/**
|
||||
* testGet method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGet() {
|
||||
|
@ -81,7 +80,6 @@ class L10nTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetAutoLanguage method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetAutoLanguage() {
|
||||
|
@ -115,7 +113,6 @@ class L10nTest extends CakeTestCase {
|
|||
/**
|
||||
* testMap method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMap() {
|
||||
|
@ -445,7 +442,6 @@ class L10nTest extends CakeTestCase {
|
|||
/**
|
||||
* testCatalog method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCatalog() {
|
||||
|
|
|
@ -28,7 +28,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUtf8 method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUtf8() {
|
||||
|
@ -352,7 +351,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testAscii method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAscii() {
|
||||
|
@ -673,7 +671,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStripos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStripos() {
|
||||
|
@ -921,7 +918,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStripos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStripos() {
|
||||
|
@ -1169,7 +1165,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStristr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStristr() {
|
||||
|
@ -1560,7 +1555,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStristr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStristr() {
|
||||
|
@ -1951,7 +1945,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrlen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrlen() {
|
||||
|
@ -2099,7 +2092,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrlen method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrlen() {
|
||||
|
@ -2247,7 +2239,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrpos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrpos() {
|
||||
|
@ -2495,7 +2486,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrpos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrpos() {
|
||||
|
@ -2743,7 +2733,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrrchr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrrchr() {
|
||||
|
@ -3128,7 +3117,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrrchr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrrchr() {
|
||||
|
@ -3513,7 +3501,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrrichr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrrichr() {
|
||||
|
@ -3898,7 +3885,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrrichr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrrichr() {
|
||||
|
@ -4283,7 +4269,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrripos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrripos() {
|
||||
|
@ -4536,7 +4521,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrripos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrripos() {
|
||||
|
@ -4790,7 +4774,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrrpos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrrpos() {
|
||||
|
@ -5046,7 +5029,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrrpos method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrrpos() {
|
||||
|
@ -5300,7 +5282,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrstr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrstr() {
|
||||
|
@ -5697,7 +5678,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultibyteStrstr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrstr() {
|
||||
|
@ -6094,7 +6074,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
/**
|
||||
* testUsingMbStrtolower method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrtolower() {
|
||||
|
@ -6650,7 +6629,6 @@ mb_strtolower does not work for these strings.
|
|||
/**
|
||||
* testMultibyteStrtolower method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrtolower() {
|
||||
|
@ -7208,7 +7186,6 @@ mb_strtolower does not work for these strings.
|
|||
/**
|
||||
* testUsingMbStrtoupper method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrtoupper() {
|
||||
|
@ -7754,7 +7731,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testMultibyteStrtoupper method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteStrtoupper() {
|
||||
|
@ -8307,7 +8283,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testUsingMbSubstrCount method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbSubstrCount() {
|
||||
|
@ -8561,7 +8536,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testMultibyteSubstrCount method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteSubstrCount() {
|
||||
|
@ -8815,7 +8789,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testUsingMbSubstr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbSubstr() {
|
||||
|
@ -8974,7 +8947,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testMultibyteSubstr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteSubstr() {
|
||||
|
@ -9133,7 +9105,6 @@ mb_strtoupper does not work for these strings.
|
|||
/**
|
||||
* testMultibyteSubstr method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultibyteMimeEncode() {
|
||||
|
|
|
@ -151,7 +151,6 @@ class CakeLogTest extends CakeTestCase {
|
|||
/**
|
||||
* testLogFileWriting method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLogFileWriting() {
|
||||
|
|
|
@ -28,7 +28,6 @@ class FileLogTest extends CakeTestCase {
|
|||
/**
|
||||
* testLogFileWriting method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLogFileWriting() {
|
||||
|
|
|
@ -38,7 +38,6 @@ class AclPerson extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AclPerson';
|
||||
|
||||
|
@ -46,7 +45,6 @@ class AclPerson extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'people';
|
||||
|
||||
|
@ -54,7 +52,6 @@ class AclPerson extends CakeTestModel {
|
|||
* actsAs property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $actsAs = array('Acl' => 'both');
|
||||
|
||||
|
@ -62,7 +59,6 @@ class AclPerson extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'Mother' => array(
|
||||
|
@ -75,7 +71,6 @@ class AclPerson extends CakeTestModel {
|
|||
* hasMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasMany = array(
|
||||
'Child' => array(
|
||||
|
@ -118,7 +113,6 @@ class AclUser extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'User';
|
||||
|
||||
|
@ -126,7 +120,6 @@ class AclUser extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'users';
|
||||
|
||||
|
@ -134,7 +127,6 @@ class AclUser extends CakeTestModel {
|
|||
* actsAs property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $actsAs = array('Acl' => 'requester');
|
||||
|
||||
|
@ -159,7 +151,6 @@ class AclPost extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Post';
|
||||
|
||||
|
@ -167,7 +158,6 @@ class AclPost extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
|
||||
|
@ -175,7 +165,6 @@ class AclPost extends CakeTestModel {
|
|||
* actsAs property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
var $actsAs = array('Acl' => 'Controlled');
|
||||
|
||||
|
@ -200,7 +189,6 @@ class AclBehaviorTest extends CakeTestCase {
|
|||
* Aco property
|
||||
*
|
||||
* @var Aco
|
||||
* @access public
|
||||
*/
|
||||
public $Aco;
|
||||
|
||||
|
@ -208,7 +196,6 @@ class AclBehaviorTest extends CakeTestCase {
|
|||
* Aro property
|
||||
*
|
||||
* @var Aro
|
||||
* @access public
|
||||
*/
|
||||
public $Aro;
|
||||
|
||||
|
@ -216,7 +203,6 @@ class AclBehaviorTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.person', 'core.user', 'core.post', 'core.aco', 'core.aro', 'core.aros_aco');
|
||||
|
||||
|
@ -263,7 +249,6 @@ class AclBehaviorTest extends CakeTestCase {
|
|||
* Test Setup of AclBehavior as both requester and controlled
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
public function testSetupMulti() {
|
||||
$User = new AclPerson();
|
||||
|
|
|
@ -32,7 +32,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
* Fixtures associated with this test case
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.article', 'core.article_featured', 'core.article_featureds_tags',
|
||||
|
@ -79,7 +78,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testContainments method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testContainments() {
|
||||
|
@ -149,7 +147,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testInvalidContainments method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInvalidContainments() {
|
||||
|
@ -163,7 +160,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testBeforeFind method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBeforeFind() {
|
||||
|
@ -238,7 +234,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testContain method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testContain() {
|
||||
|
@ -254,7 +249,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindEmbeddedNoBindings method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindEmbeddedNoBindings() {
|
||||
|
@ -279,7 +273,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindFirstLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindFirstLevel() {
|
||||
|
@ -388,7 +381,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindEmbeddedFirstLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindEmbeddedFirstLevel() {
|
||||
|
@ -495,7 +487,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindSecondLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindSecondLevel() {
|
||||
|
@ -842,7 +833,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindEmbeddedSecondLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindEmbeddedSecondLevel() {
|
||||
|
@ -1185,7 +1175,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindThirdLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindThirdLevel() {
|
||||
|
@ -1506,7 +1495,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindEmbeddedThirdLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindEmbeddedThirdLevel() {
|
||||
|
@ -1824,7 +1812,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testSettingsThirdLevel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSettingsThirdLevel() {
|
||||
|
@ -2071,7 +2058,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindThirdLevelNonReset method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindThirdLevelNonReset() {
|
||||
|
@ -2396,7 +2382,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindEmbeddedThirdLevelNonReset method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindEmbeddedThirdLevelNonReset() {
|
||||
|
@ -2886,7 +2871,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testEmbeddedFindFields method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testEmbeddedFindFields() {
|
||||
|
@ -2990,7 +2974,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testFindConditionalBinding method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindConditionalBinding() {
|
||||
|
@ -3130,7 +3113,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testOtherFinds method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testOtherFinds() {
|
||||
|
@ -3194,7 +3176,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testOriginalAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testOriginalAssociations() {
|
||||
|
@ -3547,7 +3528,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
*
|
||||
* @param mixed $Model
|
||||
* @param array $contain
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __containments(&$Model, $contain = array()) {
|
||||
|
@ -3569,7 +3549,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
*
|
||||
* @param mixed $Model
|
||||
* @param array $expected
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __assertBindings(&$Model, $expected = array()) {
|
||||
|
@ -3586,7 +3565,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
|||
* @param mixed $Model
|
||||
* @param array $extra
|
||||
* @param bool $output
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __bindings(&$Model, $extra = array(), $output = true) {
|
||||
|
|
|
@ -35,7 +35,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
* autoFixtures property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $autoFixtures = false;
|
||||
|
||||
|
@ -43,7 +42,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.translated_item', 'core.translate', 'core.translate_table',
|
||||
|
@ -54,7 +52,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -64,7 +61,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testTranslateModel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTranslateModel() {
|
||||
|
@ -96,7 +92,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleFalsePlain method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleFalsePlain() {
|
||||
|
@ -121,7 +116,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleFalseAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleFalseAssociations() {
|
||||
|
@ -176,7 +170,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleSingle method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleSingle() {
|
||||
|
@ -233,7 +226,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleSingleWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleSingleWithConditions() {
|
||||
|
@ -273,7 +265,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleSingleAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleSingleAssociations() {
|
||||
|
@ -334,7 +325,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testLocaleMultiple method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLocaleMultiple() {
|
||||
|
@ -390,7 +380,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testMissingTranslation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMissingTranslation() {
|
||||
|
@ -418,7 +407,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testTranslatedFindList method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTranslatedFindList() {
|
||||
|
@ -452,7 +440,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadSelectedFields method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadSelectedFields() {
|
||||
|
@ -488,7 +475,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testSaveCreate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSaveCreate() {
|
||||
|
@ -507,7 +493,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testSaveUpdate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSaveUpdate() {
|
||||
|
@ -530,7 +515,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultipleCreate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultipleCreate() {
|
||||
|
@ -569,7 +553,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testMultipleUpdate method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMultipleUpdate() {
|
||||
|
@ -612,7 +595,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testMixedCreateUpdateWithArrayLocale method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMixedCreateUpdateWithArrayLocale() {
|
||||
|
@ -654,7 +636,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testValidation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testValidation() {
|
||||
|
@ -687,7 +668,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testAttachDetach method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAttachDetach() {
|
||||
|
@ -737,7 +717,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testAnotherTranslateTable method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAnotherTranslateTable() {
|
||||
|
@ -761,7 +740,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
/**
|
||||
* testTranslateWithAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTranslateWithAssociations() {
|
||||
|
@ -855,7 +833,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
|||
* testTranslateTableWithPrefix method
|
||||
* Tests that is possible to have a translation model with a custom tablePrefix
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTranslateTableWithPrefix() {
|
||||
|
|
|
@ -33,7 +33,6 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
|||
* Whether backup global state for each test method or not
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $backupGlobals = false;
|
||||
|
||||
|
@ -41,7 +40,6 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
|||
* settings property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array(
|
||||
'modelClass' => 'AfterTree',
|
||||
|
@ -54,14 +52,12 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.after_tree');
|
||||
|
||||
/**
|
||||
* Tests the afterSave callback in the model
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAftersaveCallback() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
* Whether backup global state for each test method or not
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $backupGlobals = false;
|
||||
|
||||
|
@ -42,7 +41,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
* settings property
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $settings = array(
|
||||
'modelClass' => 'NumberTree',
|
||||
|
@ -55,14 +53,12 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.number_tree');
|
||||
|
||||
/**
|
||||
* testInitialize method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInitialize() {
|
||||
|
@ -80,7 +76,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectInvalidLeft method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectInvalidLeft() {
|
||||
|
@ -107,7 +102,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectInvalidRight method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectInvalidRight() {
|
||||
|
@ -134,7 +128,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectInvalidParent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectInvalidParent() {
|
||||
|
@ -160,7 +153,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectNoneExistantParent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectNoneExistantParent() {
|
||||
|
@ -184,7 +176,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testRecoverFromMissingParent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRecoverFromMissingParent() {
|
||||
|
@ -208,7 +199,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectInvalidParents method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectInvalidParents() {
|
||||
|
@ -231,7 +221,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDetectInvalidLftsRghts method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectInvalidLftsRghts() {
|
||||
|
@ -253,7 +242,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* Reproduces a situation where a single node has lft= rght, and all other lft and rght fields follow sequentially
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDetectEqualLftsRghts() {
|
||||
|
@ -281,7 +269,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testAddOrphan method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAddOrphan() {
|
||||
|
@ -301,7 +288,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testAddMiddle method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAddMiddle() {
|
||||
|
@ -335,7 +321,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testAddInvalid method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAddInvalid() {
|
||||
|
@ -360,7 +345,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testAddNotIndexedByModel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAddNotIndexedByModel() {
|
||||
|
@ -380,7 +364,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMovePromote method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMovePromote() {
|
||||
|
@ -407,7 +390,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveWithWhitelist method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveWithWhitelist() {
|
||||
|
@ -435,7 +417,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testInsertWithWhitelist method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInsertWithWhitelist() {
|
||||
|
@ -454,7 +435,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveBefore method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveBefore() {
|
||||
|
@ -483,7 +463,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveAfter method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveAfter() {
|
||||
|
@ -512,7 +491,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDemoteInvalid method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDemoteInvalid() {
|
||||
|
@ -546,7 +524,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveInvalid method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveInvalid() {
|
||||
|
@ -573,7 +550,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveSelfInvalid method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveSelfInvalid() {
|
||||
|
@ -600,7 +576,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveUpSuccess method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveUpSuccess() {
|
||||
|
@ -622,7 +597,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveUpFail method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveUpFail() {
|
||||
|
@ -645,7 +619,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveUp2 method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveUp2() {
|
||||
|
@ -676,7 +649,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveUpFirst method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveUpFirst() {
|
||||
|
@ -707,7 +679,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDownSuccess method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDownSuccess() {
|
||||
|
@ -729,7 +700,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDownFail method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDownFail() {
|
||||
|
@ -751,7 +721,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDownLast method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDownLast() {
|
||||
|
@ -782,7 +751,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDown2 method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDown2() {
|
||||
|
@ -813,7 +781,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testSaveNoMove method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSaveNoMove() {
|
||||
|
@ -844,7 +811,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveToRootAndMoveUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveToRootAndMoveUp() {
|
||||
|
@ -869,7 +835,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testDelete method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDelete() {
|
||||
|
@ -905,7 +870,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testRemove method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRemove() {
|
||||
|
@ -938,7 +902,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testRemoveLastTopParent method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRemoveLastTopParent() {
|
||||
|
@ -1006,7 +969,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testRemoveAndDelete method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRemoveAndDelete() {
|
||||
|
@ -1071,7 +1033,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testChildren method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testChildren() {
|
||||
|
@ -1102,7 +1063,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testCountChildren method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCountChildren() {
|
||||
|
@ -1123,7 +1083,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetParentNode method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetParentNode() {
|
||||
|
@ -1142,7 +1101,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetPath method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetPath() {
|
||||
|
@ -1163,7 +1121,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testNoAmbiguousColumn method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNoAmbiguousColumn() {
|
||||
|
@ -1196,7 +1153,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testReorderTree method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReorderTree() {
|
||||
|
@ -1228,7 +1184,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
* This caused infinite loops when moving down elements as stale data is returned
|
||||
* from the memory cache
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReorderBigTreeWithQueryCaching() {
|
||||
|
@ -1245,7 +1200,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateTreeListWithSelfJoin method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateTreeListWithSelfJoin() {
|
||||
|
@ -1263,7 +1217,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
|||
/**
|
||||
* testArraySyntax method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testArraySyntax() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
* Whether backup global state for each test method or not
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $backupGlobals = false;
|
||||
|
||||
|
@ -42,7 +41,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
* settings property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array(
|
||||
'modelClass' => 'FlagTree',
|
||||
|
@ -55,14 +53,12 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.flag_tree', 'core.ad', 'core.campaign', 'core.translate', 'core.number_tree_two');
|
||||
|
||||
/**
|
||||
* testStringScope method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStringScope() {
|
||||
|
@ -99,7 +95,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
/**
|
||||
* testArrayScope method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testArrayScope() {
|
||||
|
@ -136,7 +131,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveUpWithScope method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveUpWithScope() {
|
||||
|
@ -153,7 +147,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
/**
|
||||
* testMoveDownWithScope method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMoveDownWithScope() {
|
||||
|
@ -171,7 +164,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
|||
* Tests the interaction (non-interference) between TreeBehavior and other behaviors with respect
|
||||
* to callback hooks
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTranslatingTree() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
|||
* Whether backup global state for each test method or not
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $backupGlobals = false;
|
||||
|
||||
|
@ -42,7 +41,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
|||
* settings property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $settings = array(
|
||||
'modelClass' => 'UuidTree',
|
||||
|
@ -55,7 +53,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.uuid_tree');
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* mapMethods property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $mapMethods = array('/test(\w+)/' => 'testMethod', '/look for\s+(.+)/' => 'speakEnglish');
|
||||
|
||||
|
@ -42,7 +41,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param array $config
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setup($model, $config = array()) {
|
||||
|
@ -58,7 +56,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param mixed $query
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeFind($model, $query) {
|
||||
|
@ -87,7 +84,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* @param mixed $model
|
||||
* @param mixed $results
|
||||
* @param mixed $primary
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function afterFind($model, $results, $primary) {
|
||||
|
@ -115,7 +111,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* beforeSave method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeSave($model) {
|
||||
|
@ -142,7 +137,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param mixed $created
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function afterSave($model, $created) {
|
||||
|
@ -174,7 +168,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* beforeValidate method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeValidate($model) {
|
||||
|
@ -206,7 +199,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param bool $cascade
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeDelete($model, $cascade = true) {
|
||||
|
@ -235,7 +227,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* afterDelete method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function afterDelete($model) {
|
||||
|
@ -254,7 +245,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* onError method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function onError($model, $error) {
|
||||
|
@ -268,7 +258,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* beforeTest method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function beforeTest($model) {
|
||||
|
@ -284,7 +273,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param bool $param
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMethod(Model $model, $param = true) {
|
||||
|
@ -297,7 +285,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* testData method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testData(Model $model) {
|
||||
|
@ -313,7 +300,6 @@ class TestBehavior extends ModelBehavior {
|
|||
*
|
||||
* @param mixed $model
|
||||
* @param mixed $field
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function validateField(Model $model, $field) {
|
||||
|
@ -326,7 +312,6 @@ class TestBehavior extends ModelBehavior {
|
|||
* @param mixed $model
|
||||
* @param mixed $method
|
||||
* @param mixed $query
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function speakEnglish(Model $model, $method, $query) {
|
||||
|
@ -430,7 +415,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.apple', 'core.sample', 'core.article', 'core.user', 'core.comment',
|
||||
|
@ -467,7 +451,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorBinding method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorBinding() {
|
||||
|
@ -566,7 +549,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorToggling method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorToggling() {
|
||||
|
@ -602,7 +584,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorFindCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorFindCallbacks() {
|
||||
|
@ -661,7 +642,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorHasManyFindCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorHasManyFindCallbacks() {
|
||||
|
@ -733,7 +713,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorHasOneFindCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorHasOneFindCallbacks() {
|
||||
|
@ -803,7 +782,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorBelongsToFindCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorBelongsToFindCallbacks() {
|
||||
|
@ -872,7 +850,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorSaveCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorSaveCallbacks() {
|
||||
|
@ -935,7 +912,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorDeleteCallbacks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorDeleteCallbacks() {
|
||||
|
@ -970,7 +946,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorOnErrorCallback method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorOnErrorCallback() {
|
||||
|
@ -985,7 +960,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorValidateCallback method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorValidateCallback() {
|
||||
|
@ -1014,7 +988,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorValidateMethods method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorValidateMethods() {
|
||||
|
@ -1033,7 +1006,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorMethodDispatching method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorMethodDispatching() {
|
||||
|
@ -1059,7 +1031,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* testBehaviorMethodDispatchingWithData method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorMethodDispatchingWithData() {
|
||||
|
@ -1123,7 +1094,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
|||
/**
|
||||
* Test attach and detaching
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBehaviorAttachAndDetach() {
|
||||
|
|
|
@ -32,7 +32,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* name property
|
||||
*
|
||||
* @var string 'MyApp'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'MyApp';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* connection property
|
||||
*
|
||||
* @var string 'test'
|
||||
* @access public
|
||||
*/
|
||||
public $connection = 'test';
|
||||
|
||||
|
@ -48,7 +46,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* comments property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $comments = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -66,7 +63,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* posts property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $posts = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -84,7 +80,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* _foo property
|
||||
*
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $_foo = array('bar');
|
||||
|
||||
|
@ -92,7 +87,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* setup method
|
||||
*
|
||||
* @param mixed $version
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setup($version) {
|
||||
|
@ -102,7 +96,6 @@ class MyAppSchema extends CakeSchema {
|
|||
* teardown method
|
||||
*
|
||||
* @param mixed $version
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function teardown($version) {
|
||||
|
@ -133,7 +126,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* name property
|
||||
*
|
||||
* @var string 'MyApp'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'MyApp';
|
||||
|
||||
|
@ -141,7 +133,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* comments property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $comments = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0,'key' => 'primary'),
|
||||
|
@ -159,7 +150,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* posts property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $posts = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -177,7 +167,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* posts_tags property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $posts_tags = array(
|
||||
'post_id' => array('type' => 'integer', 'null' => false, 'key' => 'primary'),
|
||||
|
@ -190,7 +179,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* tags property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $tags = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -205,7 +193,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* datatypes property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $datatypes = array(
|
||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||
|
@ -219,7 +206,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* setup method
|
||||
*
|
||||
* @param mixed $version
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setup($version) {
|
||||
|
@ -229,7 +215,6 @@ class TestAppSchema extends CakeSchema {
|
|||
* teardown method
|
||||
*
|
||||
* @param mixed $version
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function teardown($version) {
|
||||
|
@ -247,7 +232,6 @@ class SchemaPost extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'SchemaPost'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaPost';
|
||||
|
||||
|
@ -255,7 +239,6 @@ class SchemaPost extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'posts';
|
||||
|
||||
|
@ -263,7 +246,6 @@ class SchemaPost extends CakeTestModel {
|
|||
* hasMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasMany = array('SchemaComment');
|
||||
|
||||
|
@ -271,7 +253,6 @@ class SchemaPost extends CakeTestModel {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('SchemaTag');
|
||||
}
|
||||
|
@ -287,7 +268,6 @@ class SchemaComment extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'SchemaComment'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaComment';
|
||||
|
||||
|
@ -295,7 +275,6 @@ class SchemaComment extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'comments'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'comments';
|
||||
|
||||
|
@ -303,7 +282,6 @@ class SchemaComment extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('SchemaPost');
|
||||
}
|
||||
|
@ -319,7 +297,6 @@ class SchemaTag extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'SchemaTag'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaTag';
|
||||
|
||||
|
@ -327,7 +304,6 @@ class SchemaTag extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'tags'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'tags';
|
||||
|
||||
|
@ -335,7 +311,6 @@ class SchemaTag extends CakeTestModel {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('SchemaPost');
|
||||
}
|
||||
|
@ -351,7 +326,6 @@ class SchemaDatatype extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'SchemaDatatype'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaDatatype';
|
||||
|
||||
|
@ -359,7 +333,6 @@ class SchemaDatatype extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'datatypes'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'datatypes';
|
||||
}
|
||||
|
@ -381,7 +354,6 @@ class Testdescribe extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'Testdescribe'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'Testdescribe';
|
||||
}
|
||||
|
@ -397,7 +369,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'SchemaCrossDatabase'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'SchemaCrossDatabase';
|
||||
|
||||
|
@ -405,7 +376,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'posts'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'cross_database';
|
||||
|
||||
|
@ -413,7 +383,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
|||
* useDbConfig property
|
||||
*
|
||||
* @var string 'test2'
|
||||
* @access public
|
||||
*/
|
||||
public $useDbConfig = 'test2';
|
||||
}
|
||||
|
@ -429,14 +398,12 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
|||
* name property
|
||||
*
|
||||
* @var string 'CrossDatabase'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'CrossDatabase';
|
||||
|
||||
/**
|
||||
* table property
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public $table = 'cross_database';
|
||||
|
||||
|
@ -444,7 +411,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
|||
* fields property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fields = array(
|
||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||
|
@ -455,7 +421,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
|||
* records property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $records = array(
|
||||
array('id' => 1, 'name' => 'First'),
|
||||
|
@ -500,7 +465,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.post', 'core.tag', 'core.posts_tag', 'core.test_plugin_comment',
|
||||
|
@ -537,7 +501,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaName method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaName() {
|
||||
|
@ -554,7 +517,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaRead method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaRead() {
|
||||
|
@ -639,7 +601,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaReadWithOddTablePrefix method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaReadWithOddTablePrefix() {
|
||||
|
@ -792,7 +753,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaWrite method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaWrite() {
|
||||
|
@ -808,7 +768,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaComparison method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaComparison() {
|
||||
|
@ -1009,7 +968,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaLoading method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaLoading() {
|
||||
|
@ -1038,7 +996,6 @@ class CakeSchemaTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchemaCreateTable method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaCreateTable() {
|
||||
|
|
|
@ -37,7 +37,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testEnumConnectionObjects method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testEnumConnectionObjects() {
|
||||
|
@ -51,7 +50,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetDataSource method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetDataSource() {
|
||||
|
@ -86,7 +84,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetPluginDataSource method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetPluginDataSource() {
|
||||
|
@ -108,7 +105,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetPluginDataSourceAndPluginDriver method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetPluginDataSourceAndPluginDriver() {
|
||||
|
@ -132,7 +128,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetLocalDataSourceAndPluginDriver method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetLocalDataSourceAndPluginDriver() {
|
||||
|
@ -155,7 +150,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetPluginDataSourceAndLocalDriver method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetPluginDataSourceAndLocalDriver() {
|
||||
|
@ -181,7 +175,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testSourceList method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSourceList() {
|
||||
|
@ -194,7 +187,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testGetSourceName method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetSourceName() {
|
||||
|
@ -212,7 +204,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testLoadDataSource method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadDataSource() {
|
||||
|
@ -243,7 +234,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testCreateDataSource method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCreateDataSourceWithIntegrationTests() {
|
||||
|
@ -276,7 +266,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
/**
|
||||
* testConnectionData method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConnectionData() {
|
||||
|
|
|
@ -42,14 +42,12 @@ class CakeSessionTest extends CakeTestCase {
|
|||
* Fixtures used in the SessionTest
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.session');
|
||||
|
||||
/**
|
||||
* setup before class.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public static function setupBeforeClass() {
|
||||
|
@ -61,7 +59,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* teardown after class
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public static function teardownAfterClass() {
|
||||
|
@ -72,7 +69,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setup() {
|
||||
|
@ -90,7 +86,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* tearDown method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function teardown() {
|
||||
|
@ -127,7 +122,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionPath
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionPath() {
|
||||
|
@ -141,7 +135,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCakeSessionPathEmpty
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCakeSessionPathEmpty() {
|
||||
|
@ -152,7 +145,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCakeSessionPathContainsParams
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCakeSessionPathContainsQuestion() {
|
||||
|
@ -163,7 +155,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testSetHost
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSetHost() {
|
||||
|
@ -175,7 +166,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testSetHostWithPort
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSetHostWithPort() {
|
||||
|
@ -215,7 +205,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheck method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheck() {
|
||||
|
@ -228,7 +217,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testSimpleRead method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSimpleRead() {
|
||||
|
@ -257,7 +245,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
* testReadyEmpty
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
public function testReadyEmpty() {
|
||||
$this->assertFalse(TestCakeSession::read(''));
|
||||
|
@ -267,7 +254,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
* test writing a hash of values/
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
public function testWriteArray() {
|
||||
$result = TestCakeSession::write(array(
|
||||
|
@ -286,7 +272,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
* testWriteEmptyKey
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
public function testWriteEmptyKey() {
|
||||
$this->assertFalse(TestCakeSession::write('', 'graham'));
|
||||
|
@ -297,7 +282,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testId method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testId() {
|
||||
|
@ -315,7 +299,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testStarted method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStarted() {
|
||||
|
@ -330,7 +313,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testError method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testError() {
|
||||
|
@ -346,7 +328,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testDel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDelete() {
|
||||
|
@ -364,7 +345,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testDestroy method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDestroy() {
|
||||
|
@ -379,7 +359,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckingSavedEmpty method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckingSavedEmpty() {
|
||||
|
@ -399,7 +378,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckKeyWithSpaces method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckKeyWithSpaces() {
|
||||
|
@ -414,7 +392,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckEmpty
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckEmpty() {
|
||||
|
@ -438,7 +415,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadingSavedEmpty method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadingSavedEmpty() {
|
||||
|
@ -459,7 +435,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckUserAgentFalse method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckUserAgentFalse() {
|
||||
|
@ -471,7 +446,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testCheckUserAgentTrue method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCheckUserAgentTrue() {
|
||||
|
@ -487,7 +461,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteWithDatabaseStorage method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteWithCakeStorage() {
|
||||
|
@ -570,7 +543,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteWithDatabaseStorage method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteWithCacheStorage() {
|
||||
|
@ -630,7 +602,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteWithDatabaseStorage method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadAndWriteWithDatabaseStorage() {
|
||||
|
@ -673,7 +644,6 @@ class CakeSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testSessionTimeout method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSessionTimeout() {
|
||||
|
|
|
@ -33,7 +33,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
* autoFixtures property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $autoFixtures = false;
|
||||
|
||||
|
@ -41,7 +40,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
||||
|
@ -53,7 +51,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
* The Dbo instance to be tested
|
||||
*
|
||||
* @var DboSource
|
||||
* @access public
|
||||
*/
|
||||
public $Dbo = null;
|
||||
|
||||
|
@ -659,7 +656,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadTableParameters method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReadTableParameters() {
|
||||
|
@ -689,7 +685,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuildTableParameters method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildTableParameters() {
|
||||
|
@ -709,7 +704,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuildTableParameters method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetCharsetName() {
|
||||
|
@ -850,7 +844,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testFieldDoubleEscaping method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFieldDoubleEscaping() {
|
||||
|
@ -985,7 +978,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
* buildRelatedModels method
|
||||
*
|
||||
* @param mixed $model
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
function _buildRelatedModels($model) {
|
||||
|
@ -1008,7 +1000,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
* @param mixed $model
|
||||
* @param mixed $queryData
|
||||
* @param mixed $binding
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function &_prepareAssociationQuery($model, &$queryData, $binding) {
|
||||
|
@ -1028,7 +1019,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateInnerJoinAssociationQuery method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateInnerJoinAssociationQuery() {
|
||||
|
@ -1057,7 +1047,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding() {
|
||||
|
@ -1085,7 +1074,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding() {
|
||||
|
@ -1112,7 +1100,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQuerySelfJoinWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQuerySelfJoinWithConditions() {
|
||||
|
@ -1174,7 +1161,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasOne method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasOne() {
|
||||
|
@ -1207,7 +1193,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasOneWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasOneWithConditions() {
|
||||
|
@ -1237,7 +1222,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryBelongsTo method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryBelongsTo() {
|
||||
|
@ -1269,7 +1253,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryBelongsToWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryBelongsToWithConditions() {
|
||||
|
@ -1301,7 +1284,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasMany method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasMany() {
|
||||
|
@ -1331,7 +1313,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasManyWithLimit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasManyWithLimit() {
|
||||
|
@ -1371,7 +1352,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasManyWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasManyWithConditions() {
|
||||
|
@ -1400,7 +1380,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasManyWithOffsetAndLimit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasManyWithOffsetAndLimit() {
|
||||
|
@ -1438,7 +1417,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasManyWithPageAndLimit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasManyWithPageAndLimit() {
|
||||
|
@ -1475,7 +1453,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasManyWithFields method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasManyWithFields() {
|
||||
|
@ -1623,7 +1600,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasAndBelongsToMany method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasAndBelongsToMany() {
|
||||
|
@ -1655,7 +1631,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasAndBelongsToManyWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithConditions() {
|
||||
|
@ -1684,7 +1659,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit() {
|
||||
|
@ -1721,7 +1695,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit() {
|
||||
|
@ -1758,7 +1731,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testSelectDistict method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSelectDistict() {
|
||||
|
@ -1771,7 +1743,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testStringConditionsParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStringConditionsParsing() {
|
||||
|
@ -1888,7 +1859,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testQuotesInStringConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testQuotesInStringConditions() {
|
||||
|
@ -1913,7 +1883,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testParenthesisInStringConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testParenthesisInStringConditions() {
|
||||
|
@ -1963,7 +1932,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testParenthesisInArrayConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testParenthesisInArrayConditions() {
|
||||
|
@ -2013,7 +1981,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testArrayConditionsParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testArrayConditionsParsing() {
|
||||
|
@ -2246,7 +2213,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testArrayConditionsParsingComplexKeys method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testArrayConditionsParsingComplexKeys() {
|
||||
|
@ -2272,7 +2238,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testMixedConditionsParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMixedConditionsParsing() {
|
||||
|
@ -2294,7 +2259,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testConditionsOptionalArguments method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConditionsOptionalArguments() {
|
||||
|
@ -2308,7 +2272,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testConditionsWithModel
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testConditionsWithModel() {
|
||||
|
@ -2342,7 +2305,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testFieldParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFieldParsing() {
|
||||
|
@ -2484,7 +2446,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testRenderStatement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRenderStatement() {
|
||||
|
@ -2510,7 +2471,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testSchema method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchema() {
|
||||
|
@ -2531,7 +2491,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testOrderParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testOrderParsing() {
|
||||
|
@ -2617,7 +2576,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testCalculations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCalculations() {
|
||||
|
@ -2660,7 +2618,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testLength method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLength() {
|
||||
|
@ -2704,7 +2661,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuildIndex method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildIndex() {
|
||||
|
@ -2733,7 +2689,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testBuildColumn method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBuildColumn2() {
|
||||
|
@ -3167,7 +3122,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testIntrospectType method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIntrospectType() {
|
||||
|
@ -3328,7 +3282,6 @@ class DboMysqlTest extends CakeTestCase {
|
|||
/**
|
||||
* testRealQueries method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRealQueries() {
|
||||
|
|
|
@ -35,7 +35,6 @@ class DboOracleTest extends CakeTestCase {
|
|||
/**
|
||||
* setup method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -48,7 +47,6 @@ class DboOracleTest extends CakeTestCase {
|
|||
/**
|
||||
* testLastErrorStatement method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLastErrorStatement() {
|
||||
|
@ -62,7 +60,6 @@ class DboOracleTest extends CakeTestCase {
|
|||
/**
|
||||
* testLastErrorConnect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLastErrorConnect() {
|
||||
|
@ -80,7 +77,6 @@ class DboOracleTest extends CakeTestCase {
|
|||
/**
|
||||
* testName method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testName() {
|
||||
|
|
|
@ -34,7 +34,6 @@ class DboPostgresTestDb extends Postgres {
|
|||
* simulated property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $simulated = array();
|
||||
|
||||
|
@ -42,7 +41,6 @@ class DboPostgresTestDb extends Postgres {
|
|||
* execute method
|
||||
*
|
||||
* @param mixed $sql
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
function _execute($sql, $params = array()) {
|
||||
|
@ -53,7 +51,6 @@ class DboPostgresTestDb extends Postgres {
|
|||
/**
|
||||
* getLastQuery method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function getLastQuery() {
|
||||
|
@ -72,7 +69,6 @@ class PostgresTestModel extends Model {
|
|||
* name property
|
||||
*
|
||||
* @var string 'PostgresTestModel'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'PostgresTestModel';
|
||||
|
||||
|
@ -80,7 +76,6 @@ class PostgresTestModel extends Model {
|
|||
* useTable property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = false;
|
||||
|
||||
|
@ -88,7 +83,6 @@ class PostgresTestModel extends Model {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array(
|
||||
'PostgresClientTestModel' => array(
|
||||
|
@ -103,7 +97,6 @@ class PostgresTestModel extends Model {
|
|||
* @param mixed $fields
|
||||
* @param mixed $order
|
||||
* @param mixed $recursive
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function find($conditions = null, $fields = null, $order = null, $recursive = null) {
|
||||
|
@ -117,7 +110,6 @@ class PostgresTestModel extends Model {
|
|||
* @param mixed $fields
|
||||
* @param mixed $order
|
||||
* @param mixed $recursive
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function findAll($conditions = null, $fields = null, $order = null, $recursive = null) {
|
||||
|
@ -127,7 +119,6 @@ class PostgresTestModel extends Model {
|
|||
/**
|
||||
* schema method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function schema($field = false) {
|
||||
|
@ -165,7 +156,6 @@ class PostgresClientTestModel extends Model {
|
|||
* name property
|
||||
*
|
||||
* @var string 'PostgresClientTestModel'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'PostgresClientTestModel';
|
||||
|
||||
|
@ -173,14 +163,12 @@ class PostgresClientTestModel extends Model {
|
|||
* useTable property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = false;
|
||||
|
||||
/**
|
||||
* schema method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function schema($field = false) {
|
||||
|
@ -206,7 +194,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
* using CakeTestCase::loadFixtures
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $autoFixtures = false;
|
||||
|
||||
|
@ -214,7 +201,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var object
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.user', 'core.binary_test', 'core.comment', 'core.article',
|
||||
'core.tag', 'core.articles_tag', 'core.attachment', 'core.person', 'core.post', 'core.author',
|
||||
|
@ -224,7 +210,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
* Actual DB connection used in testing
|
||||
*
|
||||
* @var DboSource
|
||||
* @access public
|
||||
*/
|
||||
public $Dbo = null;
|
||||
|
||||
|
@ -232,7 +217,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
* Simulated DB connection used in testing
|
||||
*
|
||||
* @var DboSource
|
||||
* @access public
|
||||
*/
|
||||
public $Dbo2 = null;
|
||||
|
||||
|
@ -310,7 +294,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* testColumnParsing method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testColumnParsing() {
|
||||
|
@ -325,7 +308,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* testValueQuoting method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testValueQuoting() {
|
||||
|
@ -395,7 +377,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that different Postgres boolean 'flavors' are properly returned as native PHP booleans
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBooleanNormalization() {
|
||||
|
@ -430,7 +411,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* testLastInsertIdMultipleInsert method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLastInsertIdMultipleInsert() {
|
||||
|
@ -452,7 +432,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that table lists and descriptions are scoped to the proper Postgres schema
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaScoping() {
|
||||
|
@ -474,7 +453,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
* Tests that column types without default lengths in $columns do not have length values
|
||||
* applied when generating schemas.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testColumnUseLength() {
|
||||
|
@ -490,7 +468,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests that binary data is escaped/unescaped properly on reads and writes
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testBinaryDataIntegrity() {
|
||||
|
@ -524,7 +501,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests the syntax of generated schema indexes
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchemaIndexSyntax() {
|
||||
|
@ -639,7 +615,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Test the alterSchema capabilities of postgres
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAlterSchema() {
|
||||
|
@ -688,7 +663,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Test the alter index capabilities of postgres
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAlterIndexes() {
|
||||
|
@ -764,7 +738,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/*
|
||||
* Test it is possible to use virtual field with postgresql
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testVirtualFields() {
|
||||
|
@ -786,7 +759,6 @@ class DboPostgresTest extends CakeTestCase {
|
|||
/**
|
||||
* Tests additional order options for postgres
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testOrderAdditionalParams() {
|
||||
|
|
|
@ -31,7 +31,6 @@ class DboSqliteTestDb extends Sqlite {
|
|||
* simulated property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $simulated = array();
|
||||
|
||||
|
@ -39,7 +38,6 @@ class DboSqliteTestDb extends Sqlite {
|
|||
* execute method
|
||||
*
|
||||
* @param mixed $sql
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
function _execute($sql, $params = array()) {
|
||||
|
@ -50,7 +48,6 @@ class DboSqliteTestDb extends Sqlite {
|
|||
/**
|
||||
* getLastQuery method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function getLastQuery() {
|
||||
|
@ -69,7 +66,6 @@ class DboSqliteTest extends CakeTestCase {
|
|||
* Do not automatically load fixtures for each test, they will be loaded manually using CakeTestCase::loadFixtures
|
||||
*
|
||||
* @var boolean
|
||||
* @access public
|
||||
*/
|
||||
public $autoFixtures = false;
|
||||
|
||||
|
@ -77,7 +73,6 @@ class DboSqliteTest extends CakeTestCase {
|
|||
* Fixtures
|
||||
*
|
||||
* @var object
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.user');
|
||||
|
||||
|
@ -85,7 +80,6 @@ class DboSqliteTest extends CakeTestCase {
|
|||
* Actual DB connection used in testing
|
||||
*
|
||||
* @var DboSource
|
||||
* @access public
|
||||
*/
|
||||
public $Dbo = null;
|
||||
|
||||
|
@ -127,7 +121,6 @@ class DboSqliteTest extends CakeTestCase {
|
|||
/**
|
||||
* test Index introspection.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIndex() {
|
||||
|
|
|
@ -38,7 +38,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
* debug property
|
||||
*
|
||||
* @var mixed null
|
||||
* @access public
|
||||
*/
|
||||
public $debug = null;
|
||||
|
||||
|
@ -46,7 +45,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
* autoFixtures property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $autoFixtures = false;
|
||||
|
||||
|
@ -54,7 +52,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array(
|
||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
||||
|
@ -64,7 +61,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -81,7 +77,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
* execute method
|
||||
*
|
||||
* @param \$sql
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
function _execute(\$sql) {
|
||||
|
@ -92,7 +87,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* getLastQuery method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function getLastQuery() {
|
||||
|
@ -112,7 +106,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* endTest method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tearDown() {
|
||||
|
@ -161,7 +154,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testMergeAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMergeAssociations() {
|
||||
|
@ -436,7 +428,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testMagicMethodQuerying method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testMagicMethodQuerying() {
|
||||
|
@ -509,7 +500,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testValue method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testValue() {
|
||||
|
@ -524,7 +514,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testReconnect method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testReconnect() {
|
||||
|
@ -536,7 +525,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testName method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testName() {
|
||||
|
@ -623,7 +611,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testLog method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLog() {
|
||||
|
@ -815,7 +802,6 @@ class DboSourceTest extends CakeTestCase {
|
|||
/**
|
||||
* testStatements method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testStatements() {
|
||||
|
|
|
@ -129,7 +129,6 @@ class DatabaseSessionTest extends CakeTestCase {
|
|||
/**
|
||||
* testReadAndWriteWithDatabaseStorage method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWriteEmptySessionId() {
|
||||
|
|
|
@ -32,7 +32,6 @@ class DbAclNodeTestBase extends AclNode {
|
|||
* useDbConfig property
|
||||
*
|
||||
* @var string 'test'
|
||||
* @access public
|
||||
*/
|
||||
public $useDbConfig = 'test';
|
||||
|
||||
|
@ -40,7 +39,6 @@ class DbAclNodeTestBase extends AclNode {
|
|||
* cacheSources property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $cacheSources = false;
|
||||
}
|
||||
|
@ -56,7 +54,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'DbAroTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'DbAroTest';
|
||||
|
||||
|
@ -64,7 +61,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aros'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aros';
|
||||
|
||||
|
@ -72,7 +68,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('DbAcoTest' => array('with' => 'DbPermissionTest'));
|
||||
}
|
||||
|
@ -88,7 +83,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
|||
* name property
|
||||
*
|
||||
* @var string 'DbAcoTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'DbAcoTest';
|
||||
|
||||
|
@ -96,7 +90,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'acos'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'acos';
|
||||
|
||||
|
@ -104,7 +97,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
|||
* hasAndBelongsToMany property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $hasAndBelongsToMany = array('DbAroTest' => array('with' => 'DbPermissionTest'));
|
||||
}
|
||||
|
@ -120,7 +112,6 @@ class DbPermissionTest extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'DbPermissionTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'DbPermissionTest';
|
||||
|
||||
|
@ -128,7 +119,6 @@ class DbPermissionTest extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aros_acos'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aros_acos';
|
||||
|
||||
|
@ -136,7 +126,6 @@ class DbPermissionTest extends CakeTestModel {
|
|||
* cacheQueries property
|
||||
*
|
||||
* @var bool false
|
||||
* @access public
|
||||
*/
|
||||
public $cacheQueries = false;
|
||||
|
||||
|
@ -144,7 +133,6 @@ class DbPermissionTest extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('DbAroTest' => array('foreignKey' => 'aro_id'), 'DbAcoTest' => array('foreignKey' => 'aco_id'));
|
||||
}
|
||||
|
@ -160,7 +148,6 @@ class DbAcoActionTest extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'DbAcoActionTest'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'DbAcoActionTest';
|
||||
|
||||
|
@ -168,7 +155,6 @@ class DbAcoActionTest extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'aco_actions'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'aco_actions';
|
||||
|
||||
|
@ -176,7 +162,6 @@ class DbAcoActionTest extends CakeTestModel {
|
|||
* belongsTo property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $belongsTo = array('DbAcoTest' => array('foreignKey' => 'aco_id'));
|
||||
}
|
||||
|
@ -192,7 +177,6 @@ class DbAroUserTest extends CakeTestModel {
|
|||
* name property
|
||||
*
|
||||
* @var string 'AuthUser'
|
||||
* @access public
|
||||
*/
|
||||
public $name = 'AuthUser';
|
||||
|
||||
|
@ -200,14 +184,12 @@ class DbAroUserTest extends CakeTestModel {
|
|||
* useTable property
|
||||
*
|
||||
* @var string 'auth_users'
|
||||
* @access public
|
||||
*/
|
||||
public $useTable = 'auth_users';
|
||||
/**
|
||||
* bindNode method
|
||||
*
|
||||
* @param mixed $ref
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function bindNode($ref = null) {
|
||||
|
@ -229,7 +211,6 @@ class TestDbAcl extends DbAcl {
|
|||
/**
|
||||
* construct method
|
||||
*
|
||||
* @access private
|
||||
* @return void
|
||||
*/
|
||||
function __construct() {
|
||||
|
@ -251,14 +232,12 @@ class AclNodeTest extends CakeTestCase {
|
|||
* fixtures property
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $fixtures = array('core.aro', 'core.aco', 'core.aros_aco', 'core.aco_action', 'core.auth_user');
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setUp() {
|
||||
|
@ -269,7 +248,6 @@ class AclNodeTest extends CakeTestCase {
|
|||
/**
|
||||
* testNode method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNode() {
|
||||
|
@ -322,7 +300,6 @@ class AclNodeTest extends CakeTestCase {
|
|||
/**
|
||||
* testNodeArrayFind method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNodeArrayFind() {
|
||||
|
@ -340,7 +317,6 @@ class AclNodeTest extends CakeTestCase {
|
|||
/**
|
||||
* testNodeObjectFind method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNodeObjectFind() {
|
||||
|
@ -361,7 +337,6 @@ class AclNodeTest extends CakeTestCase {
|
|||
/**
|
||||
* testNodeAliasParenting method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testNodeAliasParenting() {
|
||||
|
|
|
@ -28,7 +28,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeleteHabtmReferenceWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteHabtmReferenceWithConditions() {
|
||||
|
@ -119,7 +118,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeleteArticleBLinks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteArticleBLinks() {
|
||||
|
@ -148,7 +146,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeleteDependentWithConditions method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteDependentWithConditions() {
|
||||
|
@ -188,7 +185,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDelete() {
|
||||
|
@ -285,7 +281,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeleteAll method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteAll() {
|
||||
|
@ -433,7 +428,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testRecursiveDel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testRecursiveDel() {
|
||||
|
@ -469,7 +463,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDependentExclusiveDelete method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDependentExclusiveDelete() {
|
||||
|
@ -488,7 +481,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeleteLinks method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeleteLinks() {
|
||||
|
@ -588,7 +580,6 @@ class ModelDeleteTest extends BaseModelTest {
|
|||
/**
|
||||
* testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable() {
|
||||
|
|
|
@ -146,7 +146,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testPkInHAbtmLinkModelArticleB
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPkInHabtmLinkModelArticleB() {
|
||||
|
@ -158,7 +157,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* Tests that $cacheSources can only be disabled in the db using model settings, not enabled
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCacheSourcesDisabling() {
|
||||
|
@ -179,7 +177,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testPkInHabtmLinkModel method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPkInHabtmLinkModel() {
|
||||
|
@ -207,7 +204,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testDynamicBehaviorAttachment method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDynamicBehaviorAttachment() {
|
||||
|
@ -592,7 +588,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testDisplayField method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDisplayField() {
|
||||
|
@ -609,7 +604,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testSchema method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testSchema() {
|
||||
|
@ -720,7 +714,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testDeconstructFields with datetime, timestamp, and date fields
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDeconstructFieldsDateTime() {
|
||||
|
@ -899,7 +892,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testTablePrefixSwitching method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testTablePrefixSwitching() {
|
||||
|
@ -953,7 +945,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* Tests validation parameter order in custom validation methods
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testInvalidAssociation() {
|
||||
|
@ -964,7 +955,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testLoadModelSecondIteration method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadModelSecondIteration() {
|
||||
|
@ -1028,7 +1018,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testPluginAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testPluginAssociations() {
|
||||
|
@ -1153,7 +1142,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* Tests getAssociated method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testGetAssociated() {
|
||||
|
@ -1197,7 +1185,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testAutoConstructAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testAutoConstructAssociations() {
|
||||
|
@ -1344,7 +1331,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testColumnTypeFetching method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testColumnTypeFetching() {
|
||||
|
@ -1363,7 +1349,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testHabtmUniqueKey method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testHabtmUniqueKey() {
|
||||
|
@ -1374,7 +1359,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testIdentity method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testIdentity() {
|
||||
|
@ -1397,7 +1381,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testWithAssociation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testWithAssociation() {
|
||||
|
@ -1649,7 +1632,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testFindSelfAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testFindSelfAssociations() {
|
||||
|
@ -1759,7 +1741,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testDynamicAssociations method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testDynamicAssociations() {
|
||||
|
@ -1867,7 +1848,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
/**
|
||||
* testCreation method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testCreation() {
|
||||
|
@ -1987,7 +1967,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
|||
* testEscapeField to prove it escapes the field well even when it has part of the alias on it
|
||||
* @see ttp://cakephp.lighthouseapp.com/projects/42648-cakephp-1x/tickets/473-escapefield-doesnt-consistently-prepend-modelname
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function testEscapeField() {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue