ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilSkinStyleTest Class Reference
+ Inheritance diagram for ilSkinStyleTest:
+ Collaboration diagram for ilSkinStyleTest:

Public Member Functions

 testStyleNameAndId ()
 
 testStyleProperties ()
 

Protected Attributes

ilSkinStyle $style1
 

Detailed Description

Definition at line 25 of file ilSkinStyleTest.php.

Member Function Documentation

◆ testStyleNameAndId()

ilSkinStyleTest::testStyleNameAndId ( )

Definition at line 29 of file ilSkinStyleTest.php.

29 : void
30 {
31 $this->style1 = new ilSkinStyle('style1', 'Style 1');
32 $this->assertEquals('style1', $this->style1->getId());
33 $this->assertEquals('Style 1', $this->style1->getName());
34 }

◆ testStyleProperties()

ilSkinStyleTest::testStyleProperties ( )

Definition at line 36 of file ilSkinStyleTest.php.

36 : void
37 {
38 $this->style1 = new ilSkinStyle('style1', 'Style 1');
39 $this->style1->setId('id');
40 $this->style1->setName('name');
41 $this->style1->setCssFile('css');
42 $this->style1->setImageDirectory('image');
43 $this->style1->setSoundDirectory('sound');
44
45 $this->assertEquals('id', $this->style1->getId());
46 $this->assertEquals('name', $this->style1->getName());
47 $this->assertEquals('css', $this->style1->getCssFile());
48 $this->assertEquals('image', $this->style1->getImageDirectory());
49 $this->assertEquals('sound', $this->style1->getSoundDirectory());
50 }

Field Documentation

◆ $style1

ilSkinStyle ilSkinStyleTest::$style1
protected

Definition at line 27 of file ilSkinStyleTest.php.


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