function NotificationsTestCase::printDebug in Notifications 6.3
Same name and namespace in other branches
- 6.2 tests/notifications_test_case.inc \NotificationsTestCase::printDebug()
1 method overrides NotificationsTestCase::printDebug()
File
- tests/
notifications_test_case.inc, line 8 - Base class for Notifications Tests
Class
- NotificationsTestCase
- @file Base class for Notifications Tests
Code
function printDebug($data, $title = 'DEBUG') {
$string = is_array($data) || is_object($data) ? print_r($data, TRUE) : $data;
$this
->assertTrue(TRUE, $title . ': ' . $string);
}