PHP Класс ErrorHandlerTest, phpmyadmin

Наследование: extends CakeTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$object

Открытые методы

Метод Описание
providerForTestHandleError ( ) : array Data provider for testHandleError
testCheckSavedErrors ( ) : void Test for checkSavedErrors
testCountDisplayErrorsForDisplayFalse ( ) : void Test for countDisplayErrors
testCountDisplayErrorsForDisplayTrue ( ) : void Test for countDisplayErrors
testCountErrors ( ) : void Test for countErrors
testCountUserErrors ( ) : void Test for countUserErrors
testGetDispErrorsForDisplayFalse ( integer $errno, string $errstr, string $errfile, integer $errline, string $output_show, string $output_hide ) : void Test for getDispErrors when PHP errors are not shown
testGetDispErrorsForDisplayTrue ( integer $errno, string $errstr, string $errfile, integer $errline, string $output_show, string $output_hide ) : void Test for getDispErrors when PHP errors are shown
testHasDisplayErrors ( ) : void Test for hasDisplayErrors
testHasErrors ( ) : void Test for hasErrors
testHasUserErrors ( ) : void Test for hasUserErrors
testSliceErrors ( ) : void Test for sliceErrors

Защищенные методы

Метод Описание
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Приватные методы

Метод Описание
_callProtectedFunction ( string $name, array $params ) : the Call protected functions by setting visibility to public.

Описание методов

providerForTestHandleError() публичный Метод

Data provider for testHandleError
public providerForTestHandleError ( ) : array
Результат array data for testHandleError

setUp() защищенный Метод

This method is called before a test is executed.
protected setUp ( ) : void
Результат void

tearDown() защищенный Метод

This method is called after a test is executed.
protected tearDown ( ) : void
Результат void

testCheckSavedErrors() публичный Метод

Test for checkSavedErrors
public testCheckSavedErrors ( ) : void
Результат void

testCountDisplayErrorsForDisplayFalse() публичный Метод

Test for countDisplayErrors
public testCountDisplayErrorsForDisplayFalse ( ) : void
Результат void

testCountDisplayErrorsForDisplayTrue() публичный Метод

Test for countDisplayErrors
public testCountDisplayErrorsForDisplayTrue ( ) : void
Результат void

testCountErrors() публичный Метод

Test for countErrors
public testCountErrors ( ) : void
Результат void

testCountUserErrors() публичный Метод

Test for countUserErrors
public testCountUserErrors ( ) : void
Результат void

testGetDispErrorsForDisplayFalse() публичный Метод

Test for getDispErrors when PHP errors are not shown
public testGetDispErrorsForDisplayFalse ( integer $errno, string $errstr, string $errfile, integer $errline, string $output_show, string $output_hide ) : void
$errno integer error number
$errstr string error string
$errfile string error file
$errline integer error line
$output_show string expected output if showing of errors is enabled
$output_hide string expected output if showing of errors is disabled and 'sendErrorReports' is set to 'never'
Результат void

testGetDispErrorsForDisplayTrue() публичный Метод

Test for getDispErrors when PHP errors are shown
public testGetDispErrorsForDisplayTrue ( integer $errno, string $errstr, string $errfile, integer $errline, string $output_show, string $output_hide ) : void
$errno integer error number
$errstr string error string
$errfile string error file
$errline integer error line
$output_show string expected output if showing of errors is enabled
$output_hide string expected output if showing of errors is disabled
Результат void

testHasDisplayErrors() публичный Метод

Test for hasDisplayErrors
public testHasDisplayErrors ( ) : void
Результат void

testHasErrors() публичный Метод

Test for hasErrors
public testHasErrors ( ) : void
Результат void

testHasUserErrors() публичный Метод

Test for hasUserErrors
public testHasUserErrors ( ) : void
Результат void

testSliceErrors() публичный Метод

Test for sliceErrors
public testSliceErrors ( ) : void
Результат void

Описание свойств

$object защищенное свойство

protected $object