ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilAssQuestionHintGUITest Class Reference

Unit tests. More...

+ Inheritance diagram for ilAssQuestionHintGUITest:
+ Collaboration diagram for ilAssQuestionHintGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $backupGlobals = false
 

Detailed Description

Unit tests.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de

Definition at line 11 of file ilAssQuestionHintGUITest.php.

Member Function Documentation

◆ setUp()

ilAssQuestionHintGUITest::setUp ( )
protected

Definition at line 15 of file ilAssQuestionHintGUITest.php.

16  {
17  if (defined('ILIAS_PHPUNIT_CONTEXT')) {
18  include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
19  ilUnitUtil::performInitialisation();
20  } else {
21  chdir(dirname(__FILE__));
22  chdir('../../../');
23  }
24  }

◆ test_instantiateObject_shouldReturnInstance()

ilAssQuestionHintGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 26 of file ilAssQuestionHintGUITest.php.

27  {
28  $this->markTestIncomplete('Needs question mock.');
29  // Arrange
30  require_once './Modules/TestQuestionPool/classes/class.ilAssQuestionHintGUI.php';
31 
32  // Act
33  $instance = new ilAssQuestionHintGUI();
34 
35  $this->assertInstanceOf('ilAssQuestionHintGUI', $instance);
36  }

Field Documentation

◆ $backupGlobals

ilAssQuestionHintGUITest::$backupGlobals = false
protected

Definition at line 13 of file ilAssQuestionHintGUITest.php.


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