Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b15d9a91
Commit
b15d9a91
authored
Jun 06, 2012
by
Jennifer Hodgdon
Browse files
Issue
#1598570
by Rob Loach:
PSR-0
for error.test
parent
c0f384fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/system/
t
ests/
e
rror
.test
→
core/modules/system/
lib/Drupal/system/T
ests/
E
rror
HandlerTest.php
View file @
b15d9a91
<?php
<?php
/**
/**
* Tests Drupal error and exception handlers.
* @file
* Definition of Drupal\system\Tests\ErrorHandlerTest.
*/
*/
namespace
Drupal\system\Tests
;
use
Drupal\simpletest\WebTestBase
;
use
Drupal\simpletest\WebTestBase
;
class
DrupalErrorHandlerUnitTest
extends
WebTestBase
{
/**
* Tests error and exception handlers.
*/
class
ErrorHandlerTest
extends
WebTestBase
{
public
static
function
getInfo
()
{
public
static
function
getInfo
()
{
return
array
(
return
array
(
'name'
=>
'
Drupal e
rror handlers'
,
'name'
=>
'
E
rror handlers'
,
'description'
=>
'Performs tests on the Drupal error and exception handler.'
,
'description'
=>
'Performs tests on the Drupal error and exception handler.'
,
'group'
=>
'System'
,
'group'
=>
'System'
,
);
);
...
@@ -116,4 +122,3 @@ function assertNoErrorMessage(array $error) {
...
@@ -116,4 +122,3 @@ function assertNoErrorMessage(array $error) {
$this
->
assertNoRaw
(
$message
,
t
(
'Did not find error message: !message.'
,
array
(
'!message'
=>
$message
)));
$this
->
assertNoRaw
(
$message
,
t
(
'Did not find error message: !message.'
,
array
(
'!message'
=>
$message
)));
}
}
}
}
core/modules/system/system.info
View file @
b15d9a91
...
@@ -12,7 +12,6 @@ files[] = tests/batch.test
...
@@ -12,7 +12,6 @@ files[] = tests/batch.test
files
[]
=
tests
/
cache
.
test
files
[]
=
tests
/
cache
.
test
files
[]
=
tests
/
common
.
test
files
[]
=
tests
/
common
.
test
files
[]
=
tests
/
database
.
test
files
[]
=
tests
/
database
.
test
files
[]
=
tests
/
error
.
test
files
[]
=
tests
/
file
.
test
files
[]
=
tests
/
file
.
test
files
[]
=
tests
/
filetransfer
.
test
files
[]
=
tests
/
filetransfer
.
test
files
[]
=
tests
/
form
.
test
files
[]
=
tests
/
form
.
test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment