TranslatorTest
extends TestCase
in package
Table of Contents
- $translator : Translator
- createApplication() : HttpKernelInterface
- Creates the application.
- setUp() : mixed
- testChoice() : mixed
- testChoiceSublocale() : void
- Test case for https://github.com/octobercms/october/issues/4858
- testNothing() : mixed
- testOverrideWithBeforeResolveEvent() : mixed
- testSimilarWordsParsing() : mixed
- callProtectedMethod() : mixed
Properties
$translator
private
Translator
$translator
Methods
createApplication()
Creates the application.
public
createApplication() : HttpKernelInterface
Return values
HttpKernelInterface —setUp()
public
setUp() : mixed
Return values
mixed —testChoice()
public
testChoice() : mixed
Return values
mixed —testChoiceSublocale()
Test case for https://github.com/octobercms/october/issues/4858
public
testChoiceSublocale() : void
Return values
void —testNothing()
public
testNothing() : mixed
Return values
mixed —testOverrideWithBeforeResolveEvent()
public
testOverrideWithBeforeResolveEvent() : mixed
Return values
mixed —testSimilarWordsParsing()
public
testSimilarWordsParsing() : mixed
Return values
mixed —callProtectedMethod()
protected
static callProtectedMethod(mixed $object, mixed $name[, mixed $params = [] ]) : mixed
Parameters
- $object : mixed
- $name : mixed
- $params : mixed = []