[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

core_text unit tests.

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

Defines 1 class

core_text_testcase:: (21 methods):
  test_parse_charset()
  test_convert()
  test_substr()
  test_strlen()
  test_strtolower()
  test_strtoupper()
  test_strrev()
  test_strpos()
  test_strrpos()
  test_specialtoascii()
  test_encode_mimeheader()
  test_entities_to_utf8()
  test_utf8_to_entities()
  test_trim_utf8_bom()
  test_get_encodings()
  test_code2utf8()
  test_utf8ord()
  test_strtotitle()
  test_deprecated_textlib()
  test_deprecated_textlib_get_instance()
  test_strrchr()


Class: core_text_testcase  - X-Ref

Unit tests for our utf-8 aware text processing.

test_parse_charset()   X-Ref
Tests the static parse charset method.


test_convert()   X-Ref
Tests the static convert method.


test_substr()   X-Ref
Tests the static sub string method.


test_strlen()   X-Ref
Tests the static string length method.


test_strtolower()   X-Ref
Tests the static strtolower method.


test_strtoupper()   X-Ref
Tests the static strtoupper.


test_strrev()   X-Ref
Test the strrev method.


test_strpos()   X-Ref
Tests the static strpos method.


test_strrpos()   X-Ref
Tests the static strrpos.


test_specialtoascii()   X-Ref
Tests the static specialtoascii method.


test_encode_mimeheader()   X-Ref
Tests the static encode_mimeheader method.


test_entities_to_utf8()   X-Ref
Tests the static entities_to_utf8 method.


test_utf8_to_entities()   X-Ref
Tests the static utf8_to_entities method.


test_trim_utf8_bom()   X-Ref
Tests the static trim_utf8_bom method.


test_get_encodings()   X-Ref
Tests the static get_encodings method.


test_code2utf8()   X-Ref
Tests the static code2utf8 method.


test_utf8ord()   X-Ref
Tests the static utf8ord method.


test_strtotitle()   X-Ref
Tests the static strtotitle method.


test_deprecated_textlib()   X-Ref
No description

test_deprecated_textlib_get_instance()   X-Ref
Tests the deprecated method of textlib that still require an instance.


test_strrchr()   X-Ref
Test strrchr.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1