ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
InterruptiveItemFactoryTest Class Reference
+ Inheritance diagram for InterruptiveItemFactoryTest:
+ Collaboration diagram for InterruptiveItemFactoryTest:

Public Member Functions

 testStandard ()
 
 testKeyValue ()
 
- Public Member Functions inherited from ILIAS_UI_TestBase
 setUp ()
 
 tearDown ()
 
 getUIFactory ()
 
 getTemplateFactory ()
 
 getResourceRegistry ()
 
 getLanguage ()
 
 getJavaScriptBinding ()
 
 getRefinery ()
 
 getImagePathResolver ()
 
 getDataFactory ()
 
 getHelpTextRetriever ()
 
 getUploadLimitResolver ()
 
 getDefaultRenderer (JavaScriptBinding $js_binding=null, array $with_stub_renderings=[])
 
 getDecoratedRenderer (Renderer $default)
 
 normalizeHTML (string $html)
 
 assertHTMLEquals (string $expected_html_as_string, string $html_as_string)
 

Protected Member Functions

 getFactory ()
 
- Protected Member Functions inherited from ILIAS_UI_TestBase
 brutallyTrimHTML (string $html)
 A more radical version of normalizeHTML. More...
 
 brutallyTrimSignals (string $html)
 A naive replacement of all il_signal-ids with dots to ease comparisons of rendered output. More...
 

Detailed Description

Definition at line 28 of file InterruptiveItemFactoryTest.php.

Member Function Documentation

◆ getFactory()

InterruptiveItemFactoryTest::getFactory ( )
protected

Definition at line 30 of file InterruptiveItemFactoryTest.php.

Referenced by testKeyValue(), and testStandard().

30  : Factory
31  {
32  return new Factory();
33  }
+ Here is the caller graph for this function:

◆ testKeyValue()

InterruptiveItemFactoryTest::testKeyValue ( )

Definition at line 44 of file InterruptiveItemFactoryTest.php.

References getFactory().

44  : void
45  {
46  $factory = $this->getFactory();
47  $this->assertInstanceOf(
48  I\Modal\InterruptiveItem\KeyValue::class,
49  $factory->keyValue('id', 'key', 'label')
50  );
51  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ testStandard()

InterruptiveItemFactoryTest::testStandard ( )

Definition at line 35 of file InterruptiveItemFactoryTest.php.

References getFactory().

35  : void
36  {
37  $factory = $this->getFactory();
38  $this->assertInstanceOf(
39  I\Modal\InterruptiveItem\Standard::class,
40  $factory->standard('id', 'title')
41  );
42  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

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