PHP 클래스 lithium\tests\cases\util\InflectorTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium

공개 프로퍼티들

프로퍼티 타입 설명
$_test

공개 메소드들

메소드 설명
tearDown ( )
testAddTransliterations ( ) Tests adding transliterated characters to the map used in Inflector::slug().
testAddingInvalidRules ( )
testAddingSingularizationRules ( )
testAddingUninflectedWords ( )
testCamelize ( )
testClassify ( )
testHumanize ( )
testIrregularWords ( ) Tests that rules for uninflected singular words are kept in sync with the plural, and vice versa.
testPluralize ( ) Tests pluralization inflection rules
testSingularize ( ) Tests singularization inflection rules
testSlug ( )
testStorageMechanism ( ) Tests the storage mechanism for $_underscored, $_camelized, $_humanized and $_pluralized.
testTabelize ( )

보호된 메소드들

메소드 설명
_getProtectedValue ( string $property ) : string This is a helper method for testStorageMechanism to fetch a private property of the Inflector class.

메소드 상세

_getProtectedValue() 보호된 메소드

This is a helper method for testStorageMechanism to fetch a private property of the Inflector class.
protected _getProtectedValue ( string $property ) : string
$property string
리턴 string The value of the property.

tearDown() 공개 메소드

public tearDown ( )

testAddTransliterations() 공개 메소드

Tests adding transliterated characters to the map used in Inflector::slug().

testAddingInvalidRules() 공개 메소드

testAddingSingularizationRules() 공개 메소드

testAddingUninflectedWords() 공개 메소드

testCamelize() 공개 메소드

public testCamelize ( )

testClassify() 공개 메소드

public testClassify ( )

testHumanize() 공개 메소드

public testHumanize ( )

testIrregularWords() 공개 메소드

Tests that rules for uninflected singular words are kept in sync with the plural, and vice versa.
public testIrregularWords ( )

testPluralize() 공개 메소드

Tests pluralization inflection rules
public testPluralize ( )

testSingularize() 공개 메소드

Tests singularization inflection rules
public testSingularize ( )

testSlug() 공개 메소드

public testSlug ( )

testStorageMechanism() 공개 메소드

Tests the storage mechanism for $_underscored, $_camelized, $_humanized and $_pluralized.

testTabelize() 공개 메소드

public testTabelize ( )

프로퍼티 상세

$_test 공개적으로 정적으로 프로퍼티

public static $_test