Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

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: 189 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

editor_test:: (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_test  - 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