ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilChatroomUserTest. More...
Public Member Functions | |
testConstructor () | |
testGetUserIdIfNotAnonymous () | |
testGetUserIdFromSessionIfAnonymous () | |
testGetUserIdRandomGeneratedIfAnonymous () | |
testSetUsername ($username, $expected) | |
@dataProvider usernameDataProvider More... | |
testGetUsernameFromSession () | |
testGetUsernameFromIlObjUser () | |
testBuildAnonymousName () | |
testBuildLogin () | |
testBuildFullname () | |
testBuildShortname () | |
testGetChatNameSuggestionsIfAnonymous () | |
testGetChatNameSuggestionsIfNotAnonymous () | |
usernameDataProvider () | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$ilUserMock | |
$ilChatroomMock | |
$user | |
Class ilChatroomUserTest.
Definition at line 7 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 25 of file class.ilChatroomUserTest.php.
References defined, and user().
ilChatroomUserTest::testBuildAnonymousName | ( | ) |
Definition at line 132 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildFullname | ( | ) |
Definition at line 150 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildLogin | ( | ) |
Definition at line 142 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildShortname | ( | ) |
Definition at line 158 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testConstructor | ( | ) |
Definition at line 50 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetChatNameSuggestionsIfAnonymous | ( | ) |
Definition at line 168 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetChatNameSuggestionsIfNotAnonymous | ( | ) |
Definition at line 179 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUserIdFromSessionIfAnonymous | ( | ) |
Definition at line 65 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testGetUserIdIfNotAnonymous | ( | ) |
Definition at line 55 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUserIdRandomGeneratedIfAnonymous | ( | ) |
Definition at line 84 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUsernameFromIlObjUser | ( | ) |
Definition at line 120 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testGetUsernameFromSession | ( | ) |
Definition at line 105 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testSetUsername | ( | $username, | |
$expected | |||
) |
@dataProvider usernameDataProvider
string | $username | |
string | $expected |
Definition at line 99 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::usernameDataProvider | ( | ) |
Definition at line 198 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 18 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 13 of file class.ilChatroomUserTest.php.
|
protected |
Definition at line 23 of file class.ilChatroomUserTest.php.