Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401]

TinyMCE tests.

Copyright: 2012 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 185 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

editor_tinymce_testcase:: (3 methods):
  test_autoloading()
  test_toolbar_parsing()
  test_add_button()

tinymce_testplugin:: (5 methods):
  update_init_params()
  test_count_button_rows()
  test_find_button()
  test_add_button_after()
  test_add_button_before()


Class: editor_tinymce_testcase  - X-Ref

TinyMCE tests.

test_autoloading()   X-Ref
No description

test_toolbar_parsing()   X-Ref
No description

test_add_button()   X-Ref
No description

Class: tinymce_testplugin  - X-Ref

Pseudo plugin class for testing editor_tinymce_plugin protected methods

update_init_params(array &$params, context $context, array $options = null)   X-Ref
No description

test_count_button_rows(array &$params)   X-Ref
No description

test_find_button(array &$params, $button)   X-Ref
No description

test_add_button_after(array &$params, $row, $button, $after = '', $alwaysadd = true)   X-Ref
No description

test_add_button_before(array &$params, $row, $button, $before = '', $alwaysadd = true)   X-Ref
No description