ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilModulesTestSuite.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
5 {
6  public static function suite()
7  {
8  if (defined('ILIAS_PHPUNIT_CONTEXT'))
9  {
10  include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
11  ilUnitUtil::performInitialisation();
12  }
13  else
14  {
15  chdir( dirname( __FILE__ ) );
16  chdir('../../../');
17  }
18 
19  $suite = new ilModulesTestSuite();
20 
21  include_once("./Modules/Test/test/ilassMarkTest.php");
22  $suite->addTestSuite("ilassMarkTest");
23 
24  include_once("./Modules/Test/test/ilassMarkSchemaTest.php");
25  $suite->addTestSuite("ilassMarkSchemaTest");
26 
27  include_once("./Modules/Test/test/ilTestFinalMarkLangVarBuilderTest.php");
28  $suite->addTestSuite("ilTestFinalMarkLangVarBuilderTest");
29 
30  return $suite;
31  }
32 }