Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git] / tests / phpunit / mocks / MockChangesListFilterGroup.php
1 <?php
2
3 class MockChangesListFilterGroup extends ChangesListFilterGroup {
4 public function createFilter( array $filterDefinition ) {
5 return new MockChangesListFilter( $filterDefinition );
6 }
7
8 public function registerFilter( MockChangesListFilter $filter ) {
9 $this->filters[$filter->getName()] = $filter;
10 }
11
12 public function isPerGroupRequestParameter() {
13 throw new MWException(
14 'Not implemented: If the test relies on this, put it one of the ' .
15 'subclasses\' tests (e.g. ChangesListBooleanFilterGroupTest) ' .
16 'instead of testing the abstract class'
17 );
18 }
19 }