ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBuddySystemBaseTest Class Reference
+ Inheritance diagram for ilBuddySystemBaseTest:
+ Collaboration diagram for ilBuddySystemBaseTest:

Protected Member Functions

 setGlobalVariable ($name, $value)
 
 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 29 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().

30  {
31  if (version_compare(PHPUnit_Runner_Version::id(), '5.0', '>=')) {
32  $this->setExpectedException($exception_class);
33  }
34  }
+ Here is the caller graph for this function:

◆ setGlobalVariable()


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