19 declare(strict_types=1);
    29 require_once(
'ViewControlBaseTest.php');
    40         $this->assertInstanceOf(Signal::class, $vc->getInternalSignal());
    41         $this->assertEquals($options, $vc->getOptions());
    42         $this->assertEquals(
'', $vc->getButtonLabel());
    47         $this->expectException(\Exception::class);
    54             ->withValue(
'notokvalue,something');
    66         $input = $this->createMock(InputData::class);
    67         $input->expects($this->once())
    77             $df->ok([
'opt1',
'opt2']),
    80         $this->assertEquals($v, $vc->getValue());
    94 <div class="dropdown il-viewcontrol il-viewcontrol-fieldselection l-bar__element" id="id_3">    95     <button class="btn btn-ctrl dropdown-toggle" type="button" data-toggle="dropdown" aria-label="label_fieldselection" aria-haspopup="true" aria-expanded="false" aria-controls="id_3_ctrl"><span class="caret"></span></button>    96         <ul id="id_3_ctrl" class="dropdown-menu">    97             <li><input type="checkbox" value="opt1" id="id_1" /><label for="id_1">A</label></li>    98             <li><input type="checkbox" value="opt2" id="id_2" /><label for="id_2">B</label></li>   100             <button class="btn btn-default" id="id_4">label_fieldselection_refresh</button>   102     <div class="il-viewcontrol-value" role="none"></div>   106         $this->assertEquals($expected, $html);
   111         $this->expectException(\LogicException::class);
 getDefaultRenderer(JavaScriptBinding $js_binding=null, array $with_stub_renderings=[])
 
testViewControlFieldSelectionRendering()
 
brutallyTrimHTML(string $html)
A more radical version of normalizeHTML. 
 
testViewControlFieldSelectionWithWrongValue()
 
testViewControlFieldSelectionRenderingOutsideContainer()
 
testViewControlFieldSelectionConstruct()
 
testViewControlFieldSelectionWithInput()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...