You are here

function NotificationsTestCase::printDebug in Notifications 6.3

Same name and namespace in other branches
  1. 6.2 tests/notifications_test_case.inc \NotificationsTestCase::printDebug()
1 method overrides NotificationsTestCase::printDebug()
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);
}