ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 () | |
![]() | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getRefinery () | |
getImagePathResolver () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null, $with_stub_renderings=[]) | |
getDecoratedRenderer (Renderer $default) | |
normalizeHTML ($html) | |
assertHTMLEquals ($expected_html_as_string, $html_as_string) | |
Static Public Attributes | |
static | $canonical_css_classes |
Additional Inherited Members | |
![]() | |
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().
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().
CounterTest::test_int_numbers_only | ( | $no_number | ) |
no_number_provider
Definition at line 67 of file CounterTest.php.
References Vendor\Package\$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, Vendor\Package\$f, and getCounterFactory().
CounterTest::test_render_status | ( | $type, | |
$number | |||
) |
counter_type_and_number_provider
Definition at line 99 of file CounterTest.php.
References $c, Vendor\Package\$f, $type, ILIAS_UI_TestBase\assertHTMLEquals(), 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, Vendor\Package\$f, and getCounterFactory().
|
static |
Definition at line 92 of file CounterTest.php.