| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for PCMediaObjectTest:
 Collaboration diagram for PCMediaObjectTest:Public Member Functions | |
| testConstruction () | |
| testCreate () | |
| testCreateAlias () | |
| testDump () | |
| testSetClass () | |
| testCaptionClass () | |
| checkMAProps (Closure $assert, ?string $expected=null) | |
| testWidth () | |
| testHeight () | |
| testDeriveSize () | |
| testCaption () | |
| testDeriveCaption () | |
| testTextRepresentation () | |
| testDeriveTextRepresentation () | |
| testHorizontalAlign () | |
| testParameters () | |
| testDeriveParameters () | |
| testAddMapArea () | |
| testDeleteMapArea () | |
| testDeleteMapAreaById () | |
| testDeleteAllMapAreas () | |
| testAreaProps () | |
Protected Member Functions | |
| getObjectAdapterMock () | |
| getMediaObjectInPage (ilPageObject $page) | |
  Protected Member Functions inherited from COPageTestBase | |
| setGlobalVariable (string $name, $value) | |
| setUp () | |
| getIdGeneratorMock () | |
| getPCDefinition () | |
| setPCIdCnt (int $cnt) | |
| getIDManager (\ilPageObject $page) | |
| insertParagraphAt (\ilPageObject $page, string $hier_id, string $text="") | |
| tearDown () | |
| normalize (string $html) | |
| assertXmlEquals (string $expected_xml_as_string, string $html_xml_string) | |
| getEmptyPageWithDom () | |
| legacyHtmlToXml (string $content) | |
| getMediaObjectMock () | |
Additional Inherited Members | |
  Protected Attributes inherited from COPageTestBase | |
| int | $pc_cnt | 
Definition at line 26 of file PCMediaObjectTest.php.
| PCMediaObjectTest::checkMAProps | ( | Closure | $assert, | 
| ?string | $expected = null  | 
        ||
| ) | 
Definition at line 164 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
Referenced by testAddMapArea(), testAreaProps(), testCaption(), testDeleteAllMapAreas(), testDeleteMapArea(), testDeleteMapAreaById(), testDeriveCaption(), testDeriveParameters(), testDeriveSize(), testDeriveTextRepresentation(), testHeight(), testHorizontalAlign(), testParameters(), testTextRepresentation(), and testWidth().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 81 of file PCMediaObjectTest.php.
References ilPageObject\addHierIDs(), COPageTestBase\getMediaObjectMock(), ilPageObject\getPCIdForHierId(), and ilPageObject\insertPCIds().
Referenced by checkMAProps(), testCaptionClass(), testDump(), and testSetClass().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 31 of file PCMediaObjectTest.php.
| PCMediaObjectTest::testAddMapArea | ( | ) | 
Definition at line 411 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), checkMAProps(), ilMediaAliasItem\getHrefOfArea(), ilMediaAliasItem\getMapAreas(), and IL_AREA_RECT.
 Here is the call graph for this function:| PCMediaObjectTest::testAreaProps | ( | ) | 
Definition at line 550 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), checkMAProps(), ilMediaAliasItem\getLinkTypeOfArea(), ilMediaAliasItem\getTargetFrameOfArea(), ilMediaAliasItem\getTargetOfArea(), ilMediaAliasItem\getTitleOfArea(), ilMediaAliasItem\getTypeOfArea(), and IL_AREA_RECT.
 Here is the call graph for this function:| PCMediaObjectTest::testCaption | ( | ) | 
Definition at line 251 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesCaption(), ilMediaAliasItem\getCaption(), and ilMediaAliasItem\setCaption().
 Here is the call graph for this function:| PCMediaObjectTest::testCaptionClass | ( | ) | 
Definition at line 137 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
 Here is the call graph for this function:| PCMediaObjectTest::testConstruction | ( | ) | 
Definition at line 41 of file PCMediaObjectTest.php.
References COPageTestBase\getEmptyPageWithDom().
 Here is the call graph for this function:| PCMediaObjectTest::testCreate | ( | ) | 
Definition at line 51 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), and COPageTestBase\getEmptyPageWithDom().
 Here is the call graph for this function:| PCMediaObjectTest::testCreateAlias | ( | ) | 
Definition at line 62 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and COPageTestBase\getMediaObjectMock().
 Here is the call graph for this function:| PCMediaObjectTest::testDeleteAllMapAreas | ( | ) | 
Definition at line 518 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), checkMAProps(), ilMediaAliasItem\deleteAllMapAreas(), and IL_AREA_RECT.
 Here is the call graph for this function:| PCMediaObjectTest::testDeleteMapArea | ( | ) | 
Definition at line 454 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), checkMAProps(), ilMediaAliasItem\deleteMapArea(), and IL_AREA_RECT.
 Here is the call graph for this function:| PCMediaObjectTest::testDeleteMapAreaById | ( | ) | 
Definition at line 486 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), checkMAProps(), ilMediaAliasItem\deleteMapAreaById(), and IL_AREA_RECT.
 Here is the call graph for this function:| PCMediaObjectTest::testDeriveCaption | ( | ) | 
Definition at line 275 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesCaption(), ilMediaAliasItem\deriveCaption(), and ilMediaAliasItem\setCaption().
 Here is the call graph for this function:| PCMediaObjectTest::testDeriveParameters | ( | ) | 
Definition at line 391 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesParameters(), ilMediaAliasItem\deriveParameters(), and ilMediaAliasItem\setParameters().
 Here is the call graph for this function:| PCMediaObjectTest::testDeriveSize | ( | ) | 
Definition at line 225 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesSize(), ilMediaAliasItem\deriveSize(), ilMediaAliasItem\setHeight(), and ilMediaAliasItem\setWidth().
 Here is the call graph for this function:| PCMediaObjectTest::testDeriveTextRepresentation | ( | ) | 
Definition at line 320 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesTextRepresentation(), ilMediaAliasItem\deriveTextRepresentation(), and ilMediaAliasItem\setTextRepresentation().
 Here is the call graph for this function:| PCMediaObjectTest::testDump | ( | ) | 
Definition at line 94 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
 Here is the call graph for this function:| PCMediaObjectTest::testHeight | ( | ) | 
Definition at line 209 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\getHeight(), and ilMediaAliasItem\setHeight().
 Here is the call graph for this function:| PCMediaObjectTest::testHorizontalAlign | ( | ) | 
Definition at line 341 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\getHorizontalAlign(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:| PCMediaObjectTest::testParameters | ( | ) | 
Definition at line 357 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesParameters(), ilMediaAliasItem\getParameters(), ilMediaAliasItem\getParameterString(), and ilMediaAliasItem\setParameters().
 Here is the call graph for this function:| PCMediaObjectTest::testSetClass | ( | ) | 
Definition at line 112 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
 Here is the call graph for this function:| PCMediaObjectTest::testTextRepresentation | ( | ) | 
Definition at line 296 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesTextRepresentation(), ilMediaAliasItem\getTextRepresentation(), and ilMediaAliasItem\setTextRepresentation().
 Here is the call graph for this function:| PCMediaObjectTest::testWidth | ( | ) | 
Definition at line 185 of file PCMediaObjectTest.php.
References checkMAProps(), ilMediaAliasItem\definesSize(), ilMediaAliasItem\getWidth(), and ilMediaAliasItem\setWidth().
 Here is the call graph for this function: