ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ilAnswerWizardInputGUITest.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11
class
ilAnswerWizardInputGUITest
extends
PHPUnit_Framework_TestCase
12
{
13
protected
$backupGlobals
=
false
;
14
15
protected
function
setUp
()
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
}
25
29
public
function
test_instantiateObject_shouldReturnInstance
()
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
}
44
}
ilAnswerWizardInputGUITest
Unit tests.
Definition:
ilAnswerWizardInputGUITest.php:11
ilAnswerWizardInputGUITest\setUp
setUp()
Definition:
ilAnswerWizardInputGUITest.php:15
ilAnswerWizardInputGUITest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilAnswerWizardInputGUITest.php:29
PHPUnit_Framework_TestCase
ilAnswerWizardInputGUITest\$backupGlobals
$backupGlobals
Definition:
ilAnswerWizardInputGUITest.php:13
php
Modules
TestQuestionPool
test
ilAnswerWizardInputGUITest.php
Generated on Thu Jan 16 2025 19:02:14 for ILIAS by
1.8.13 (using
Doxyfile
)