function UnicodeUnitTest::testEmulatedUnicode

7.x unicode.test UnicodeUnitTest::testEmulatedUnicode()

Test emulated unicode features.

File

drupal-7.x/modules/simpletest/tests/unicode.test, line 56
Various unicode handling tests.

Class

UnicodeUnitTest
Test unicode handling features implemented in unicode.inc.

Code

function testEmulatedUnicode() {
  global $multibyte;

  $multibyte = UNICODE_SINGLEBYTE;

  $this->extendedMode = FALSE;

  $this->pass(t('Testing in emulated (best-effort) mode'));

  $this->helperTestStrToLower();
  $this->helperTestStrToUpper();
  $this->helperTestUcFirst();
  $this->helperTestStrLen();
  $this->helperTestSubStr();
  $this->helperTestTruncate();
}