◆ setUp()
ilSystemStyleLessGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 35 of file ilSystemStyleLessGUITest.php.
References $factory, ilSystemStyleBaseFSTest\$lng, ILIAS\Repository\$refinery, $tpl, and ILIAS\Repository\lng().
40 $ctrl = $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->onlyMethods([
44 $tpl = $ui_helper->mainTemplate();
45 $ui_factory = $ui_helper->factory();
46 $renderer = $ui_helper->renderer();
47 $request = $this->getMockBuilder(ServerRequestInterface::class)->disableOriginalConstructor()->onlyMethods([
50 $toolbar = $this->getMockBuilder(ilToolbarGUI::class)->disableOriginalConstructor()->onlyMethods([])->getMock();
66 $this->container->getSkin()->getId(),
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Refinery Factory $refinery
◆ testConstruct()
ilSystemStyleLessGUITest::testConstruct |
( |
| ) |
|
◆ testInitSystemStyleLessForm()
ilSystemStyleLessGUITest::testInitSystemStyleLessForm |
( |
| ) |
|
Definition at line 76 of file ilSystemStyleLessGUITest.php.
78 $form = $this->less_gui->initSystemStyleLessForm();
80 $this->assertInstanceOf(Form::class, $form);
81 $this->assertCount(1, $form->getInputs());
82 $this->assertInstanceOf(Section::class, $form->getInputs()[0]);
83 $this->assertCount(2, $form->getInputs()[0]->getInputs());
84 $this->assertInstanceOf(Section::class, $form->getInputs()[0]->getInputs()[0]);
85 $this->assertCount(3, $form->getInputs()[0]->getInputs()[0]->getInputs());
86 $this->assertInstanceOf(Text::class, $form->getInputs()[0]->getInputs()[0]->getInputs()[0]);
◆ $less_gui
The documentation for this class was generated from the following file: