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

Public Member Functions

 testConstruct ()
 
 testSetGetIdent ()
 
 testSetGetTitle ()
 
 testSetGetXmllang ()
 
 testSetGetComment ()
 

Detailed Description

Definition at line 23 of file ilQTISectionTest.php.

Member Function Documentation

◆ testConstruct()

ilQTISectionTest::testConstruct ( )

Definition at line 25 of file ilQTISectionTest.php.

25 : void
26 {
27 $this->assertInstanceOf(ilQTISection::class, new ilQTISection());
28 }

◆ testSetGetComment()

ilQTISectionTest::testSetGetComment ( )

Definition at line 51 of file ilQTISectionTest.php.

51 : void
52 {
53 $instance = new ilQTISection();
54 $instance->setComment('Some input.');
55 $this->assertEquals('Some input.', $instance->getComment());
56 }

◆ testSetGetIdent()

ilQTISectionTest::testSetGetIdent ( )

Definition at line 30 of file ilQTISectionTest.php.

30 : void
31 {
32 $instance = new ilQTISection();
33 $instance->setIdent('Some input.');
34 $this->assertEquals('Some input.', $instance->getIdent());
35 }

◆ testSetGetTitle()

ilQTISectionTest::testSetGetTitle ( )

Definition at line 37 of file ilQTISectionTest.php.

37 : void
38 {
39 $instance = new ilQTISection();
40 $instance->setTitle('Some input.');
41 $this->assertEquals('Some input.', $instance->getTitle());
42 }

◆ testSetGetXmllang()

ilQTISectionTest::testSetGetXmllang ( )

Definition at line 44 of file ilQTISectionTest.php.

44 : void
45 {
46 $instance = new ilQTISection();
47 $instance->setXmllang('Some input.');
48 $this->assertEquals('Some input.', $instance->getXmllang());
49 }

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