private function DBLogTestCase::verifyEvents in Drupal 7
Generates and then verifies various types of events.
1 call to DBLogTestCase::verifyEvents()
- DBLogTestCase::testDBLog in modules/
dblog/ dblog.test - Tests Database Logging module functionality through interfaces.
File
- modules/
dblog/ dblog.test, line 196 - Tests for dblog.module.
Class
- DBLogTestCase
- Tests logging messages to the database.
Code
private function verifyEvents() {
// Invoke events.
$this
->doUser();
$this
->doNode('article');
$this
->doNode('blog');
$this
->doNode('page');
$this
->doNode('poll');
// When a user account is canceled, any content they created remains but the
// uid = 0. Their blog entry shows as "'s blog" on the home page. Records
// in the watchdog table related to that user have the uid set to zero.
}