ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Defines tests that a counter implementation should pass. More...
Public Member Functions | |
getCounterFactory () | |
test_implements_factory_interface () | |
test_status_counter ($number) | |
number_provider More... | |
test_novelty_counter ($number) | |
number_provider More... | |
test_known_counters_only () | |
test_int_numbers_only ($no_number) | |
no_number_provider More... | |
number_provider () | |
no_number_provider () | |
test_render_status ($type, $number) | |
counter_type_and_number_provider More... | |
counter_type_and_number_provider () | |
Public Member Functions inherited from ILIAS_UI_TestBase | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getDefaultRenderer () | |
normalizeHTML ($html) | |
assertHTMLEquals ($expected_html_as_string, $html_as_string) | |
Static Public Attributes | |
static | $canonical_css_classes |
Defines tests that a counter implementation should pass.
Definition at line 13 of file CounterTest.php.
CounterTest::counter_type_and_number_provider | ( | ) |
Definition at line 112 of file CounterTest.php.
References array.
CounterTest::getCounterFactory | ( | ) |
Definition at line 14 of file CounterTest.php.
Referenced by test_implements_factory_interface(), test_int_numbers_only(), test_novelty_counter(), test_render_status(), and test_status_counter().
CounterTest::no_number_provider | ( | ) |
CounterTest::number_provider | ( | ) |
Definition at line 74 of file CounterTest.php.
References array.
CounterTest::test_implements_factory_interface | ( | ) |
Definition at line 18 of file CounterTest.php.
References getCounterFactory().
CounterTest::test_int_numbers_only | ( | $no_number | ) |
no_number_provider
Definition at line 64 of file CounterTest.php.
References getCounterFactory().
CounterTest::test_known_counters_only | ( | ) |
Definition at line 53 of file CounterTest.php.
CounterTest::test_novelty_counter | ( | $number | ) |
number_provider
Definition at line 43 of file CounterTest.php.
References getCounterFactory().
CounterTest::test_render_status | ( | $type, | |
$number | |||
) |
counter_type_and_number_provider
Definition at line 100 of file CounterTest.php.
References $html, $r, getCounterFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
CounterTest::test_status_counter | ( | $number | ) |
number_provider
Definition at line 30 of file CounterTest.php.
References getCounterFactory().
|
static |
Definition at line 92 of file CounterTest.php.