[TYPO3-core] RFC #13418: Allow t3lib_div::_GETset() to set specified key
Susanne Moog
typo3 at susannemoog.de
Fri Mar 26 14:50:16 CET 2010
Hey,
Am 25.03.2010 03:06, schrieb Christian Kuhn:
> Susanne Moog wrote:
>> I just had some time left and wanted to try writing unit tests, so find
>> attached a new patch taking your comments into account.
>
> Nice work Felix and Susanne, thanks!
>
> No review yet, but a remark: As _GETset fiddles with global vars, the
> testcase should save those vars before running the testcases and recover
> them afterwards. This could be done in tearDown() and setUp(), an
> example can be found in
> tests/typo3/sysext/cms/tslib/tslib_content_testcase.php
find attached v3 with tearDown and setUp for backup and resetting the
global variables.
Best regards,
Susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13418_v3.diff
Type: text/x-patch
Size: 4505 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100326/bba6e73b/attachment.bin>
More information about the TYPO3-team-core
mailing list