ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSystemStyleXMLTest Class Reference
+ Inheritance diagram for ilSystemStyleXMLTest:
+ Collaboration diagram for ilSystemStyleXMLTest:

Public Member Functions

 testStyleNameAndId ()
 
 testStyleProperties ()
 

Protected Attributes

 $style1
 

Detailed Description

Author
Timon Amstutz timon.nosp@m..ams.nosp@m.tutz@.nosp@m.ilub.nosp@m..unib.nosp@m.e.ch
Version
$Id$*

Definition at line 10 of file ilSystemStyleXMLTest.php.

Member Function Documentation

◆ testStyleNameAndId()

ilSystemStyleXMLTest::testStyleNameAndId ( )

Definition at line 17 of file ilSystemStyleXMLTest.php.

17  {
18  $this->style1 = new ilSkinStyleXML("style1", "Style 1");
19  $this->assertEquals("style1", $this->style1->getId());
20  $this->assertEquals("Style 1", $this->style1->getName());
21  }

◆ testStyleProperties()

ilSystemStyleXMLTest::testStyleProperties ( )

Definition at line 23 of file ilSystemStyleXMLTest.php.

23  {
24  $this->style1 = new ilSkinStyleXML("style1", "Style 1");
25  $this->style1->setId("id");
26  $this->style1->setName("name");
27  $this->style1->setCssFile("css");
28  $this->style1->setImageDirectory("image");
29  $this->style1->setSoundDirectory("sound");
30 
31  $this->assertEquals("id", $this->style1->getId());
32  $this->assertEquals("name", $this->style1->getName());
33  $this->assertEquals("css", $this->style1->getCssFile());
34  $this->assertEquals("image", $this->style1->getImageDirectory());
35  $this->assertEquals("sound", $this->style1->getSoundDirectory());
36  }

Field Documentation

◆ $style1

ilSystemStyleXMLTest::$style1
protected

Definition at line 15 of file ilSystemStyleXMLTest.php.


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