[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Events tests.
Copyright: | 2016 Stephen Bourget |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 129 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
dashboard_events_testcase:: (4 methods):
setup()
test_dashboard_viewed()
test_dashboard_reset()
test_dashboards_reset()
Class: dashboard_events_testcase - X-Ref
Unit tests for the dashboard events.setup() X-Ref |
Setup often used objects for the following tests. |
test_dashboard_viewed() X-Ref |
Test the dashboard viewed event. There is no external API for viewing the dashboard, so the unit test will simply create and trigger the event and ensure data is returned as expected. |
test_dashboard_reset() X-Ref |
Test the dashboard reset event. We will reset the user dashboard to trigger the event and ensure data is returned as expected. |
test_dashboards_reset() X-Ref |
Test the dashboards reset event. We will reset all user dashboards to trigger the event and ensure data is returned as expected. |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |