ILIAS
release_8 Revision v8.19
|
Test on avatar implementation. More...
Public Member Functions | |
testConstruction () | |
testAbbreviation () | |
testUsername () | |
testPicturePath () | |
testColorVariant () | |
testCrc32 () | |
testAlternativeText () | |
testRenderingLetter () | |
testRenderingPicture () | |
testRenderingPictureWithSomeAlternativeText () | |
getRandom26StringsForAllColorVariants (int $color_variants=26, int $length=2) | |
testHTMLInLabel () | |
testHTMLInCustomImage () | |
![]() | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getRefinery () | |
getImagePathResolver () | |
getDataFactory () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null, array $with_stub_renderings=[]) | |
getDecoratedRenderer (Renderer $default) | |
normalizeHTML (string $html) | |
assertHTMLEquals (string $expected_html_as_string, string $html_as_string) | |
Protected Attributes | |
const | ICON_PATH = __DIR__ . "/../../../../../templates/default/images/" |
Private Member Functions | |
getAvatarFactory () | |
Additional Inherited Members | |
![]() | |
brutallyTrimHTML (string $html) | |
A more radical version of normalizeHTML. More... | |
brutallyTrimSignals (string $html) | |
A naive replacement of all il_signal-ids with dots to ease comparisons of rendered output. More... | |
Test on avatar implementation.
Definition at line 30 of file AvatarTest.php.
|
private |
Definition at line 34 of file AvatarTest.php.
Referenced by testAbbreviation(), testAlternativeText(), testColorVariant(), testConstruction(), testCrc32(), testHTMLInCustomImage(), testHTMLInLabel(), testPicturePath(), testRenderingLetter(), testRenderingPicture(), testRenderingPictureWithSomeAlternativeText(), and testUsername().
AvatarTest::getRandom26StringsForAllColorVariants | ( | int | $color_variants = 26 , |
int | $length = 2 |
||
) |
int | $color_variants | |
int | $length |
Definition at line 199 of file AvatarTest.php.
References $i.
Referenced by testCrc32().
AvatarTest::testAbbreviation | ( | ) |
Definition at line 51 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testAlternativeText | ( | ) |
Definition at line 138 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testColorVariant | ( | ) |
Definition at line 83 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testConstruction | ( | ) |
Definition at line 39 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testCrc32 | ( | ) |
Definition at line 121 of file AvatarTest.php.
References Vendor\Package\$f, getAvatarFactory(), and getRandom26StringsForAllColorVariants().
AvatarTest::testHTMLInCustomImage | ( | ) |
Definition at line 242 of file AvatarTest.php.
References Vendor\Package\$f, ILIAS_UI_TestBase\brutallyTrimHTML(), getAvatarFactory(), and ILIAS_UI_TestBase\getDefaultRenderer().
AvatarTest::testHTMLInLabel | ( | ) |
Definition at line 228 of file AvatarTest.php.
References Vendor\Package\$f, ILIAS_UI_TestBase\brutallyTrimHTML(), getAvatarFactory(), and ILIAS_UI_TestBase\getDefaultRenderer().
AvatarTest::testPicturePath | ( | ) |
Definition at line 75 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testRenderingLetter | ( | ) |
Definition at line 151 of file AvatarTest.php.
References Vendor\Package\$f, ILIAS_UI_TestBase\brutallyTrimHTML(), getAvatarFactory(), and ILIAS_UI_TestBase\getDefaultRenderer().
AvatarTest::testRenderingPicture | ( | ) |
Definition at line 165 of file AvatarTest.php.
References Vendor\Package\$f, ILIAS_UI_TestBase\brutallyTrimHTML(), getAvatarFactory(), and ILIAS_UI_TestBase\getDefaultRenderer().
AvatarTest::testRenderingPictureWithSomeAlternativeText | ( | ) |
Definition at line 180 of file AvatarTest.php.
References Vendor\Package\$f, ILIAS_UI_TestBase\brutallyTrimHTML(), getAvatarFactory(), and ILIAS_UI_TestBase\getDefaultRenderer().
AvatarTest::testUsername | ( | ) |
Definition at line 61 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
|
protected |
Definition at line 32 of file AvatarTest.php.