ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

ilAnswerWizardInputGUITest::setUp ( )
protected

Definition at line 15 of file ilAnswerWizardInputGUITest.php.

{
if (defined('ILIAS_PHPUNIT_CONTEXT'))
{
include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
ilUnitUtil::performInitialisation();
}
else
{
chdir( dirname( __FILE__ ) );
chdir('../../../');
}
}
ilAnswerWizardInputGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 29 of file ilAnswerWizardInputGUITest.php.

{
// Arrange
require_once './Services/Form/classes/class.ilTextInputGUI.php'; // I consider this a bug...
require_once './Modules/TestQuestionPool/classes/class.ilAnswerWizardInputGUI.php';
// Act
$instance = new ilAnswerWizardInputGUI();
$this->assertInstanceOf('ilAnswerWizardInputGUI', $instance);
}

Field Documentation

ilAnswerWizardInputGUITest::$backupGlobals = FALSE
protected

Definition at line 13 of file ilAnswerWizardInputGUITest.php.


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