|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Class ilTestSessionTest. More...
Inheritance diagram for ilTestSessionTest:
Collaboration diagram for ilTestSessionTest:Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from ilTestBaseTestCase | |
| setUp () | |
| tearDown () | |
Private Member Functions | |
| getTestObject (int $test_id) | |
| createTestSession (int $user_id, int $active_id, int $test_id, ?string $access_code=null) | |
Private Attributes | |
| ilTestSession | $testObj |
Additional Inherited Members | |
Static Public Member Functions inherited from ilTestBaseTestCase | |
| static | callMethod ($obj, $name, array $args=[]) |
| static | getNonPublicPropertyValue (object $obj, string $name) |
Data Fields inherited from ilTestBaseTestCase | |
| const string | MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT' |
| const string | DYNAMIC_CLASS = 'DynamicClass' |
Protected Attributes inherited from ilTestBaseTestCase | |
| Container | $dic = null |
| Container | $backup_dic = null |
Static Protected Attributes inherited from ilTestBaseTestCase | |
| static int | $DYNAMIC_CLASS_COUNT = 0 |
Class ilTestSessionTest.
Definition at line 25 of file ilTestSessionTest.php.
|
private |
Definition at line 281 of file ilTestSessionTest.php.
Referenced by testCheckAccessAcceptsAnonymousActiveIdWithMatchingAccessCode(), testCheckAccessAllowsAnonymousWithoutActiveId(), testCheckAccessAllowsAuthenticatedUsers(), testCheckAccessRejectsActiveIdFromDifferentTest(), testCheckAccessRejectsAnonymousActiveIdWithForeignAccessCode(), testCheckAccessRejectsAnonymousActiveIdWithoutAccessCode(), and testCheckAccessRejectsAuthenticatedUsersWithInconsistentUserId().
Here is the caller graph for this function:
|
private |
Definition at line 274 of file ilTestSessionTest.php.
References getTestObjMock().
Referenced by testCheckAccessAcceptsAnonymousActiveIdWithMatchingAccessCode(), testCheckAccessAllowsAnonymousWithoutActiveId(), testCheckAccessAllowsAuthenticatedUsers(), testCheckAccessRejectsActiveIdFromDifferentTest(), testCheckAccessRejectsAnonymousActiveIdWithForeignAccessCode(), testCheckAccessRejectsAnonymousActiveIdWithoutAccessCode(), and testCheckAccessRejectsAuthenticatedUsersWithInconsistentUserId().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestBaseTestCase.
Definition at line 29 of file ilTestSessionTest.php.
References addGlobal_GlobalScreenService(), addGlobal_ilHelp(), addGlobal_ilNavigationHistory(), addGlobal_ilObjDataCache(), addGlobal_ilTabs(), addGlobal_ilToolbar(), addGlobal_rbacsystem(), and setUp().
Here is the call graph for this function:| ilTestSessionTest::test_instantiateObject_shouldReturnInstance | ( | ) |
Definition at line 47 of file ilTestSessionTest.php.
| ilTestSessionTest::testActiveId | ( | ) |
Definition at line 59 of file ilTestSessionTest.php.
| ilTestSessionTest::testAnonymousId | ( | ) |
Definition at line 80 of file ilTestSessionTest.php.
| ilTestSessionTest::testCheckAccessAcceptsAnonymousActiveIdWithMatchingAccessCode | ( | ) |
Definition at line 217 of file ilTestSessionTest.php.
References ANONYMOUS_USER_ID, createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessAllowsAnonymousWithoutActiveId | ( | ) |
Definition at line 265 of file ilTestSessionTest.php.
References ANONYMOUS_USER_ID, createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessAllowsAuthenticatedUsers | ( | ) |
Definition at line 241 of file ilTestSessionTest.php.
References createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessRejectsActiveIdFromDifferentTest | ( | ) |
Definition at line 229 of file ilTestSessionTest.php.
References ANONYMOUS_USER_ID, createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessRejectsAnonymousActiveIdWithForeignAccessCode | ( | ) |
Definition at line 204 of file ilTestSessionTest.php.
References ANONYMOUS_USER_ID, createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessRejectsAnonymousActiveIdWithoutAccessCode | ( | ) |
Definition at line 192 of file ilTestSessionTest.php.
References ilTestSession\ACCESS_CODE_SESSION_INDEX, ANONYMOUS_USER_ID, createTestSession(), getTestObject(), and ilSession\set().
Here is the call graph for this function:| ilTestSessionTest::testCheckAccessRejectsAuthenticatedUsersWithInconsistentUserId | ( | ) |
Definition at line 250 of file ilTestSessionTest.php.
References createTestSession(), and getTestObject().
Here is the call graph for this function:| ilTestSessionTest::testIncreasePass | ( | ) |
Definition at line 101 of file ilTestSessionTest.php.
| ilTestSessionTest::testIsAnonymousUser | ( | ) |
Definition at line 175 of file ilTestSessionTest.php.
References ANONYMOUS_USER_ID.
| ilTestSessionTest::testIsObjectiveOriented | ( | ) |
Definition at line 148 of file ilTestSessionTest.php.
| ilTestSessionTest::testLastFinishedPass | ( | ) |
Definition at line 127 of file ilTestSessionTest.php.
| ilTestSessionTest::testLastSequence | ( | ) |
Definition at line 87 of file ilTestSessionTest.php.
| ilTestSessionTest::testLastStartedPass | ( | ) |
Definition at line 141 of file ilTestSessionTest.php.
| ilTestSessionTest::testObjectiveOrientedContainerId | ( | ) |
Definition at line 134 of file ilTestSessionTest.php.
| ilTestSessionTest::testPass | ( | ) |
Definition at line 94 of file ilTestSessionTest.php.
| ilTestSessionTest::testPasswordChecked | ( | ) |
Definition at line 183 of file ilTestSessionTest.php.
References ilSession\get().
Here is the call graph for this function:| ilTestSessionTest::testRefId | ( | ) |
Definition at line 52 of file ilTestSessionTest.php.
| ilTestSessionTest::testSetAccessCodeToSession | ( | ) |
Definition at line 156 of file ilTestSessionTest.php.
References ilTestSession\ACCESS_CODE_SESSION_INDEX, ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilTestSessionTest::testSubmitted | ( | ) |
Definition at line 111 of file ilTestSessionTest.php.
| ilTestSessionTest::testSubmittedTimestamp | ( | ) |
Definition at line 119 of file ilTestSessionTest.php.
| ilTestSessionTest::testTestId | ( | ) |
Definition at line 73 of file ilTestSessionTest.php.
| ilTestSessionTest::testUnsetAccessCodeInSession | ( | ) |
Definition at line 164 of file ilTestSessionTest.php.
References ilTestSession\ACCESS_CODE_SESSION_INDEX, ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilTestSessionTest::testUserId | ( | ) |
|
private |
Definition at line 27 of file ilTestSessionTest.php.