PHP Class lithium\tests\cases\util\StringTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Méthode Description
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 ( )

Method Details

testCleanInsert() public méthode

public testCleanInsert ( )

testCompare() public méthode

public testCompare ( )

testHash() public méthode

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

testInsert() public méthode

public testInsert ( )

testInsertWithEmptyArray() public méthode

Test that an empty array is not added to the string

testInsertWithObject() public méthode

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

testInsertWithUnusedNumericKey() public méthode

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() public méthode

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

testMultipleUuidGeneration() public méthode

testRandom64Generator() public méthode

Tests the random number generator with base64 encoding.

testRandomGenerator() public méthode

Tests the random number generator.
public testRandomGenerator ( )

testStringExtraction() public méthode

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

testStringInsertWithQuestionMark() public méthode

testTokenize() public méthode

public testTokenize ( )

testUuidGeneration() public méthode

public testUuidGeneration ( )