[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for forms lib. This file contains all unit test related to forms library.
Copyright: | 2009 Tim Hunt |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 127 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_form_duration_testcase:: (6 methods):
setUp()
tearDown()
test_constructor()
test_get_units()
test_seconds_to_unit()
test_exportValue()
Class: core_form_duration_testcase - X-Ref
Unit tests for MoodleQuickForm_durationsetUp() X-Ref |
Initalize test wide variable, it is called in start of the testcase |
tearDown() X-Ref |
Clears the data set in the setUp() method call. |
test_constructor() X-Ref |
Testcase for testing contructor. |
test_get_units() X-Ref |
Testcase for testing units (seconds, minutes, hours and days) |
test_seconds_to_unit() X-Ref |
Testcase for testing conversion of seconds to the best possible unit |
test_exportValue() X-Ref |
Testcase to check generated timestamp |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |