|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Defines tests that a counter implementation should pass. More...
Inheritance diagram for CounterTest:
Collaboration diagram for CounterTest:Public Member Functions | |
| getCounterFactory () | |
| test_implements_factory_interface () | |
| test_status_counter ($number) | |
| @dataProvider number_provider More... | |
| test_novelty_counter ($number) | |
| @dataProvider number_provider More... | |
| test_known_counters_only () | |
| test_int_numbers_only ($no_number) | |
| @dataProvider no_number_provider More... | |
| number_provider () | |
| no_number_provider () | |
| test_render_status ($type, $number) | |
| @dataProvider 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.
| 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().
Here is the caller graph for this function:| CounterTest::no_number_provider | ( | ) |
Definition at line 83 of file CounterTest.php.
| CounterTest::number_provider | ( | ) |
Definition at line 74 of file CounterTest.php.
| CounterTest::test_implements_factory_interface | ( | ) |
Definition at line 18 of file CounterTest.php.
References getCounterFactory().
Here is the call graph for this function:| CounterTest::test_int_numbers_only | ( | $no_number | ) |
@dataProvider no_number_provider
Definition at line 64 of file CounterTest.php.
References getCounterFactory().
Here is the call graph for this function:| CounterTest::test_known_counters_only | ( | ) |
Definition at line 53 of file CounterTest.php.
| CounterTest::test_novelty_counter | ( | $number | ) |
@dataProvider number_provider
Definition at line 43 of file CounterTest.php.
References getCounterFactory().
Here is the call graph for this function:| CounterTest::test_render_status | ( | $type, | |
| $number | |||
| ) |
@dataProvider 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().
Here is the call graph for this function:| CounterTest::test_status_counter | ( | $number | ) |
@dataProvider number_provider
Definition at line 30 of file CounterTest.php.
References getCounterFactory().
Here is the call graph for this function:
|
static |
Definition at line 92 of file CounterTest.php.