ILIAS  release_8 Revision v8.24
ilQTISectionTest Class Reference
+ Inheritance diagram for ilQTISectionTest:
+ Collaboration diagram for ilQTISectionTest:

Public Member Functions

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

Detailed Description

Definition at line 24 of file ilQTISectionTest.php.

Member Function Documentation

◆ testConstruct()

ilQTISectionTest::testConstruct ( )

Definition at line 26 of file ilQTISectionTest.php.

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

◆ testSetGetComment()

ilQTISectionTest::testSetGetComment ( )

Definition at line 52 of file ilQTISectionTest.php.

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

◆ testSetGetIdent()

ilQTISectionTest::testSetGetIdent ( )

Definition at line 31 of file ilQTISectionTest.php.

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

◆ testSetGetTitle()

ilQTISectionTest::testSetGetTitle ( )

Definition at line 38 of file ilQTISectionTest.php.

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

◆ testSetGetXmllang()

ilQTISectionTest::testSetGetXmllang ( )

Definition at line 45 of file ilQTISectionTest.php.

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

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