| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilBuddyListTest. More...
 Inheritance diagram for ilBuddyListTestCase:
 Collaboration diagram for ilBuddyListTestCase:Protected Member Functions | |
| setUp () | |
  Protected Member Functions inherited from ilBuddySystemBaseTestCase | |
| setUp () | |
| tearDown () | |
| setGlobalVariable (string $name, $value) | |
Private Member Functions | |
| setPriorRelationState (ilBuddySystemRelation $relation, ilBuddySystemRelationState $state) | |
Private Attributes | |
| const | BUDDY_LIST_OWNER_ID = -1 | 
| const | BUDDY_LIST_BUDDY_ID = -2 | 
Class ilBuddyListTest.
Definition at line 25 of file ilBuddyListTestCase.php.
      
  | 
  private | 
Definition at line 513 of file ilBuddyListTestCase.php.
Referenced by testAlreadyGivenStateExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsLinked(), testAlreadyGivenStateExceptionIsThrownWhenAnIgnoredRelationShouldBeMarkedAsIgnored(), testAlreadyGivenStateExceptionIsThrownWhenAnUnlinkedRelationShouldBeMarkedAsUnlinked(), testAlreadyGivenStateExceptionIsThrownWhenARequestedRelationShouldBeMarkedAsRequested(), and testStateTransitionExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsIgnored().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 30 of file ilBuddyListTestCase.php.
References ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testAlreadyGivenStateExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsLinked | ( | ) | 
Definition at line 524 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and setPriorRelationState().
 Here is the call graph for this function:| ilBuddyListTestCase::testAlreadyGivenStateExceptionIsThrownWhenAnIgnoredRelationShouldBeMarkedAsIgnored | ( | ) | 
Definition at line 546 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and setPriorRelationState().
 Here is the call graph for this function:| ilBuddyListTestCase::testAlreadyGivenStateExceptionIsThrownWhenAnUnlinkedRelationShouldBeMarkedAsUnlinked | ( | ) | 
Definition at line 568 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and setPriorRelationState().
 Here is the call graph for this function:| ilBuddyListTestCase::testAlreadyGivenStateExceptionIsThrownWhenARequestedRelationShouldBeMarkedAsRequested | ( | ) | 
Definition at line 590 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), ilBuddySystemBaseTestCase\setGlobalVariable(), and setPriorRelationState().
 Here is the call graph for this function:| ilBuddyListTestCase::testDifferentRelationStatesCanBeRetrieved | ( | ) | 
Definition at line 422 of file ilBuddyListTestCase.php.
References $relation, and ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testInstanceByBeCreatedBySingletonMethod | ( | ) | 
Definition at line 68 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testInstanceCanBeCreatedByGlobalUserObject | ( | ) | 
Definition at line 48 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByGlobalUser(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testInstanceCannotBeCreatedByAnonymousGlobalUserObject | ( | ) | 
Definition at line 57 of file ilBuddyListTestCase.php.
References ANONYMOUS_USER_ID, ilBuddyList\getInstanceByGlobalUser(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testListIsInitiallyEmpty | ( | ) | 
Definition at line 95 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationCannotBeRequestedForAnonymous | ( | ) | 
Definition at line 322 of file ilBuddyListTestCase.php.
References ANONYMOUS_USER_ID, and ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationCannotBeRequestedForUnknownUserAccounts | ( | ) | 
Definition at line 344 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationRequestCanBeApprovedByTheRelationTarget | ( | ) | 
Definition at line 210 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationRequestCanBeIgnoredByTheRelationTarget | ( | ) | 
Definition at line 284 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationRequestCannotBeApprovedByTheRelationOwner | ( | ) | 
Definition at line 174 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRelationRequestCannotBeIgnoredByTheRelationOwner | ( | ) | 
Definition at line 248 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRepositoryIsEnquiredOnlyOnceToFetchRelationsWhenCalledImplicitly | ( | ) | 
Definition at line 137 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and ilBuddySystemBaseTestCase\setGlobalVariable().
 Here is the call graph for this function:| ilBuddyListTestCase::testRepositoryIsEnquiredToFetchRelationsWhenRequestedExplicitly | ( | ) | 
Definition at line 107 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testRepositoryIsEnquiredWhenBuddyListShouldBeDestroyed | ( | ) | 
Definition at line 375 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testStateTransitionExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsIgnored | ( | ) | 
Definition at line 618 of file ilBuddyListTestCase.php.
References $relation, ilBuddyList\getInstanceByUserId(), and setPriorRelationState().
 Here is the call graph for this function:| ilBuddyListTestCase::testUnlinkedRelationIsReturnedWhenRelationWasRequestedForAnUnknownBuddyId | ( | ) | 
Definition at line 386 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:| ilBuddyListTestCase::testValuesCanBeFetchedByGettersWhenSetBySetters | ( | ) | 
Definition at line 397 of file ilBuddyListTestCase.php.
References ilBuddyList\getInstanceByUserId().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 28 of file ilBuddyListTestCase.php.
      
  | 
  private | 
Definition at line 27 of file ilBuddyListTestCase.php.