ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 12 of file ilSystemStyleXMLTest.php.

Member Function Documentation

◆ testStyleNameAndId()

ilSystemStyleXMLTest::testStyleNameAndId ( )

Definition at line 20 of file ilSystemStyleXMLTest.php.

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

◆ testStyleProperties()

ilSystemStyleXMLTest::testStyleProperties ( )

Definition at line 27 of file ilSystemStyleXMLTest.php.

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

Field Documentation

◆ $style1

ilSystemStyleXMLTest::$style1
protected

Definition at line 18 of file ilSystemStyleXMLTest.php.


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