19 declare(strict_types=1);
21 require_once
'components/ILIAS/UI/tests/AbstractFactoryTestCase.php';
30 "standard" => [
"context" =>
false,
"rules" =>
false],
31 "single" => [
"context" =>
false,
"rules" =>
false],
32 "multi" => [
"context" =>
false,
"rules" =>
false]
35 public static string $factory_title =
'ILIAS\\UI\\Component\\Table\\Action\\Factory';
40 new \ILIAS\UI\Implementation\Component\Table\Action\Factory(),
48 $target = $df->uri(
'http://wwww.ilias.de?ref_id=1');
50 list($builder,
$token) = array_values(
51 $url_builder->acquireParameter([
'namespace'],
'rowids')
54 $standard =
$f->standard(
"", $builder,
$token);
55 $this->assertInstanceOf(
Action\Action::class, $standard);
56 $this->assertInstanceOf(
Action\Standard::class, $standard);
58 $single =
$f->single(
"", $builder,
$token);
59 $this->assertInstanceOf(
Action\Action::class, $single);
60 $this->assertInstanceOf(
Action\Single::class, $single);
62 $multi =
$f->multi(
"", $builder,
$token);
63 $this->assertInstanceOf(
Action\Action::class, $multi);
64 $this->assertInstanceOf(
Action\Multi::class, $multi);
testImplementsInterfaces()
static string $factory_title
static array $kitchensink_info_settings
Defines tests every SHOULD pass UI-factory.