ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 26 of file AccessSessionRepositoryTest.php.

Member Function Documentation

◆ setUp()

AccessSessionRepositoryTest::setUp ( )
protected

Definition at line 30 of file AccessSessionRepositoryTest.php.

30 : void
31 {
32 parent::setUp();
33 $this->repo = new \ILIAS\Portfolio\Access\AccessSessionRepository();
34 }

◆ tearDown()

AccessSessionRepositoryTest::tearDown ( )
protected

Definition at line 36 of file AccessSessionRepositoryTest.php.

36 : void
37 {
38 }

◆ testSharesSessionPassword()

AccessSessionRepositoryTest::testSharesSessionPassword ( )

Definition at line 40 of file AccessSessionRepositoryTest.php.

41 {
43 $repo->setSharedSessionPassword(5, "mypass");
44 $this->assertEquals(
45 "mypass",
46 $repo->getSharedSessionPassword(5)
47 );
48 }
ILIAS Portfolio Access AccessSessionRepository $repo

References $repo.

Field Documentation

◆ $repo

ILIAS Portfolio Access AccessSessionRepository AccessSessionRepositoryTest::$repo
protected

Definition at line 28 of file AccessSessionRepositoryTest.php.

Referenced by testSharesSessionPassword().


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