◆ setUp()
ilKSDocumentationEntryGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file ilKSDocumentationEntryGUITest.php.
37 $ctrl = $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->onlyMethods([
41 $entries_data = include
'./tests/UI/Crawler/Fixture/EntriesFixture.php';
42 $entries =
new Entries();
43 $entries->addEntriesFromArray($entries_data);
46 $ui_helper->factory(),
Renders the Overview of one Example in the Administration.
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
◆ testConstruct()
ilKSDocumentationEntryGUITest::testConstruct |
( |
| ) |
|
◆ testRenderEntry()
ilKSDocumentationEntryGUITest::testRenderEntry |
( |
| ) |
|
Definition at line 58 of file ilKSDocumentationEntryGUITest.php.
60 $report = $this->entry_gui->createUIComponentOfEntry();
61 $this->assertInstanceOf(Report::class, $report);
62 $this->assertEquals(
'Entry1Title', $report->getTitle());
◆ $entry_gui
The documentation for this class was generated from the following file: