[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/tests/ -> event_test.php (summary)

Tests for event manager, base event and observers.

Copyright: 2013 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 927 lines (39 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 1 file
 lib/tests/fixtures/event_fixtures.php

Defines 1 class

core_event_testcase:: (22 methods):
  test_event_properties()
  test_event_properties_guessing()
  test_observers_parsing()
  test_normal_dispatching()
  test_event_sink()
  test_ignore_exceptions()
  test_external_buffer()
  test_rollback()
  test_forced_rollback()
  test_deprecated()
  test_legacy()
  test_restore_event()
  test_trigger_problems()
  test_bad_events()
  test_problematic_events()
  test_record_snapshots()
  test_get_name()
  test_iteration()
  test_context_not_used()
  test_get_all_observers()
  test_get_explanation()
  test_get_static_info()


Class: core_event_testcase  - X-Ref

test_event_properties()   X-Ref
No description

test_event_properties_guessing()   X-Ref
No description

test_observers_parsing()   X-Ref
No description

test_normal_dispatching()   X-Ref
No description

test_event_sink()   X-Ref
No description

test_ignore_exceptions()   X-Ref
No description

test_external_buffer()   X-Ref
No description

test_rollback()   X-Ref
No description

test_forced_rollback()   X-Ref
No description

test_deprecated()   X-Ref
No description

test_legacy()   X-Ref
No description

test_restore_event()   X-Ref
No description

test_trigger_problems()   X-Ref
No description

test_bad_events()   X-Ref
No description

test_problematic_events()   X-Ref
No description

test_record_snapshots()   X-Ref
No description

test_get_name()   X-Ref
No description

test_iteration()   X-Ref
No description

test_context_not_used()   X-Ref


test_get_all_observers()   X-Ref
Test that all observer information is returned correctly.


test_get_explanation()   X-Ref
Test formatting of the get_explanation method.
This formats the information from an events class docblock.


test_get_static_info()   X-Ref
Test that general information about an event is returned
by the get_static_info() method.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1