ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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 10 of file NotesSessionRepositoryTest.php.

Member Function Documentation

◆ setUp()

NotesSessionRepositoryTest::setUp ( )
protected

Definition at line 14 of file NotesSessionRepositoryTest.php.

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

◆ tearDown()

NotesSessionRepositoryTest::tearDown ( )
protected

Definition at line 20 of file NotesSessionRepositoryTest.php.

20  : void
21  {
22  }

◆ testSortAscending()

NotesSessionRepositoryTest::testSortAscending ( )

Test sort.

Definition at line 27 of file NotesSessionRepositoryTest.php.

References $repo.

27  : void
28  {
30  $repo->setSortAscending(true);
31  $this->assertEquals(
32  true,
33  $repo->getSortAscending()
34  );
35  $repo->setSortAscending(false);
36  $this->assertEquals(
37  false,
38  $repo->getSortAscending()
39  );
40  }
ILIAS Notes NotesSessionRepository $repo

Field Documentation

◆ $repo

ILIAS Notes NotesSessionRepository NotesSessionRepositoryTest::$repo
protected

Definition at line 12 of file NotesSessionRepositoryTest.php.

Referenced by testSortAscending().


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