StringUtilTest extends TestCase
Str test cases.
Tags
Table of Contents
| $actual | ||
|---|---|---|
| $expected | ||
| setUp() | mixed | |
| testRandom() | mixed | |
| testRandomWithParams() | mixed | |
| testRandomException() | mixed | |
| testQuickRandom() | mixed | |
| testQuickRandomWithParams() | mixed | |
| testConvertLineFeed() | mixed | |
| testConvertLineFeedWithCrlf() | mixed | |
| testConvertLineFeedWithMultiline() | mixed | |
| testConvertLineFeedWithEmpty() | mixed | |
| testCharacterEncodingWithSJIS() | mixed | |
| testCharacterEncodingWithEuc() | mixed | |
| testCharacterEncodingWithUTF8() | mixed | |
| testCharacterEncodingWithNone() | mixed | |
| testEllipsis() | mixed | |
| testEllipsisWithShort() | mixed | |
| testTimeAgo() | mixed | |
| testIsBlank() | mixed | |
| testIsNotBlank() | mixed | |
| testIsBlankWithObject() | mixed | |
| testIsBlankWithArray() | mixed | |
| testIsBlankWithArrayGreedy() | mixed | |
| testIsBlankWithArrayGreedy2() | mixed | |
| testIsBlankWithArrayGreedy3() | mixed | |
| testIsNotBlankWithArray() | mixed | |
| testIsBlankWithArrayCollectionEmpty() | mixed | |
| testIsBlankWithArrayCollectionNotEmpty() | mixed | |
| testIsBlankWithNotGreedy() | mixed | |
| testTrimAll() | mixed | |
| testReplaceOrAddEnv() | mixed | |
| replaceOrAddEnvProvider() | mixed |
Properties
$actual
private
mixed
$actual
$expected
private
mixed
$expected
Methods
setUp()
public
setUp(
)
: mixed
Return values
mixedtestRandom()
public
testRandom(
)
: mixed
Return values
mixedtestRandomWithParams()
public
testRandomWithParams(
)
: mixed
Return values
mixedtestRandomException()
public
testRandomException(
)
: mixed
Return values
mixedtestQuickRandom()
public
testQuickRandom(
)
: mixed
Return values
mixedtestQuickRandomWithParams()
public
testQuickRandomWithParams(
)
: mixed
Return values
mixedtestConvertLineFeed()
public
testConvertLineFeed(
)
: mixed
Return values
mixedtestConvertLineFeedWithCrlf()
public
testConvertLineFeedWithCrlf(
)
: mixed
Return values
mixedtestConvertLineFeedWithMultiline()
public
testConvertLineFeedWithMultiline(
)
: mixed
Return values
mixedtestConvertLineFeedWithEmpty()
public
testConvertLineFeedWithEmpty(
)
: mixed
Return values
mixedtestCharacterEncodingWithSJIS()
public
testCharacterEncodingWithSJIS(
)
: mixed
Return values
mixedtestCharacterEncodingWithEuc()
public
testCharacterEncodingWithEuc(
)
: mixed
Return values
mixedtestCharacterEncodingWithUTF8()
public
testCharacterEncodingWithUTF8(
)
: mixed
Return values
mixedtestCharacterEncodingWithNone()
public
testCharacterEncodingWithNone(
)
: mixed
Return values
mixedtestEllipsis()
public
testEllipsis(
)
: mixed
Return values
mixedtestEllipsisWithShort()
public
testEllipsisWithShort(
)
: mixed
Return values
mixedtestTimeAgo()
public
testTimeAgo(
)
: mixed
Return values
mixedtestIsBlank()
public
testIsBlank(
)
: mixed
Return values
mixedtestIsNotBlank()
public
testIsNotBlank(
)
: mixed
Return values
mixedtestIsBlankWithObject()
public
testIsBlankWithObject(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArray()
public
testIsBlankWithArray(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArrayGreedy()
public
testIsBlankWithArrayGreedy(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArrayGreedy2()
public
testIsBlankWithArrayGreedy2(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArrayGreedy3()
public
testIsBlankWithArrayGreedy3(
)
: mixed
Tags
Return values
mixedtestIsNotBlankWithArray()
public
testIsNotBlankWithArray(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArrayCollectionEmpty()
public
testIsBlankWithArrayCollectionEmpty(
)
: mixed
Tags
Return values
mixedtestIsBlankWithArrayCollectionNotEmpty()
public
testIsBlankWithArrayCollectionNotEmpty(
)
: mixed
Tags
Return values
mixedtestIsBlankWithNotGreedy()
public
testIsBlankWithNotGreedy(
)
: mixed
Return values
mixedtestTrimAll()
public
testTrimAll(
)
: mixed
Return values
mixedtestReplaceOrAddEnv()
public
testReplaceOrAddEnv(
$env :
mixed
, $replacement :
mixed
, $expected :
mixed
)
: mixed
Parameters
- $env : mixed
- $replacement : mixed
- $expected : mixed
Tags
Return values
mixedreplaceOrAddEnvProvider()
public
replaceOrAddEnvProvider(
)
: mixed