|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
TestCase for the ilWACTokenTest. More...
Inheritance diagram for ilWACTokenTest:
Collaboration diagram for ilWACTokenTest:Public Member Functions | |
| testWithoutSigning () | |
| testSomeBasics () | |
| testTokenGeneration () | |
| testCookieGeneration () | |
| testFileToken () | |
| testModifiedTimestampNoMod () | |
| @Test More... | |
| testModifiedTimestampAddTime () | |
| @Test More... | |
| testModifiedTimestampSubTime () | |
| testModifiedTTL () | |
| testModifiedTTLAndTimestamp () | |
| testModifiedToken () | |
Data Fields | |
| const | ADDITIONAL_TIME = 1 |
| const | LIFETIME = 2 |
| const | SALT = 'SALT' |
| const | CLIENT_NAME = 'client_name' |
Protected Member Functions | |
| setUp () | |
| Setup. More... | |
| getModifiedSignedPath ($add_ttl=0, $add_timestamp=0, $override_token=null) | |
Protected Attributes | |
| $backupGlobals = false | |
| $file_one | |
| $file_one_subfolder | |
| $file_one_subfolder_two | |
| $file_two | |
| $file_three | |
| $file_four | |
| $root | |
Private Attributes | |
| $http | |
| $cookieFactory | |
TestCase for the ilWACTokenTest.
@runTestsInSeparateProcesses @preserveGlobalState disabled @backupGlobals disabled @backupStaticAttributes disabled
Definition at line 54 of file ilWACTokenTest.php.
|
protected |
| int | $add_ttl | |
| int | $add_timestamp | |
| null | $override_token |
Definition at line 361 of file ilWACTokenTest.php.
References $query, $token, ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
Referenced by testModifiedTimestampAddTime(), testModifiedTimestampNoMod(), testModifiedTimestampSubTime(), testModifiedToken(), testModifiedTTL(), and testModifiedTTLAndTimestamp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Setup.
Definition at line 105 of file ilWACTokenTest.php.
References Vendor\Package\$c, $container, $GLOBALS, ILIAS\FileDelivery\http(), and ilWACToken\setSALT().
Here is the call graph for this function:| ilWACTokenTest::testCookieGeneration | ( | ) |
Definition at line 206 of file ilWACTokenTest.php.
References $response, ILIAS\FileDelivery\http(), and ilWACSignedPath\signFolderOfStartFile().
Here is the call graph for this function:| ilWACTokenTest::testFileToken | ( | ) |
Definition at line 259 of file ilWACTokenTest.php.
References ilWACSignedPath\getTokenMaxLifetimeInSeconds(), ILIAS\FileDelivery\http(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
Here is the call graph for this function:| ilWACTokenTest::testModifiedTimestampAddTime | ( | ) |
@Test
Definition at line 304 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testModifiedTimestampNoMod | ( | ) |
@Test
Definition at line 291 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testModifiedTimestampSubTime | ( | ) |
Definition at line 314 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testModifiedToken | ( | ) |
Definition at line 345 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testModifiedTTL | ( | ) |
Definition at line 325 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testModifiedTTLAndTimestamp | ( | ) |
Definition at line 335 of file ilWACTokenTest.php.
References getModifiedSignedPath(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilWACTokenTest::testSomeBasics | ( | ) |
Definition at line 175 of file ilWACTokenTest.php.
References $query.
| ilWACTokenTest::testTokenGeneration | ( | ) |
Definition at line 191 of file ilWACTokenTest.php.
References ilWACToken\getSALT().
Here is the call graph for this function:| ilWACTokenTest::testWithoutSigning | ( | ) |
Definition at line 143 of file ilWACTokenTest.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 63 of file ilWACTokenTest.php.
|
private |
Definition at line 99 of file ilWACTokenTest.php.
|
protected |
Definition at line 87 of file ilWACTokenTest.php.
|
protected |
Definition at line 67 of file ilWACTokenTest.php.
|
protected |
Definition at line 71 of file ilWACTokenTest.php.
|
protected |
Definition at line 75 of file ilWACTokenTest.php.
|
protected |
Definition at line 83 of file ilWACTokenTest.php.
|
protected |
Definition at line 79 of file ilWACTokenTest.php.
|
private |
Definition at line 95 of file ilWACTokenTest.php.
|
protected |
Definition at line 91 of file ilWACTokenTest.php.
| const ilWACTokenTest::ADDITIONAL_TIME = 1 |
Definition at line 56 of file ilWACTokenTest.php.
| const ilWACTokenTest::CLIENT_NAME = 'client_name' |
Definition at line 59 of file ilWACTokenTest.php.
| const ilWACTokenTest::LIFETIME = 2 |
Definition at line 57 of file ilWACTokenTest.php.
| const ilWACTokenTest::SALT = 'SALT' |
Definition at line 58 of file ilWACTokenTest.php.