[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Weblib tests.

Author: T.J.Hunt@open.ac.uk
Copyright: © 2006 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU Public License
File Size: 642 lines (26 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_weblib_testcase:: (37 methods):
  test_format_string()
  test_s()
  test_format_text_email()
  test_obfuscate_email()
  test_obfuscate_text()
  test_highlight()
  test_replace_ampersands()
  test_strip_links()
  test_wikify_links()
  test_moodle_url_constructor()
  test_moodle_url_get_path()
  test_moodle_url_round_trip()
  test_moodle_url_empty_param_values()
  test_moodle_url_set_good_scheme()
  test_moodle_url_set_bad_scheme()
  test_moodle_url_round_trip_array_params()
  test_compare_url()
  test_out_as_local_url()
  test_out_as_local_url_error()
  test_modified_url_out_as_local_url_error()
  test_https_out_as_local_url_error()
  test_moodle_url_get_scheme()
  test_moodle_url_get_host()
  test_moodle_url_get_port()
  test_clean_text()
  test_qualified_me()
  test_null_progres_trace()
  test_text_progres_trace()
  test_html_progres_trace()
  test_html_list_progress_trace()
  test_progres_trace_buffer()
  test_combined_progres_trace()
  test_set_debugging()
  test_strip_pluginfile_content()
  test_purify_html_ruby()
  test_content_to_text()
  provider_content_to_text()


Class: core_weblib_testcase  - X-Ref

test_format_string()   X-Ref
No description

test_s()   X-Ref
No description

test_format_text_email()   X-Ref
No description

test_obfuscate_email()   X-Ref
No description

test_obfuscate_text()   X-Ref
No description

test_highlight()   X-Ref
No description

test_replace_ampersands()   X-Ref
No description

test_strip_links()   X-Ref
No description

test_wikify_links()   X-Ref
No description

test_moodle_url_constructor()   X-Ref
Test basic moodle_url construction.


test_moodle_url_get_path()   X-Ref
Tests moodle_url::get_path().


test_moodle_url_round_trip()   X-Ref
No description

test_moodle_url_empty_param_values()   X-Ref
Test Moodle URL objects created with a param with empty value.


test_moodle_url_set_good_scheme()   X-Ref
Test set good scheme on Moodle URL objects.


test_moodle_url_set_bad_scheme()   X-Ref
Test set bad scheme on Moodle URL objects.


test_moodle_url_round_trip_array_params()   X-Ref
No description

test_compare_url()   X-Ref
No description

test_out_as_local_url()   X-Ref
No description

test_out_as_local_url_error()   X-Ref

return: void

test_modified_url_out_as_local_url_error()   X-Ref
You should get error with modified url

return: void

test_https_out_as_local_url_error()   X-Ref
Try get local url from external https url and you should get error


test_moodle_url_get_scheme()   X-Ref
No description

test_moodle_url_get_host()   X-Ref
No description

test_moodle_url_get_port()   X-Ref
No description

test_clean_text()   X-Ref
No description

test_qualified_me()   X-Ref
No description

test_null_progres_trace()   X-Ref
No description

test_text_progres_trace()   X-Ref
No description

test_html_progres_trace()   X-Ref
No description

test_html_list_progress_trace()   X-Ref
No description

test_progres_trace_buffer()   X-Ref
No description

test_combined_progres_trace()   X-Ref
No description

test_set_debugging()   X-Ref
No description

test_strip_pluginfile_content()   X-Ref
No description

test_purify_html_ruby()   X-Ref
No description

test_content_to_text($content, $format, $expected)   X-Ref
Tests for content_to_text.

param: string    $content   The content
param: int|false $format    The content format
param: string    $expected  Expected value

provider_content_to_text()   X-Ref
Data provider for test_content_to_text.




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