MediaWiki
REL1_24
|
Public Member Functions | |
testIPSet ($desc, array $cfg, array $tests) | |
Validates IPSet loading and matching code. | |
Static Public Member Functions | |
static | provideIPSets () |
Provides test cases for IPSetTest::testIPSet. |
Definition at line 6 of file IPSetTest.php.
static IPSetTest::provideIPSets | ( | ) | [static] |
Provides test cases for IPSetTest::testIPSet.
Returns an array of test cases. Each case is an array of (description, config, tests). Description is just text output for failure messages, config is an array constructor argument for IPSet, and the tests are an array of IP => expected (boolean) result against the config dataset.
Definition at line 15 of file IPSetTest.php.
References array().
IPSetTest::testIPSet | ( | $ | desc, |
array $ | cfg, | ||
array $ | tests | ||
) |