You are here

function NotificationsTestCase::countQueued in Notifications 6.4

Same name and namespace in other branches
  1. 7 tests/notifications_test_case.inc \NotificationsTestCase::countQueued()

Helper function. Simple row counting with conditions, uses query builder

3 calls to NotificationsTestCase::countQueued()
NotificationsBasicTests::testNotificationsBasicAPI in tests/notifications_api.test
Play with creating, retrieving, deleting a pair subscriptions
NotificationsBasicTests::testNotificationsQueryBuilder in tests/notifications_api.test
Test query builder
NotificationsContentTests::testNotificationsContent in tests/notifications_content.test
Play with creating, retrieving, deleting a pair subscriptions

File

tests/notifications_test_case.inc, line 22
Base class for Notifications Tests

Class

NotificationsTestCase
@file Base class for Notifications Tests

Code

function countQueued($params = NULL) {
  return Notifications_Queue::queue_count($params);
}