|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 27 of file PCMediaObjectTest.php.
| PCMediaObjectTest::checkMAProps | ( | Closure | $assert, |
| ?string | $expected = null |
||
| ) |
Definition at line 165 of file PCMediaObjectTest.php.
|
protected |
Definition at line 82 of file PCMediaObjectTest.php.
References ilPageObject\addHierIDs(), COPageTestBase\getMediaObjectMock(), ilPageObject\getPCIdForHierId(), and ilPageObject\insertPCIds().
Referenced by testCaptionClass(), testDump(), and testSetClass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 32 of file PCMediaObjectTest.php.
| PCMediaObjectTest::testAddMapArea | ( | ) |
Definition at line 412 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), ilMediaAliasItem\getHrefOfArea(), ilMediaAliasItem\getMapAreas(), and IL_AREA_RECT.
Here is the call graph for this function:| PCMediaObjectTest::testAreaProps | ( | ) |
Definition at line 551 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), 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 252 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesCaption(), ilMediaAliasItem\getCaption(), and ilMediaAliasItem\setCaption().
Here is the call graph for this function:| PCMediaObjectTest::testCaptionClass | ( | ) |
Definition at line 138 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
Here is the call graph for this function:| PCMediaObjectTest::testConstruction | ( | ) |
Definition at line 42 of file PCMediaObjectTest.php.
References COPageTestBase\getEmptyPageWithDom().
Here is the call graph for this function:| PCMediaObjectTest::testCreate | ( | ) |
Definition at line 52 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), and COPageTestBase\getEmptyPageWithDom().
Here is the call graph for this function:| PCMediaObjectTest::testCreateAlias | ( | ) |
Definition at line 63 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 519 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), ilMediaAliasItem\deleteAllMapAreas(), and IL_AREA_RECT.
Here is the call graph for this function:| PCMediaObjectTest::testDeleteMapArea | ( | ) |
Definition at line 455 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), ilMediaAliasItem\deleteMapArea(), and IL_AREA_RECT.
Here is the call graph for this function:| PCMediaObjectTest::testDeleteMapAreaById | ( | ) |
Definition at line 487 of file PCMediaObjectTest.php.
References ilMediaAliasItem\addMapArea(), ilMediaAliasItem\deleteMapAreaById(), and IL_AREA_RECT.
Here is the call graph for this function:| PCMediaObjectTest::testDeriveCaption | ( | ) |
Definition at line 276 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesCaption(), ilMediaAliasItem\deriveCaption(), and ilMediaAliasItem\setCaption().
Here is the call graph for this function:| PCMediaObjectTest::testDeriveParameters | ( | ) |
Definition at line 392 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesParameters(), ilMediaAliasItem\deriveParameters(), and ilMediaAliasItem\setParameters().
Here is the call graph for this function:| PCMediaObjectTest::testDeriveSize | ( | ) |
Definition at line 226 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesSize(), ilMediaAliasItem\deriveSize(), ilMediaAliasItem\setHeight(), and ilMediaAliasItem\setWidth().
Here is the call graph for this function:| PCMediaObjectTest::testDeriveTextRepresentation | ( | ) |
Definition at line 321 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesTextRepresentation(), ilMediaAliasItem\deriveTextRepresentation(), and ilMediaAliasItem\setTextRepresentation().
Here is the call graph for this function:| PCMediaObjectTest::testDump | ( | ) |
Definition at line 95 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
Here is the call graph for this function:| PCMediaObjectTest::testHeight | ( | ) |
Definition at line 210 of file PCMediaObjectTest.php.
References ilMediaAliasItem\getHeight(), and ilMediaAliasItem\setHeight().
Here is the call graph for this function:| PCMediaObjectTest::testHorizontalAlign | ( | ) |
Definition at line 342 of file PCMediaObjectTest.php.
References ilMediaAliasItem\getHorizontalAlign(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| PCMediaObjectTest::testParameters | ( | ) |
Definition at line 358 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesParameters(), ilMediaAliasItem\getParameters(), ilMediaAliasItem\getParameterString(), and ilMediaAliasItem\setParameters().
Here is the call graph for this function:| PCMediaObjectTest::testSetClass | ( | ) |
Definition at line 113 of file PCMediaObjectTest.php.
References COPageTestBase\assertXmlEquals(), COPageTestBase\getEmptyPageWithDom(), and getMediaObjectInPage().
Here is the call graph for this function:| PCMediaObjectTest::testTextRepresentation | ( | ) |
Definition at line 297 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesTextRepresentation(), ilMediaAliasItem\getTextRepresentation(), and ilMediaAliasItem\setTextRepresentation().
Here is the call graph for this function:| PCMediaObjectTest::testWidth | ( | ) |
Definition at line 186 of file PCMediaObjectTest.php.
References ilMediaAliasItem\definesSize(), ilMediaAliasItem\getWidth(), and ilMediaAliasItem\setWidth().
Here is the call graph for this function: