ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NotesSessionRepositoryTest Class Reference

Test session repository. More...

+ Inheritance diagram for NotesSessionRepositoryTest:
+ Collaboration diagram for NotesSessionRepositoryTest:

Public Member Functions

 testSortAscending ()
 Test sort. More...
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

ILIAS Notes NotesSessionRepository $repo
 

Detailed Description

Test session repository.

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

Definition at line 26 of file NotesSessionRepositoryTest.php.

Member Function Documentation

◆ setUp()

NotesSessionRepositoryTest::setUp ( )
protected

Definition at line 30 of file NotesSessionRepositoryTest.php.

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

◆ tearDown()

NotesSessionRepositoryTest::tearDown ( )
protected

Definition at line 36 of file NotesSessionRepositoryTest.php.

36 : void
37 {
38 }

◆ testSortAscending()

NotesSessionRepositoryTest::testSortAscending ( )

Test sort.

Definition at line 43 of file NotesSessionRepositoryTest.php.

43 : void
44 {
46 $repo->setSortAscending(true);
47 $this->assertEquals(
48 true,
49 $repo->getSortAscending()
50 );
51 $repo->setSortAscending(false);
52 $this->assertEquals(
53 false,
54 $repo->getSortAscending()
55 );
56 }
ILIAS Notes NotesSessionRepository $repo

References $repo.

Field Documentation

◆ $repo

ILIAS Notes NotesSessionRepository NotesSessionRepositoryTest::$repo
protected

Definition at line 28 of file NotesSessionRepositoryTest.php.

Referenced by testSortAscending().


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