31 $this->assertEquals(
'абвгғ',
35 $this->assertEquals(
'ljабnjвгўоdb',
39 $this->assertEquals(
'абвг',
43 $this->assertEquals(
'ljабnjвгdaž',
53 $this->assertEquals(
'abdef',
57 $this->assertEquals(
'gʻabtsdOʻQyo',
62 # #### HELPERS #####################################################
84 $this->assertNotEquals(
117 return $this->
getLang()->mConverter->convertTo( $text, $variant );
121 return $this->
convertTo( $text,
'uz-cyrl' );
125 return $this->
convertTo( $text,
'uz-latn' );
Helping class to run tests using a clean language instance.
convertToCyrillic( $text)
testConversionToCyrillic()
assertUnConverted( $text, $variant, $msg='')
Wrapper to verify text stay the same after applying conversion.
assertCyrillic( $text, $msg='')
Verifiy the given Cyrillic text is not converted when using using the cyrillic variant and converted ...
assertLatin( $text, $msg='')
Verifiy the given Latin text is not converted when using using the Latin variant and converted to Cyr...
convertTo( $text, $variant)
Wrapper for converter::convertTo() method.
assertConverted( $text, $variant, $msg='')
Wrapper to verify a text is different once converted to a variant.
testConversionToLatin()
LanguageConverter::convertTo.