ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ilBuddySystemTestSuite.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once(
"libs/composer/vendor/autoload.php"
);
5
$GLOBALS
[
"DIC"
] = new \ILIAS\DI\Container();
6
7
require_once
'Services/Database/interfaces/interface.ilDBInterface.php'
;
8
require_once
'Services/Database/classes/class.ilDBConstants.php'
;
9
require_once
'Services/User/classes/class.ilObjUser.php'
;
10
require_once
'Services/EventHandling/classes/class.ilAppEventHandler.php'
;
11
require_once
'Services/Contact/BuddySystem/classes/class.ilBuddyList.php'
;
12
require_once
'Services/Contact/BuddySystem/classes/class.ilBuddySystemRelation.php'
;
13
require_once
'Services/Contact/BuddySystem/classes/class.ilBuddySystemRelationCollection.php'
;
14
require_once
'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemLinkedRelationState.php'
;
15
require_once
'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemUnlinkedRelationState.php'
;
16
require_once
'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemRequestedRelationState.php'
;
17
require_once
'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemIgnoredRequestRelationState.php'
;
18
require_once
'Services/Contact/BuddySystem/exceptions/class.ilBuddySystemRelationStateException.php'
;
19
24
class
ilBuddySystemTestSuite
extends
PHPUnit_Framework_TestSuite
25
{
29
public
static
function
suite
()
30
{
31
if
(!defined(
"ANONYMOUS_USER_ID"
)) {
32
define(
"ANONYMOUS_USER_ID"
, 13);
33
}
34
35
$suite
=
new
self
();
36
37
require_once
'Services/Contact/BuddySystem/test/states/ilBuddySystemUnlinkedStateRelationTest.php'
;
38
$suite
->addTestSuite(
'ilBuddySystemUnlinkedStateRelationTest'
);
39
40
require_once
'Services/Contact/BuddySystem/test/states/ilBuddySystemRequestedStateRelationTest.php'
;
41
$suite
->addTestSuite(
'ilBuddySystemRequestedStateRelationTest'
);
42
43
require_once
'Services/Contact/BuddySystem/test/states/ilBuddySystemRequestIgnoredStateRelationTest.php'
;
44
$suite
->addTestSuite(
'ilBuddySystemRequestIgnoredStateRelationTest'
);
45
46
require_once
'Services/Contact/BuddySystem/test/states/ilBuddySystemLinkedStateRelationTest.php'
;
47
$suite
->addTestSuite(
'ilBuddySystemLinkedStateRelationTest'
);
48
49
require_once
'Services/Contact/BuddySystem/test/ilBuddyListTest.php'
;
50
$suite
->addTestSuite(
'ilBuddyListTest'
);
51
52
require_once
'Services/Contact/BuddySystem/test/ilBuddySystemRelationTest.php'
;
53
$suite
->addTestSuite(
'ilBuddySystemRelationTest'
);
54
55
require_once
'Services/Contact/BuddySystem/test/ilBuddySystemRelationCollectionTest.php'
;
56
$suite
->addTestSuite(
'ilBuddySystemRelationCollectionTest'
);
57
58
return
$suite
;
59
}
60
}
$suite
$suite
Definition:
CleanUpTest.php:462
PHPUnit_Framework_TestSuite
$GLOBALS
$GLOBALS["DIC"]
Definition:
ilBuddySystemTestSuite.php:5
ilBuddySystemTestSuite
Definition:
ilBuddySystemTestSuite.php:24
ilBuddySystemTestSuite\suite
static suite()
Definition:
ilBuddySystemTestSuite.php:29
php
Services
Contact
BuddySystem
test
ilBuddySystemTestSuite.php
Generated on Thu Jan 16 2025 19:02:19 for ILIAS by
1.8.13 (using
Doxyfile
)