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

Unit tests. More...

+ Inheritance diagram for ilAssQuestionHintTrackingTest:
+ Collaboration diagram for ilAssQuestionHintTrackingTest:

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

Member Function Documentation

◆ setUp()

ilAssQuestionHintTrackingTest::setUp ( )
protected

Definition at line 15 of file ilAssQuestionHintTrackingTest.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()

ilAssQuestionHintTrackingTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 26 of file ilAssQuestionHintTrackingTest.php.

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

Field Documentation

◆ $backupGlobals

ilAssQuestionHintTrackingTest::$backupGlobals = false
protected

Definition at line 13 of file ilAssQuestionHintTrackingTest.php.


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