ILIAS
release_8 Revision v8.23
|
Class ilChatroomUserTest. More...
Public Member Functions | |
testGetUserIdIfNotAnonymous () | |
testGetUserIdFromSessionIfAnonymous () | |
testGetUserIdRandomGeneratedIfAnonymous () | |
testSetUsername (string $username, string $expected) | |
usernameDataProvider More... | |
testGetUsernameFromSession () | |
testGetUsernameFromIlObjUser () | |
testBuildAnonymousName () | |
testBuildLogin () | |
testBuildFullname () | |
testBuildShortname () | |
testGetChatNameSuggestionsIfAnonymous () | |
testGetChatNameSuggestionsIfNotAnonymous () | |
usernameDataProvider () | |
Protected Member Functions | |
setUp () | |
![]() | |
setUp () | |
tearDown () | |
createIlChatroomMock () | |
createIlChatroomUserMock () | |
createGlobalIlDBMock () | |
setGlobalVariable (string $name, $value) | |
Protected Attributes | |
ilObjUser | $ilUserMock |
ilChatroomUser | $user |
![]() | |
$ilChatroomMock | |
$ilChatroomUserMock | |
Class ilChatroomUserTest.
Definition at line 27 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 194 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testBuildAnonymousName | ( | ) |
Definition at line 120 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testBuildFullname | ( | ) |
Definition at line 138 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testBuildLogin | ( | ) |
Definition at line 130 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testBuildShortname | ( | ) |
Definition at line 146 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testGetChatNameSuggestionsIfAnonymous | ( | ) |
Definition at line 156 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testGetChatNameSuggestionsIfNotAnonymous | ( | ) |
Definition at line 167 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testGetUserIdFromSessionIfAnonymous | ( | ) |
Definition at line 43 of file class.ilChatroomUserTest.php.
References $session, ilSession\set(), and ILIAS\Repository\user().
ilChatroomUserTest::testGetUserIdIfNotAnonymous | ( | ) |
Definition at line 33 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testGetUserIdRandomGeneratedIfAnonymous | ( | ) |
Definition at line 63 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::testGetUsernameFromIlObjUser | ( | ) |
Need to check if required value isset.
Definition at line 104 of file class.ilChatroomUserTest.php.
References ilSession\set(), and ILIAS\Repository\user().
ilChatroomUserTest::testGetUsernameFromSession | ( | ) |
Definition at line 84 of file class.ilChatroomUserTest.php.
References ilSession\set(), and ILIAS\Repository\user().
ilChatroomUserTest::testSetUsername | ( | string | $username, |
string | $expected | ||
) |
usernameDataProvider
string | $username | |
string | $expected |
Definition at line 78 of file class.ilChatroomUserTest.php.
References ILIAS\Repository\user().
ilChatroomUserTest::usernameDataProvider | ( | ) |
Definition at line 186 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 30 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 31 of file class.ilChatroomUserTest.php.