[TYPO3-core] RFC # 15029: Testcase for t3lib_div::isFirstPartOfStr is missing.

Nikolas Hagelstein hagelstein at shr.cc
Wed Jul 7 15:36:47 CEST 2010


This is an SVN patch request.

Type: [New feature]

Bugtracker references:
http://bugs.typo3.org/view.php?id=15029

Branches:
"TYPO3_4-4 & trunk".

Problem:
Testcase for t3lib_div::isFirstPartOfStr is missing.

Solution:
Add a test :)

Notes:
Related to: #15002: Enhancement of	t3lib_div::isFirstPartOfStr

If you run the test you'll notice that t3lib_div::isFirstPartOfStr returns
true for NULL, 0 and false for '','' 
I am not sure if this is the intent behavior. This should be clarified in
order  to resolve #15002.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_divTest.php_15029.patch
Type: application/octet-stream
Size: 2260 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100707/d870ef02/attachment-0001.obj>


More information about the TYPO3-team-core mailing list