[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/tests/ -> weblib_format_text_test.php (summary)

Unit tests for format_text defined in weblib.php.

Copyright: 2015 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU Public License
File Size: 161 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_weblib_format_text_testcase:: (11 methods):
  test_format_text_format_html()
  test_format_text_format_html_no_filters()
  test_format_text_format_plain()
  test_format_text_format_plain_no_filters()
  test_format_text_format_markdown()
  test_format_text_format_markdown_nofilter()
  test_format_text_format_moodle()
  test_format_text_format_moodle_no_filters()
  test_format_text_overflowdiv()
  test_format_text_blanktarget()
  format_text_blanktarget_testcases()


Class: core_weblib_format_text_testcase  - X-Ref

Unit tests for format_text defined in weblib.php.

test_format_text_format_html()   X-Ref
No description

test_format_text_format_html_no_filters()   X-Ref
No description

test_format_text_format_plain()   X-Ref
No description

test_format_text_format_plain_no_filters()   X-Ref
No description

test_format_text_format_markdown()   X-Ref
No description

test_format_text_format_markdown_nofilter()   X-Ref
No description

test_format_text_format_moodle()   X-Ref
No description

test_format_text_format_moodle_no_filters()   X-Ref
No description

test_format_text_overflowdiv()   X-Ref
No description

test_format_text_blanktarget($link, $expected)   X-Ref
Test adding blank target attribute to links

param: string $link The link to add target="_blank" to
param: string $expected The expected filter value

format_text_blanktarget_testcases()   X-Ref
Data provider for the test_format_text_blanktarget testcase

return: array of testcases



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