ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
MainFactoryTest Class Reference

Class MainFactoryTest. More...

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

Public Member Functions

 testProperNamespace ()
 
 testProperName ()
 
- Public Member Functions inherited from AbstractFactoryTestCase
 setUp ()
 
 testProperNamespace ()
 
 testProperName ()
 
 testCheckYamlExtraction (ReflectionMethod $method_reflection, string $name)
 Tests whether the YAML Kitchen Sink info can be parsed. More...
 
 testReturnType (ReflectionMethod $method_reflection, string $name)
 Tests whether the method either returns a factory or a component. More...
 
 testFactoryMethodNameCompatibleDocstring (ReflectionMethod $method_reflection, string $name)
 Tests whether the method name matches the return doctring? More...
 
 testMethodParams (ReflectionMethod $method_reflection, string $name)
 Tests whether methods returning factories have no parameters. More...
 
 testKitchensinkInfoDescription (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoRivals (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoBackground (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoFeatureWiki (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoJavaScript (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoRules (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 testKitchensinkInfoContext (ReflectionMethod $method_reflection, string $name)
 getMethodsProvider More...
 
 kitchensinkInfoSettingsMergedWithDefaults (string $name)
 

Static Public Attributes

static array $kitchensink_info_settings
 
static string $factory_title = 'ILIAS\\UI\\Factory'
 
- Static Public Attributes inherited from AbstractFactoryTestCase
static string $factory_title = ''
 

Protected Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from AbstractFactoryTestCase
static buildFactoryReflection ()
 
static getMethodsProvider ()
 
- Data Fields inherited from AbstractFactoryTestCase
const COMPONENT = 1
 
const FACTORY = 2
 

Detailed Description

Class MainFactoryTest.

Definition at line 26 of file MainFactoryTest.php.

Member Function Documentation

◆ getRegexFactoryNamespace()

MainFactoryTest::getRegexFactoryNamespace ( )
protected

Definition at line 60 of file MainFactoryTest.php.

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

◆ testProperName()

MainFactoryTest::testProperName ( )

Definition at line 55 of file MainFactoryTest.php.

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

◆ testProperNamespace()

MainFactoryTest::testProperNamespace ( )

Definition at line 47 of file MainFactoryTest.php.

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

Field Documentation

◆ $factory_title

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

Definition at line 42 of file MainFactoryTest.php.

◆ $kitchensink_info_settings

array MainFactoryTest::$kitchensink_info_settings
static
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],
"entity" => ["context" => true]
]

Definition at line 28 of file MainFactoryTest.php.


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