ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
assAnswerMatchingDefinitionTest Class Reference

Unit tests. More...

+ Inheritance diagram for assAnswerMatchingDefinitionTest:
+ Collaboration diagram for assAnswerMatchingDefinitionTest:

Public Member Functions

 test_instantiateObjectSimple ()
 

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

Member Function Documentation

◆ setUp()

assAnswerMatchingDefinitionTest::setUp ( )
protected

Definition at line 15 of file assAnswerMatchingDefinitionTest.php.

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

◆ test_instantiateObjectSimple()

assAnswerMatchingDefinitionTest::test_instantiateObjectSimple ( )

Definition at line 29 of file assAnswerMatchingDefinitionTest.php.

30  {
31  // Arrange
32  require_once './Modules/TestQuestionPool/classes/class.assAnswerMatchingDefinition.php';
33 
34  // Act
35  $instance = new assAnswerMatchingDefinition();
36 
37  // Assert
38  $this->assertInstanceOf('assAnswerMatchingDefinition', $instance);
39  }
Class for matching question definitions.

Field Documentation

◆ $backupGlobals

assAnswerMatchingDefinitionTest::$backupGlobals = FALSE
protected

Definition at line 13 of file assAnswerMatchingDefinitionTest.php.


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