TranslationControllerTest
class TranslationControllerTest extends BaseUnitTest
Class TranslationControllerTest
Properties
| protected | $tester | ||
| protected I18nMock | $i18nMock | ||
| protected TranslationControllerHelper | $translationHelper |
Methods
No description
No description
Test to run through the core functionality of the translation Module.
Basic instance test
No description
Basic function test
Complex test of main translation functionality and mocked API (instance setting: ondemand = false)
Complex test of main translation functionality and mocked API (instance setting: ondemand = true)
No description
No description
Details
at line 43
protected
_before()
No description
at line 31
_inject(I18nMock $i18nMock, TranslationControllerHelper $translationHelper)
No description
at line 255
array
getTranslatedProvider()
No description
at line 227
testGetTranslated($config, $text, $target, $expected)
Test to run through the core functionality of the translation Module.
at line 51
testInstanceIsAvailable()
Basic instance test
at line 70
testIsValidLocale($config, $locale, $expected)
No description
at line 61
testIsValidTranslationModelName($value, $expected)
Basic function test
at line 170
testProcessDaemonDefault()
Complex test of main translation functionality and mocked API (instance setting: ondemand = false)
at line 115
testProcessDaemonOndemand()
Complex test of main translation functionality and mocked API (instance setting: ondemand = true)
at line 101
array
translationModelnameProvider()
No description
at line 83
array
validLocaleProvider()
No description