PHP Класс lithium\tests\cases\util\StringTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )