Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 39 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: 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