ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Test on avatar implementation. More...
Public Member Functions | |
testConstruction () | |
testAbbreviation () | |
testUsername () | |
testPicturePath () | |
testColorVariant () | |
testCrc32 () | |
testRenderingLetter () | |
testRenderingPicture () | |
getRandom26StringsForAllColorVariants (int $color_variants=26, int $length=10) | |
![]() | |
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) | |
Protected Attributes | |
const | ICON_PATH = __DIR__ . "/../../../../../templates/default/images/" |
Private Member Functions | |
getAvatarFactory () | |
Additional Inherited Members | |
![]() | |
brutallyTrimHTML ($html) | |
A more radical version of normalizeHTML. More... | |
Test on avatar implementation.
Definition at line 12 of file AvatarTest.php.
|
private |
Definition at line 16 of file AvatarTest.php.
Referenced by testAbbreviation(), testColorVariant(), testConstruction(), testCrc32(), testPicturePath(), testRenderingLetter(), testRenderingPicture(), and testUsername().
AvatarTest::getRandom26StringsForAllColorVariants | ( | int | $color_variants = 26 , |
int | $length = 10 |
||
) |
int | $color_variants | |
int | $length |
Definition at line 148 of file AvatarTest.php.
References $i.
Referenced by testCrc32().
AvatarTest::testAbbreviation | ( | ) |
Definition at line 33 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testColorVariant | ( | ) |
Definition at line 65 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testConstruction | ( | ) |
Definition at line 21 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testCrc32 | ( | ) |
Definition at line 103 of file AvatarTest.php.
References Vendor\Package\$f, getAvatarFactory(), and getRandom26StringsForAllColorVariants().
AvatarTest::testPicturePath | ( | ) |
Definition at line 57 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
AvatarTest::testRenderingLetter | ( | ) |
Definition at line 120 of file AvatarTest.php.
References Vendor\Package\$f, getAvatarFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
AvatarTest::testRenderingPicture | ( | ) |
Definition at line 131 of file AvatarTest.php.
References Vendor\Package\$f, getAvatarFactory(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS_UI_TestBase\normalizeHTML().
AvatarTest::testUsername | ( | ) |
Definition at line 43 of file AvatarTest.php.
References Vendor\Package\$f, and getAvatarFactory().
|
protected |
Definition at line 14 of file AvatarTest.php.