|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\WOPI\Handler\GetFileInfoResponseTest:
Collaboration diagram for ILIAS\WOPI\Handler\GetFileInfoResponseTest:Public Member Functions | |
| testViewSessionDoesNotClaimRestrictionsItDoesNotMean () | |
| RestrictedWebViewOnly restricts what the user may do with the file and its effect is up to the client; UserCanAttend is about viewing a broadcast. More... | |
| testEditSessionDoesNotClaimRestrictionsItDoesNotMean () | |
| testViewSessionStaysReadOnly () | |
| testEditSessionMayWrite () | |
| testViewSessionOfAUserWhoMayWriteStaysReadOnlyButDoesNotBlameTheirRights () | |
| The content tab of a file object is a viewer, also for someone who holds the permission to edit the file. More... | |
| testViewSessionOfAUserWhoMayNotWrite () | |
| testTheHostDoesNotOfferAWayIntoEditMode () | |
| ILIAS never handles the UI_Edit message, so it must not announce that it does. More... | |
| testNoCloseButtonOfTheClientIsAnnounced () | |
| ILIAS closes the WOPI client itself, a close button of the client would do nothing. More... | |
| testIdsAndVersionAreStrings () | |
Protected Member Functions | |
| setUp () | |
Private Member Functions | |
| responseFor (bool $editable, ?bool $user_can_write=null) | |
Definition at line 30 of file GetFileInfoResponseTest.php.
|
private |
Definition at line 49 of file GetFileInfoResponseTest.php.
Referenced by ILIAS\WOPI\Handler\GetFileInfoResponseTest\testEditSessionDoesNotClaimRestrictionsItDoesNotMean(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testEditSessionMayWrite(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testIdsAndVersionAreStrings(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testNoCloseButtonOfTheClientIsAnnounced(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testTheHostDoesNotOfferAWayIntoEditMode(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testViewSessionDoesNotClaimRestrictionsItDoesNotMean(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testViewSessionOfAUserWhoMayNotWrite(), ILIAS\WOPI\Handler\GetFileInfoResponseTest\testViewSessionOfAUserWhoMayWriteStaysReadOnlyButDoesNotBlameTheirRights(), and ILIAS\WOPI\Handler\GetFileInfoResponseTest\testViewSessionStaysReadOnly().
Here is the caller graph for this function:
|
protected |
Definition at line 32 of file GetFileInfoResponseTest.php.
| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testEditSessionDoesNotClaimRestrictionsItDoesNotMean | ( | ) |
Definition at line 78 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testEditSessionMayWrite | ( | ) |
Definition at line 95 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testIdsAndVersionAreStrings | ( | ) |
Definition at line 150 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testNoCloseButtonOfTheClientIsAnnounced | ( | ) |
ILIAS closes the WOPI client itself, a close button of the client would do nothing.
Definition at line 140 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testTheHostDoesNotOfferAWayIntoEditMode | ( | ) |
ILIAS never handles the UI_Edit message, so it must not announce that it does.
Definition at line 131 of file GetFileInfoResponseTest.php.
References ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testViewSessionDoesNotClaimRestrictionsItDoesNotMean | ( | ) |
RestrictedWebViewOnly restricts what the user may do with the file and its effect is up to the client; UserCanAttend is about viewing a broadcast.
Neither describes the fact that this session opened a viewer, so neither is sent any more.
Definition at line 70 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testViewSessionOfAUserWhoMayNotWrite | ( | ) |
Definition at line 119 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testViewSessionOfAUserWhoMayWriteStaysReadOnlyButDoesNotBlameTheirRights | ( | ) |
The content tab of a file object is a viewer, also for someone who holds the permission to edit the file.
The session stays read-only, but the client is told that the user is not the reason for it - otherwise it explains the viewer with missing access rights.
Definition at line 110 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function:| ILIAS\WOPI\Handler\GetFileInfoResponseTest::testViewSessionStaysReadOnly | ( | ) |
Definition at line 86 of file GetFileInfoResponseTest.php.
References $response, and ILIAS\WOPI\Handler\GetFileInfoResponseTest\responseFor().
Here is the call graph for this function: