mediawiki-extensions-AbuseF.../tests/phpunit/unit
Daimona Eaytoy 9afc968523 Refactor VariableGenerator and LazyVariableComputer tests
Additionally, avoid building Title objects in LazyVariableComputer, it
just adds a dependency on TitleFactory and creating mocks is more
complicated, but it's pointless because the caller already has a Title
object.

And also stop using Title::getEarliestRevTime(), since the replacement
is easy (we already have a RevisionLookup).

Note for reviewers about renames:
- Code VariableGeneratorDBTest was moved to LazyVariableComputerDBTest,
  RCVariableGeneratorTest, and AbuseFilterVariableGeneratorTest
- AbuseFilterVariableGenerator test was moved into a dedicated
  directory, methods were changed not to test the var values

Change-Id: I3dff8739a9b79f33321d836449b082c3ce63f277
2021-01-09 11:26:24 +00:00
..
ChangeTags Organize unit tests 2021-01-01 13:26:37 +00:00
Consequences Organize unit tests 2021-01-01 13:26:37 +00:00
Filter Organize unit tests 2021-01-01 13:26:37 +00:00
Hooks Organize unit tests 2021-01-01 13:26:37 +00:00
Parser Reorder and cleanup some test files 2021-01-08 16:14:54 +01:00
Special DI for AbuseFilterSpecialPage 2021-01-02 11:13:41 +01:00
VariableGenerator Refactor VariableGenerator and LazyVariableComputer tests 2021-01-09 11:26:24 +00:00
Variables Refactor VariableGenerator and LazyVariableComputer tests 2021-01-09 11:26:24 +00:00
Watcher Organize unit tests 2021-01-01 13:26:37 +00:00
AbuseLoggerFactoryTest.php Add a bunch of tests 2021-01-04 15:54:54 +01:00
CentralDBManagerTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
EditBoxBuilderFactoryTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
FilterCompareTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
FilterImporterTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
FilterLookupTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
FilterRunnerTest.php Add pure unit tests for FilterRunner 2021-01-07 12:15:11 +00:00
FilterStoreTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
FilterValidatorTest.php Add a bunch of tests 2021-01-04 15:54:54 +01:00
GlobalNameUtilsTest.php Rename AbuseFilterTest to GlobalNameUtilsTest 2021-01-01 18:11:39 +01:00
KeywordsManagerTest.php Organize unit tests 2021-01-01 13:26:37 +00:00
SpecsFormatterTest.php Organize unit tests 2021-01-01 13:26:37 +00:00