|
| | buildFactory () |
| |
| | test_implements_factory_interface () |
| |
| | buildFactoryReflection () |
| |
| | methods_provider () |
| |
| | setUp () |
| |
| | test_proper_namespace () |
| |
| | test_proper_name () |
| |
| | test_check_yaml_extraction ($method_reflection, $name) |
| | Tests whether the YAML Kitchen Sink info can be parsed. More...
|
| |
| | test_return_type ($method_reflection, $name) |
| | Tests whether the method either returns a factory or a component. More...
|
| |
| | test_factory_method_name_compatible_docstring ($method_reflection, $name) |
| | Tests whether the method name matches the. More...
|
| |
| | test_method_params ($method_reflection, $name) |
| | Tests whether methods returning factories have no parameters. More...
|
| |
| | test_kitchensink_info_description ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_rivals ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_background ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_featurewiki ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_javascript ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_rules ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | test_kitchensink_info_context ($method_reflection, $name) |
| | @dataProvider methods_provider More...
|
| |
| | kitchensink_info_settings_merged_with_defaults ($name) |
| |
Definition at line 11 of file FieldFactoryTest.php.
◆ buildFactory()
| FieldFactoryTest::buildFactory |
( |
| ) |
|
|
final |
◆ test_implements_factory_interface()
| FieldFactoryTest::test_implements_factory_interface |
( |
| ) |
|
Definition at line 60 of file FieldFactoryTest.php.
61 {
63
64 $text =
$f->text(
"label",
"byline");
65 $this->assertInstanceOf(Field\Input::class,
$text);
66 $this->assertInstanceOf(Field\Text::class,
$text);
67
68 $text =
$f->numeric(
"label",
"byline");
69 $this->assertInstanceOf(Field\Input::class,
$text);
70 $this->assertInstanceOf(Field\Numeric::class,
$text);
71
72 $text =
$f->section([],
"label",
"byline");
73 $this->assertInstanceOf(Field\Input::class,
$text);
74 $this->assertInstanceOf(Field\Group::class,
$text);
75 $this->assertInstanceOf(Field\Section::class,
$text);
76
78 $this->assertInstanceOf(Field\Input::class,
$text);
79 $this->assertInstanceOf(Field\Group::class,
$text);
80 }
References $f, $text, and buildFactory().
◆ $factory_title
| FieldFactoryTest::$factory_title = 'ILIAS\\UI\\Component\\Input\\Field\\Factory' |
◆ $kitchensink_info_settings
| FieldFactoryTest::$kitchensink_info_settings |
The documentation for this class was generated from the following file: