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

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

공개 메소드들

메소드 설명
testCleanInsert ( )
testCompare ( )
testHash ( ) Tests hash generation using String::hash().
testInsert ( )
testInsertWithEmptyArray ( ) Test that an empty array is not added to the string
testInsertWithObject ( ) Tests casting/inserting of custom objects with String::insert().
testInsertWithUnusedNumericKey ( ) Tests that text replacements with String::insert() using key/value pairs are not mis-handled if numeric keys are present in the array (only if they appear first).
testInsertingEmptyValues ( ) Verifies that String::insert() doesn't completely ignore empty values.
testMultipleUuidGeneration ( )
testRandom64Generator ( ) Tests the random number generator with base64 encoding.
testRandomGenerator ( ) Tests the random number generator.
testStringExtraction ( ) Tests the String::extract() regex helper method.
testStringInsertWithQuestionMark ( )
testTokenize ( )
testUuidGeneration ( )

메소드 상세

testCleanInsert() 공개 메소드

public testCleanInsert ( )

testCompare() 공개 메소드

public testCompare ( )

testHash() 공개 메소드

Tests hash generation using String::hash().
public testHash ( )

testInsert() 공개 메소드

public testInsert ( )

testInsertWithEmptyArray() 공개 메소드

Test that an empty array is not added to the string

testInsertWithObject() 공개 메소드

Tests casting/inserting of custom objects with String::insert().

testInsertWithUnusedNumericKey() 공개 메소드

Tests that text replacements with String::insert() using key/value pairs are not mis-handled if numeric keys are present in the array (only if they appear first).

testInsertingEmptyValues() 공개 메소드

Verifies that String::insert() doesn't completely ignore empty values.

testMultipleUuidGeneration() 공개 메소드

testRandom64Generator() 공개 메소드

Tests the random number generator with base64 encoding.

testRandomGenerator() 공개 메소드

Tests the random number generator.
public testRandomGenerator ( )

testStringExtraction() 공개 메소드

Tests the String::extract() regex helper method.

testStringInsertWithQuestionMark() 공개 메소드

testTokenize() 공개 메소드

public testTokenize ( )

testUuidGeneration() 공개 메소드

public testUuidGeneration ( )