Method | Description | |
---|---|---|
actionLevelProvider ( ) : array | Provides the test action levels. | |
anonymizedIpProvider ( ) : array | Provides the anonymized IPs. | |
sourceProvider ( ) : array | Provides the sources. | |
testActionOnErrorLevel ( integer $logLevel, string $expectedAction ) | Tests the action for different error levels. | |
testAnonymizesIp ( string $input, string $expected ) | Tests that IP addresses are anonymized. | |
testBrowser ( ) | Tests that the browser is added. | |
testExistingActionIsNotChanged ( integer $logLevel ) | Tests that an existing action is not changed. | |
testInstantiation ( ) | Tests the object instantiation. | |
testInvokation ( ) | Tests the __invoke() method. | |
testIpOnEmptyRequest ( ) | Tests that an IP is added if there is no request. | |
testSource ( Symfony\Component\DependencyInjection\ContainerInterface $container, string | null $contextSource, string | null $expectedSource ) | Tests that the source is added. | |
testUsername ( ) | Tests that the username is added. |
Method | Description | |
---|---|---|
createContaoTableProcessor ( Symfony\Component\HttpFoundation\RequestStack $requestStack = null, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage = null, boolean $anonymizeIp = true ) : |
Creates the ContaoTableProcessor object. | |
mockContainerWithScope ( string $scope ) : Symfony\Component\DependencyInjection\ContainerInterface | PHPUnit_Framework_MockObject_MockObject | Mocks a Symfony container with scope. |
public actionLevelProvider ( ) : array | ||
return | array |
public anonymizedIpProvider ( ) : array | ||
return | array |
public testActionOnErrorLevel ( integer $logLevel, string $expectedAction ) | ||
$logLevel | integer | |
$expectedAction | string |
public testAnonymizesIp ( string $input, string $expected ) | ||
$input | string | |
$expected | string |
public testExistingActionIsNotChanged ( integer $logLevel ) | ||
$logLevel | integer |
public testIpOnEmptyRequest ( ) |