MediaWiki REL1_34
|
@group SpamBlacklist @group Database @covers SpamBlacklist More...
Public Member Functions | |
spamProvider () | |
testSpam ( $links, $expected) | |
@dataProvider spamProvider | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Protected Attributes | |
array | $blacklist = [ '\b01bags\.com\b', 'sytes\.net' ] |
Spam blacklist regexes. | |
SpamBlacklist | $spamFilter |
array | $whitelist = [ 'a5b\.sytes\.net' ] |
Spam whitelist regexes. | |
@group SpamBlacklist @group Database @covers SpamBlacklist
Definition at line 8 of file SpamBlacklistTest.php.
|
protected |
Definition at line 68 of file SpamBlacklistTest.php.
References BaseBlacklist\getInstance().
SpamBlacklistTest::spamProvider | ( | ) |
Definition at line 37 of file SpamBlacklistTest.php.
|
protected |
Definition at line 89 of file SpamBlacklistTest.php.
SpamBlacklistTest::testSpam | ( | $links, | |
$expected ) |
@dataProvider spamProvider
Definition at line 63 of file SpamBlacklistTest.php.
|
protected |
Spam blacklist regexes.
Examples taken from:
via Flow extension
Definition at line 24 of file SpamBlacklistTest.php.
|
protected |
Definition at line 12 of file SpamBlacklistTest.php.
|
protected |
Spam whitelist regexes.
Examples taken from:
via Flow extension
Definition at line 35 of file SpamBlacklistTest.php.