ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
ilAssQuestionHintTest.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
ilAssQuestionHintTest
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.ilAssQuestionHint.php'
;
33
34
// Act
35
$instance =
new
ilAssQuestionHint
();
36
37
$this->assertInstanceOf(
'ilAssQuestionHint'
, $instance);
38
}
39
}
Modules
TestQuestionPool
test
ilAssQuestionHintTest.php
Generated on Wed Apr 27 2016 21:01:23 for ILIAS by
1.8.1.2 (using
Doxyfile
)