ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilBuddySystemBaseTest Class Reference
+ Inheritance diagram for ilBuddySystemBaseTest:
+ Collaboration diagram for ilBuddySystemBaseTest:

Protected Member Functions

 assertException ($exception_class)
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 8 of file ilBuddySystemBaseTest.php.

Member Function Documentation

◆ assertException()

ilBuddySystemBaseTest::assertException (   $exception_class)
protected
Parameters
string$exception_class

Definition at line 13 of file ilBuddySystemBaseTest.php.

Referenced by ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsLinked(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenAnIgnoredRelationShouldBeMarkedAsIgnored(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenAnUnlinkedRelationShouldBeMarkedAsUnlinked(), ilBuddyListTest\testAlreadyGivenStateExceptionIsThrownWhenARequestedRelationShouldBeMarkedAsRequested(), ilBuddySystemLinkedStateRelationTest\testCanBeIgnored(), ilBuddySystemUnlinkedStateRelationTest\testCanBeIgnored(), ilBuddySystemRequestIgnoredStateRelationTest\testCanBeIgnored(), ilBuddySystemUnlinkedStateRelationTest\testCanBeLinked(), ilBuddySystemLinkedStateRelationTest\testCanBeLinked(), ilBuddySystemLinkedStateRelationTest\testCanBeRequested(), ilBuddySystemRequestedStateRelationTest\testCanBeRequested(), ilBuddySystemRequestIgnoredStateRelationTest\testCanBeRequested(), ilBuddySystemUnlinkedStateRelationTest\testCanBeUnlinked(), ilBuddyListTest\testExceptionIsThrownWhenNonNumericOwnerIdIsPassed(), ilBuddyListTest\testExceptionIsThrownWhenRelationIsRequestedForANonNumericUserId(), ilBuddyListTest\testInstanceCannotBeCreatedByAnonymousGlobalUserObject(), ilBuddyListTest\testRelationCannotBeRequestedForAnonymous(), ilBuddyListTest\testRelationCannotBeRequestedForUnknownUserAccounts(), ilBuddyListTest\testRelationRequestCannotBeApprovedByTheRelationOwner(), ilBuddyListTest\testRelationRequestCannotBeIgnoredByTheRelationOwner(), ilBuddySystemRelationCollectionTest\testRemovingAnNonExistingElementByKeyRaisesAnException(), ilBuddySystemRelationCollectionTest\testRemovingAnNonExistingElementRaisesAnException(), ilBuddyListTest\testStateTransitionExceptionIsThrownWhenALinkedRelationShouldBeMarkedAsIgnored(), ilBuddySystemRelationTest\testUsersAreNotAbleToIgnoreThemselves(), ilBuddySystemRelationTest\testUsersAreNotAbleToLinkThemselves(), ilBuddySystemRelationTest\testUsersAreNotAbleToRequestThemselves(), and ilBuddySystemRelationTest\testUsersAreNotAbleToUnlinkThemselves().

14  {
15  if(version_compare(PHPUnit_Runner_Version::id(), '5.0', '>='))
16  {
17  $this->setExpectedException($exception_class);
18  }
19  }
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: