ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAssQuestionHintRequestGUITest Class Reference

Unit tests. More...

+ Inheritance diagram for ilAssQuestionHintRequestGUITest:
+ Collaboration diagram for ilAssQuestionHintRequestGUITest:

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 ilAssQuestionHintRequestGUITest.php.

Member Function Documentation

◆ setUp()

ilAssQuestionHintRequestGUITest::setUp ( )
protected

Definition at line 15 of file ilAssQuestionHintRequestGUITest.php.

References defined.

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  }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

◆ test_instantiateObject_shouldReturnInstance()

ilAssQuestionHintRequestGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 26 of file ilAssQuestionHintRequestGUITest.php.

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

Field Documentation

◆ $backupGlobals

ilAssQuestionHintRequestGUITest::$backupGlobals = false
protected

Definition at line 13 of file ilAssQuestionHintRequestGUITest.php.


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