35 : void
36 {
37 parent::setUp();
39
40 $this->
ctrl = $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->onlyMethods([
41 'getFormAction','getCmd','getLinkTargetByClass'
42 ])->getMock();
43
44 $tpl = $ui_helper->mainTemplate();
45 $ui_factory = $ui_helper->factory();
46 $renderer = $ui_helper->renderer();
47 $request = $this->getMockBuilder(WrapperFactory::class)->disableOriginalConstructor()->onlyMethods([
48 ])->getMock();
49
50 $toolbar = $this->getMockBuilder(ilToolbarGUI::class)->disableOriginalConstructor()->onlyMethods([])->getMock();
51 $upload = $this->getMockBuilder(FileUpload::class)->disableOriginalConstructor()->onlyMethods([])->getMock();
52 $tabs = $this->getMockBuilder(ilTabsGUI::class)->disableOriginalConstructor()->onlyMethods([])->getMock();
53 $data_factory = new DataFactory();
55
57
62 $ui_factory,
63 $renderer,
64 $request,
65 $toolbar,
68 $tabs,
69 $upload,
70 $this->container->getSkin()->getId(),
71 $this->style->getId()
72 );
73 }
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
Factory to create Skin classes holds an manages the basic data of a skin as provide by the template o...
@ilCtrl_Calls ilSystemStyleIconsGUI:
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Refinery Factory $refinery