Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Networking
InitCmsBundle
Tests
EventListener
LocaleListenerTest
PHP Class Networking\InitCmsBundle\Tests\EventListener\LocaleListenerTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Exibir arquivo
Open project: networking/init-cms-bundle
Public Methods
Method
Description
testGetPreferredLocale_Available_ShouldReturnTheFirstBrowserLanguageThatMatchesAnAvailableLanguage
( )
testGetPreferredLocale_NotAvailable_ShouldReturnDefault
( )
testGuessFrontendLocale_withArray
( )
testOnKernelRequest
( )
testOnKernelRequest_WithNoRequest_ShouldDoNothing
( )
testOnKernelRequest_WithNoSession_ShouldDoNothing
( )
testOnKernelRequest_WithoutPreviousSession
( )
Method Details
testGetPreferredLocale_Available_ShouldReturnTheFirstBrowserLanguageThatMatchesAnAvailableLanguage()
public
method
public
testGetPreferredLocale_Available_ShouldReturnTheFirstBrowserLanguageThatMatchesAnAvailableLanguage
( )
testGetPreferredLocale_NotAvailable_ShouldReturnDefault()
public
method
public
testGetPreferredLocale_NotAvailable_ShouldReturnDefault
( )
testGuessFrontendLocale_withArray()
public
method
public
testGuessFrontendLocale_withArray
( )
testOnKernelRequest()
public
method
public
testOnKernelRequest
( )
testOnKernelRequest_WithNoRequest_ShouldDoNothing()
public
method
public
testOnKernelRequest_WithNoRequest_ShouldDoNothing
( )
testOnKernelRequest_WithNoSession_ShouldDoNothing()
public
method
public
testOnKernelRequest_WithNoSession_ShouldDoNothing
( )
testOnKernelRequest_WithoutPreviousSession()
public
method
public
testOnKernelRequest_WithoutPreviousSession
( )