[TASK] EXT:form - add unitTests for class TypoScriptToJsonConverter 30/47130/3
authorSebastian Wagner <sebastian.wagner@tritum.de>
Sat, 5 Mar 2016 21:29:57 +0000 (22:29 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Sun, 6 Mar 2016 01:08:28 +0000 (02:08 +0100)
commit3312d1f662886cec0ce18b00767c03d96b6a81d4
tree221845e3c293885db01cb20282e638a0745443c8
parenta37f61614f1b5233401c80a0fe699b5a817ade76
[TASK] EXT:form - add unitTests for class TypoScriptToJsonConverter

This patch introduces a first test case for TypoScriptToJsonConverter
of EXT:form. The test case asserts that a protected method internally
triggers adding elements to a given and mocked parent element in the
nested form hierarchy.

Resolves: #74337
Releases: master, 7.6
Change-Id: I191ba8fe41a5829e23303447f86303ae8c6dd081
Reviewed-on: https://review.typo3.org/47130
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/form/Tests/Unit/Utility/TypoScriptToJsonConverterTest.php [new file with mode: 0644]