diff --git a/Services/Administration/test/ilSettingTest.php b/Services/Administration/test/ilSettingTest.php index 06d121720e2f..67a11e4cadd8 100644 --- a/Services/Administration/test/ilSettingTest.php +++ b/Services/Administration/test/ilSettingTest.php @@ -21,6 +21,10 @@ +-----------------------------------------------------------------------------+ */ +/** + * Class ilSettingTest + * @group needsInstalledILIAS + */ class ilSettingTest extends PHPUnit_Framework_TestCase { protected $backupGlobals = FALSE; diff --git a/Services/Authentication/test/ilSessionTest.php b/Services/Authentication/test/ilSessionTest.php index 3cbe493852ad..4e6e1cd0d060 100644 --- a/Services/Authentication/test/ilSessionTest.php +++ b/Services/Authentication/test/ilSessionTest.php @@ -21,6 +21,10 @@ +-----------------------------------------------------------------------------+ */ +/** + * Class ilSessionTest + * @group needsInstalledILIAS + */ class ilSessionTest extends PHPUnit_Framework_TestCase { protected $backupGlobals = FALSE; diff --git a/Services/Cache/test/ilCacheTest.php b/Services/Cache/test/ilCacheTest.php index bcc4f383bfc4..7953f7ee4131 100644 --- a/Services/Cache/test/ilCacheTest.php +++ b/Services/Cache/test/ilCacheTest.php @@ -26,8 +26,8 @@ * * @author Stefan Meyer * @version $Id$ -* * +* @group needsInstalledILIAS * @ingroup ServicesTree */ class ilCacheTest extends PHPUnit_Framework_TestCase diff --git a/Services/Database/test/Basic/ilDatabaseBaseTest.php b/Services/Database/test/Basic/ilDatabaseBaseTest.php index cad09586dc68..b837d3c6b34b 100644 --- a/Services/Database/test/Basic/ilDatabaseBaseTest.php +++ b/Services/Database/test/Basic/ilDatabaseBaseTest.php @@ -25,7 +25,9 @@ /** * TestCase for the ilDatabaseCommonTest - * + * + * @group needsInstalledILIAS + * * @author Fabian Schmid * @version 1.0.0 */ diff --git a/Services/Database/test/Implementations/ilDatabaseMDB2InnodbTest.php b/Services/Database/test/Implementations/ilDatabaseMDB2InnodbTest.php index 8ea7791affc7..afad021eece0 100644 --- a/Services/Database/test/Implementations/ilDatabaseMDB2InnodbTest.php +++ b/Services/Database/test/Implementations/ilDatabaseMDB2InnodbTest.php @@ -26,6 +26,8 @@ /** * TestCase for the ilDatabaseMDB2InnodbTest * + * @group needsInstalledILIAS + * * @author Fabian Schmid * @version 1.0.0 */ diff --git a/Services/Database/test/Implementations/ilDatabaseMDB2MyISAMTest.php b/Services/Database/test/Implementations/ilDatabaseMDB2MyISAMTest.php index 488aa429c427..d80b991d0102 100644 --- a/Services/Database/test/Implementations/ilDatabaseMDB2MyISAMTest.php +++ b/Services/Database/test/Implementations/ilDatabaseMDB2MyISAMTest.php @@ -26,6 +26,8 @@ /** * TestCase for the ilDatabaseMDB2MyISAMTest * + * @group needsInstalledILIAS + * * @author Fabian Schmid * @version 1.0.0 */ diff --git a/Services/Database/test/Implementations/ilDatabaseMDB2PostgresTest.php b/Services/Database/test/Implementations/ilDatabaseMDB2PostgresTest.php index c1c4b73937bf..6569e04bf107 100644 --- a/Services/Database/test/Implementations/ilDatabaseMDB2PostgresTest.php +++ b/Services/Database/test/Implementations/ilDatabaseMDB2PostgresTest.php @@ -26,6 +26,8 @@ /** * TestCase for the ilDatabaseMDB2PostgresTest * + * @group needsInstalledILIAS + * * @author Fabian Schmid * @version 1.0.0 */ diff --git a/Services/Init/test/ilInitialisationTest.php b/Services/Init/test/ilInitialisationTest.php index 8807092dd022..d6569a30c38f 100644 --- a/Services/Init/test/ilInitialisationTest.php +++ b/Services/Init/test/ilInitialisationTest.php @@ -1,7 +1,8 @@ */ class ilInitialisationTest extends PHPUnit_Framework_TestCase { diff --git a/Services/MetaData/test/ilMDTest.php b/Services/MetaData/test/ilMDTest.php index c22840199dde..01607be0e375 100644 --- a/Services/MetaData/test/ilMDTest.php +++ b/Services/MetaData/test/ilMDTest.php @@ -26,8 +26,8 @@ * * @author Stefan Meyer * @version $Id$ -* * +* @group needsInstalledILIAS * @ingroup ServicesTree */ class ilMDTest extends PHPUnit_Framework_TestCase diff --git a/Services/PHPUnit/test/ilGlobalSuite.php b/Services/PHPUnit/test/ilGlobalSuite.php index 736fbd2dda1c..af3f167a8be1 100644 --- a/Services/PHPUnit/test/ilGlobalSuite.php +++ b/Services/PHPUnit/test/ilGlobalSuite.php @@ -37,7 +37,7 @@ public static function suite() // scan Modules and Services directories $basedirs = array("Services", "Modules"); - + foreach ($basedirs as $basedir) { // read current directory diff --git a/Services/Tree/test/ilTreeTest.php b/Services/Tree/test/ilTreeTest.php index fe8f94f44f71..c51396ef9d8c 100644 --- a/Services/Tree/test/ilTreeTest.php +++ b/Services/Tree/test/ilTreeTest.php @@ -26,8 +26,8 @@ * * @author Stefan Meyer * @version $Id$ -* * +* @group needsInstalledILIAS * @ingroup ServicesTree */ class ilTreeTest extends PHPUnit_Framework_TestCase diff --git a/Services/UICore/test/ilTemplateTest.php b/Services/UICore/test/ilTemplateTest.php index 92ff3edf9534..890cd15cd8ef 100644 --- a/Services/UICore/test/ilTemplateTest.php +++ b/Services/UICore/test/ilTemplateTest.php @@ -7,7 +7,7 @@ * @author Alex Killing * * @version $Id$ - * + * @group needsInstalledILIAS * @ingroup ServicesUICore */ class ilTemplateTest extends PHPUnit_Framework_TestCase @@ -48,7 +48,7 @@ protected function setUp() */ public function testilTemplateGet() { - require_once 'HTML/Template/ITX.php'; + #require_once 'HTML/Template/ITX.php'; include_once("./Services/UICore/classes/class.ilTemplateHTMLITX.php"); include_once("./Services/UICore/classes/class.ilTemplate.php"); $tpl = new ilTemplate("tpl.test_template_1.html", true, true, "Services/UICore/test"); diff --git a/Services/User/test/ilObjUserTest.php b/Services/User/test/ilObjUserTest.php index e6e9d9653c57..f17d7e459b1c 100644 --- a/Services/User/test/ilObjUserTest.php +++ b/Services/User/test/ilObjUserTest.php @@ -1,6 +1,10 @@