Project

General

Profile

Actions

Task #74337

closed

EXT:form - add unitTests for class TypoScriptToJsonConverter

Added by Sebastian Wagner over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2016-03-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
medium
Sprint Focus:

Description

We introduce a first test case for TypoScriptToJsonConverter in Utility.
Introduce test case for getChildElementsByIntegerKey.
Though it tests a protected method at first it allows further methods to
be tested by the very same data provider.

We use an accessibleMock to circumvent method visibility and mock an additional
object altered by-ref.

Actions

Also available in: Atom PDF