ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 (JavaScriptBinding $js_binding=null) | |
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 119 of file CounterTest.php.
CounterTest::getCounterFactory | ( | ) |
Definition at line 15 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 | ( | ) |
Definition at line 90 of file CounterTest.php.
CounterTest::number_provider | ( | ) |
Definition at line 81 of file CounterTest.php.
CounterTest::test_implements_factory_interface | ( | ) |
Definition at line 20 of file CounterTest.php.
References $f, and getCounterFactory().
CounterTest::test_int_numbers_only | ( | $no_number | ) |
no_number_provider
Definition at line 70 of file CounterTest.php.
References $f, and getCounterFactory().
CounterTest::test_known_counters_only | ( | ) |
Definition at line 58 of file CounterTest.php.
CounterTest::test_novelty_counter | ( | $number | ) |
number_provider
Definition at line 47 of file CounterTest.php.
References $c, $f, and getCounterFactory().
CounterTest::test_render_status | ( | $type, | |
$number | |||
) |
counter_type_and_number_provider
Definition at line 106 of file CounterTest.php.
References $c, $f, $html, $r, $type, getCounterFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
CounterTest::test_status_counter | ( | $number | ) |
number_provider
Definition at line 33 of file CounterTest.php.
References $c, $f, and getCounterFactory().
|
static |
Definition at line 99 of file CounterTest.php.