|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 () | |
| getRefinery () | |
| getDefaultRenderer (JavaScriptBinding $js_binding=null) | |
| getDecoratedRenderer (Renderer $default) | |
| normalizeHTML ($html) | |
| assertHTMLEquals ($expected_html_as_string, $html_as_string) | |
Static Public Attributes | |
| static | $canonical_css_classes |
Additional Inherited Members | |
Protected Member Functions inherited from ILIAS_UI_TestBase | |
| brutallyTrimHTML ($html) | |
| A more radical version of normalizeHTML. More... | |
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 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().
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 20 of file CounterTest.php.
References Vendor\Package\$f, and getCounterFactory().
Here is the call graph for this function:| CounterTest::test_int_numbers_only | ( | $no_number | ) |
@dataProvider no_number_provider
Definition at line 67 of file CounterTest.php.
References Vendor\Package\$f, and getCounterFactory().
Here is the call graph for this function:| CounterTest::test_known_counters_only | ( | ) |
Definition at line 58 of file CounterTest.php.
| CounterTest::test_novelty_counter | ( | $number | ) |
@dataProvider number_provider
Definition at line 47 of file CounterTest.php.
References Vendor\Package\$c, Vendor\Package\$f, and getCounterFactory().
Here is the call graph for this function:| CounterTest::test_render_status | ( | $type, | |
| $number | |||
| ) |
@dataProvider counter_type_and_number_provider
Definition at line 99 of file CounterTest.php.
References Vendor\Package\$c, Vendor\Package\$f, $type, ILIAS_UI_TestBase\assertHTMLEquals(), 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 33 of file CounterTest.php.
References Vendor\Package\$c, Vendor\Package\$f, and getCounterFactory().
Here is the call graph for this function:
|
static |
Definition at line 92 of file CounterTest.php.