You are here

function NotificationsTestCase::printDebug in Notifications 6.2

Same name and namespace in other branches
  1. 6.3 tests/notifications_test_case.inc \NotificationsTestCase::printDebug()
2 methods override NotificationsTestCase::printDebug()
NotificationsContentTests::printDebug in tests/notifications_content.test
NotificationsTemplatesTests::printDebug in tests/notifications_templates.test

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);
}