19 declare(strict_types=1);
21 require_once(
"vendor/composer/vendor/autoload.php");
22 require_once(__DIR__ .
"/TableTestBase.php");
36 return new I\Table\Action\Factory();
41 return new I\Table\Column\Factory(
48 $request = $this->createMock(ServerRequestInterface::class);
51 ->willReturn(
new \
GuzzleHttp\Psr7\Uri(
'http://localhost:80'));
53 ->method(
"getQueryParams")
60 return new Data\Factory();
70 public function button(): I\Button\Factory
72 return new I\Button\Factory();
74 public function dropdown(): I\Dropdown\Factory
76 return new I\Dropdown\Factory();
78 public function symbol(): I\Symbol\Factory
80 return new I\Symbol\Factory(
86 public function table(): I\Table\Factory
88 return $this->table_factory;
90 public function divider(): I\Divider\Factory
92 return new I\Divider\Factory();
button(string $caption, string $cmd)
Tests for the Renderer of DataTables.
__construct(Container $dic, ilPlugin $plugin)
Basic Tests for all Tables.