ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
|
Defines tests that a counter implementation should pass. More...
Public Member Functions | |
getCounterFactory () | |
testImplementsFactoryInterface () | |
testStatusCounter (int $number) | |
getNumberProvider More... | |
testNoveltyCounter (int $number) | |
getNumberProvider More... | |
testKnownCountersOnly () | |
testIntNumbersOnly ($no_number) | |
getNoNumberProvider More... | |
testRenderStatus (string $type, int $number) | |
getCounterTypeAndNumberProvider More... | |
Static Public Member Functions | |
static | getNumberProvider () |
static | getNoNumberProvider () |
static | getCounterTypeAndNumberProvider () |
Static Public Attributes | |
static array | $canonical_css_classes |
static array | novelty |
Defines tests that a counter implementation should pass.
Definition at line 31 of file CounterTest.php.
CounterTest::getCounterFactory | ( | ) |
Definition at line 33 of file CounterTest.php.
Referenced by testImplementsFactoryInterface(), testIntNumbersOnly(), testNoveltyCounter(), testRenderStatus(), and testStatusCounter().
|
static |
Definition at line 133 of file CounterTest.php.
|
static |
Definition at line 102 of file CounterTest.php.
|
static |
Definition at line 92 of file CounterTest.php.
CounterTest::testImplementsFactoryInterface | ( | ) |
Definition at line 38 of file CounterTest.php.
References Vendor\Package\$f, and getCounterFactory().
CounterTest::testIntNumbersOnly | ( | $no_number | ) |
getNoNumberProvider
Definition at line 85 of file CounterTest.php.
References Vendor\Package\$f, and getCounterFactory().
CounterTest::testKnownCountersOnly | ( | ) |
Definition at line 76 of file CounterTest.php.
CounterTest::testNoveltyCounter | ( | int | $number | ) |
getNumberProvider
Definition at line 65 of file CounterTest.php.
References $c, Vendor\Package\$f, and getCounterFactory().
CounterTest::testRenderStatus | ( | string | $type, |
int | $number | ||
) |
getCounterTypeAndNumberProvider
Definition at line 120 of file CounterTest.php.
References $c, Vendor\Package\$f, $r, and getCounterFactory().
CounterTest::testStatusCounter | ( | int | $number | ) |
getNumberProvider
Definition at line 51 of file CounterTest.php.
References $c, Vendor\Package\$f, and getCounterFactory().
|
static |
Definition at line 112 of file CounterTest.php.
|
static |
Definition at line 114 of file CounterTest.php.