ILIAS  release_8 Revision v8.25
AccessSessionRepositoryTest Class Reference

Test clipboard repository. More...

+ Inheritance diagram for AccessSessionRepositoryTest:
+ Collaboration diagram for AccessSessionRepositoryTest:

Public Member Functions

 testSharesSessionPassword ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

ILIAS Portfolio Access AccessSessionRepository $repo
 

Detailed Description

Test clipboard repository.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 10 of file AccessSessionRepositoryTest.php.

Member Function Documentation

◆ setUp()

AccessSessionRepositoryTest::setUp ( )
protected

Definition at line 14 of file AccessSessionRepositoryTest.php.

14 : void
15 {
16 parent::setUp();
17 $this->repo = new \ILIAS\Portfolio\Access\AccessSessionRepository();
18 }

◆ tearDown()

AccessSessionRepositoryTest::tearDown ( )
protected

Definition at line 20 of file AccessSessionRepositoryTest.php.

20 : void
21 {
22 }

◆ testSharesSessionPassword()

AccessSessionRepositoryTest::testSharesSessionPassword ( )

Definition at line 24 of file AccessSessionRepositoryTest.php.

25 {
27 $repo->setSharedSessionPassword(5, "mypass");
28 $this->assertEquals(
29 "mypass",
30 $repo->getSharedSessionPassword(5)
31 );
32 }
ILIAS Portfolio Access AccessSessionRepository $repo

References $repo.

Field Documentation

◆ $repo

ILIAS Portfolio Access AccessSessionRepository AccessSessionRepositoryTest::$repo
protected

Definition at line 12 of file AccessSessionRepositoryTest.php.

Referenced by testSharesSessionPassword().


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