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

Unit tests. More...

+ Inheritance diagram for ilAnswerWizardInputGUITest:
+ Collaboration diagram for ilAnswerWizardInputGUITest:

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

Member Function Documentation

◆ setUp()

ilAnswerWizardInputGUITest::setUp ( )
protected

Definition at line 15 of file ilAnswerWizardInputGUITest.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 }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

References defined.

◆ test_instantiateObject_shouldReturnInstance()

ilAnswerWizardInputGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 29 of file ilAnswerWizardInputGUITest.php.

30 {
31 // Arrange
32 require_once './Services/Form/classes/class.ilTextInputGUI.php'; // I consider this a bug...
33 require_once './Modules/TestQuestionPool/classes/class.ilAnswerWizardInputGUI.php';
34
35
36
37 $this->markTestIncomplete(
38 'Needs mocks.'
39 );
40 // Act
41 #$instance = new ilAnswerWizardInputGUI();
42 #$this->assertInstanceOf('ilAnswerWizardInputGUI', $instance);
43 }

Field Documentation

◆ $backupGlobals

ilAnswerWizardInputGUITest::$backupGlobals = false
protected

Definition at line 13 of file ilAnswerWizardInputGUITest.php.


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