Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 39 and 400]

Unit test for the filter_algebra

Copyright: 2012 Tim Hunt
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 94 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: filter_test  - X-Ref

Unit tests for filter_algebra.

Note that this only tests some of the filter logic. It does not actually test
the normal case of the filter working, because I cannot make it work on my
test server, and if it does not work here, it probably does not also work
for other people. A failing test will be irritating noise.

setUp()   X-Ref
No description

test_algebra_filter_no_algebra()   X-Ref
No description

test_algebra_filter_pluginfile()   X-Ref
No description

test_algebra_filter_draftfile()   X-Ref
No description

test_algebra_filter_unified_diff()   X-Ref
No description