ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
MainFactoryTest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for MainFactoryTest:
+ Collaboration diagram for MainFactoryTest:

Public Member Functions

 test_proper_namespace ()
 
 test_proper_name ()
 
- Public Member Functions inherited from AbstractFactoryTest
 buildFactoryReflection ()
 
 methods_provider ()
 
 setUp ()
 
 test_proper_namespace ()
 
 test_proper_name ()
 
 test_check_yaml_extraction (ReflectionMethod $method_reflection, string $name)
 Tests whether the YAML Kitchen Sink info can be parsed. More...
 
 test_return_type (ReflectionMethod $method_reflection, string $name)
 Tests whether the method either returns a factory or a component. More...
 
 test_factory_method_name_compatible_docstring (ReflectionMethod $method_reflection, string $name)
 Tests whether the method name matches the return doctring? More...
 
 test_method_params (ReflectionMethod $method_reflection, string $name)
 Tests whether methods returning factories have no parameters. More...
 
 test_kitchensink_info_description (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_rivals (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_background (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_featurewiki (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_javascript (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_rules (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 test_kitchensink_info_context (ReflectionMethod $method_reflection, string $name)
 methods_provider More...
 
 kitchensink_info_settings_merged_with_defaults (string $name)
 

Data Fields

array $kitchensink_info_settings
 
string $factory_title = 'ILIAS\\UI\\Factory'
 
- Data Fields inherited from AbstractFactoryTest
const COMPONENT = 1
 
const FACTORY = 2
 

Protected Member Functions

 get_regex_factory_namespace ()
 
- Protected Member Functions inherited from AbstractFactoryTest
 returnsFactory (array $docstring_data)
 
 returnsComponent (array $docstring_data)
 
 isFactoryName (string $name)
 
 get_regex_factory_namespace ()
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class MainFactoryTest

Definition at line 26 of file MainFactoryTest.php.

Member Function Documentation

◆ get_regex_factory_namespace()

MainFactoryTest::get_regex_factory_namespace ( )
protected

Definition at line 59 of file MainFactoryTest.php.

59  : string
60  {
61  return "\\\\ILIAS\\\\UI\\\\Component";
62  }

◆ test_proper_name()

MainFactoryTest::test_proper_name ( )

Definition at line 54 of file MainFactoryTest.php.

54  : void
55  {
56  // Nothing to test here.
57  }

◆ test_proper_namespace()

MainFactoryTest::test_proper_namespace ( )

Definition at line 46 of file MainFactoryTest.php.

46  : void
47  {
48  // Nothing to test here.
49  }

Field Documentation

◆ $factory_title

string MainFactoryTest::$factory_title = 'ILIAS\\UI\\Factory'

Definition at line 41 of file MainFactoryTest.php.

◆ $kitchensink_info_settings

array MainFactoryTest::$kitchensink_info_settings
Initial value:
= [
"card" => ["context" => false],
"deck" => ["context" => false],
"image" => ["context" => false, "rules" => false],
"legacy" => ["context" => false],
"viewControl" => ["rules" => false],
"input" => ["rules" => false],
"table" => ["rules" => false],
"layout" => ["rules" => false],
"menu" => ["rules" => false],
"symbol" => ["rules" => false]
]

Definition at line 28 of file MainFactoryTest.php.


The documentation for this class was generated from the following file: