[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/availability/condition/date/tests/ -> condition_test.php (summary)

Unit tests for the date condition.

Copyright: 2014 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 289 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

availability_date_condition_testcase:: (7 methods):
  setUp()
  test_in_tree()
  test_constructor()
  test_save()
  test_is_available()
  test_get_description()
  test_update_all_dates()


Class: availability_date_condition_testcase  - X-Ref

Unit tests for the date condition.

setUp()   X-Ref
Load required classes.


test_in_tree()   X-Ref
Tests constructing and using date condition as part of tree.


test_constructor()   X-Ref
Tests the constructor including error conditions. Also tests the
string conversion feature (intended for debugging only).


test_save()   X-Ref
Tests the save() function.


test_is_available()   X-Ref
Tests the is_available() and is_available_to_all() functions.


test_get_description()   X-Ref
Tests the get_description and get_standalone_description functions.


test_update_all_dates()   X-Ref
Tests the update_all_dates function.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1