TYPO3 CMS  TYPO3_6-2
CharsetConverterTest.php
Go to the documentation of this file.
1 <?php
3 
23 
27  protected $fixture = NULL;
28 
29  public function setUp() {
30  $this->fixture = new \TYPO3\CMS\Core\Charset\CharsetConverter();
31  }
32 
34  // Tests concerning substr
36 
41  $this->assertSame('', $this->fixture->substr('utf-8', '', 0, 42));
42  }
43 
45  // Tests concerning utf8_strlen
47 
51  $this->assertEquals(10, $this->fixture->utf8_strlen('good omens'));
52  }
53 
54 }