ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 18 of file ilSystemStyleXMLTest.php.

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

◆ testStyleProperties()

ilSystemStyleXMLTest::testStyleProperties ( )

Definition at line 25 of file ilSystemStyleXMLTest.php.

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

Field Documentation

◆ $style1

ilSystemStyleXMLTest::$style1
protected

Definition at line 16 of file ilSystemStyleXMLTest.php.


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