ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ilAssQuestionHintTrackingTest.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
ilAssQuestionHintTrackingTest
extends
PHPUnit_Framework_TestCase
12
{
13
protected
$backupGlobals
= FALSE;
14
15
protected
function
setUp
()
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
}
28
29
public
function
test_instantiateObject_shouldReturnInstance
()
30
{
31
// Arrange
32
require_once
'./Modules/TestQuestionPool/classes/class.ilAssQuestionHintTracking.php'
;
33
34
// Act
35
$instance =
new
ilAssQuestionHintTracking
(null, null, null);
36
37
$this->assertInstanceOf(
'ilAssQuestionHintTracking'
, $instance);
38
}
39
}
ilAssQuestionHintTracking
Definition:
class.ilAssQuestionHintTracking.php:14
PHPUnit_Framework_TestCase
ilAssQuestionHintTrackingTest\$backupGlobals
$backupGlobals
Definition:
ilAssQuestionHintTrackingTest.php:13
ilAssQuestionHintTrackingTest\setUp
setUp()
Definition:
ilAssQuestionHintTrackingTest.php:15
ilAssQuestionHintTrackingTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilAssQuestionHintTrackingTest.php:29
php
defined
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition:
bootstrap.php:27
ilAssQuestionHintTrackingTest
Unit tests.
Definition:
ilAssQuestionHintTrackingTest.php:11
Modules
TestQuestionPool
test
ilAssQuestionHintTrackingTest.php
Generated on Fri Jan 17 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)