ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 129 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildFullname | ( | ) |
Definition at line 147 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildLogin | ( | ) |
Definition at line 139 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testBuildShortname | ( | ) |
Definition at line 155 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testConstructor | ( | ) |
Definition at line 47 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetChatNameSuggestionsIfAnonymous | ( | ) |
Definition at line 165 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetChatNameSuggestionsIfNotAnonymous | ( | ) |
Definition at line 176 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUserIdFromSessionIfAnonymous | ( | ) |
Definition at line 62 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testGetUserIdIfNotAnonymous | ( | ) |
Definition at line 52 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUserIdRandomGeneratedIfAnonymous | ( | ) |
Definition at line 81 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::testGetUsernameFromIlObjUser | ( | ) |
Definition at line 117 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testGetUsernameFromSession | ( | ) |
Definition at line 102 of file class.ilChatroomUserTest.php.
References $_SESSION, and user().
ilChatroomUserTest::testSetUsername | ( | $username, | |
$expected | |||
) |
@dataProvider usernameDataProvider
string | $username | |
string | $expected |
Definition at line 96 of file class.ilChatroomUserTest.php.
References user().
ilChatroomUserTest::usernameDataProvider | ( | ) |
Definition at line 195 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.