Test clipboard repository.
More...
Test clipboard repository.
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 12 of file ContentViewManagerTest.php.
◆ setUp()
| ContentViewManagerTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 16 of file ContentViewManagerTest.php.
16 : void
17 {
18 parent::setUp();
19 if (!defined('ANONYMOUS_USER_ID')) {
20 define('ANONYMOUS_USER_ID', 13);
21 }
22 $view_repo = new \ILIAS\Container\Content\ViewSessionRepository();
23 $this->manager = new \ILIAS\Container\Content\ViewManager($view_repo, 5);
24 }
◆ tearDown()
| ContentViewManagerTest::tearDown |
( |
| ) |
|
|
protected |
◆ testAdminView()
| ContentViewManagerTest::testAdminView |
( |
| ) |
|
Test admin view.
Definition at line 33 of file ContentViewManagerTest.php.
33 : void
34 {
36
38
39 $this->assertEquals(
40 true,
42 );
43 $this->assertEquals(
44 false,
46 );
47 }
ILIAS Container Content ViewManager $manager
References $manager.
◆ testContentView()
| ContentViewManagerTest::testContentView |
( |
| ) |
|
Test content view.
Definition at line 52 of file ContentViewManagerTest.php.
52 : void
53 {
55
57
58 $this->assertEquals(
59 false,
61 );
62 $this->assertEquals(
63 true,
65 );
66 }
References $manager.
◆ $manager
| ILIAS Container Content ViewManager ContentViewManagerTest::$manager |
|
protected |
The documentation for this class was generated from the following file: