ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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)
 
 testKitchensinkInfoRivals (ReflectionMethod $method_reflection, string $name)
 
 testKitchensinkInfoBackground (ReflectionMethod $method_reflection, string $name)
 
 testKitchensinkInfoFeatureWiki (ReflectionMethod $method_reflection, string $name)
 
 testKitchensinkInfoJavaScript (ReflectionMethod $method_reflection, string $name)
 
 testKitchensinkInfoRules (ReflectionMethod $method_reflection, string $name)
 
 testKitchensinkInfoContext (ReflectionMethod $method_reflection, string $name)
 
 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 57 of file MainFactoryTest.php.

57  : string
58  {
59  return "\\\\ILIAS\\\\UI\\\\Component";
60  }

◆ testProperName()

MainFactoryTest::testProperName ( )

Definition at line 52 of file MainFactoryTest.php.

52  : void
53  {
54  // Nothing to test here.
55  }

◆ testProperNamespace()

MainFactoryTest::testProperNamespace ( )

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'
static

Definition at line 43 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],
"navigation" => ["rules" => false],
]

Definition at line 28 of file MainFactoryTest.php.


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