Skip to content

Commit

Permalink
rename components 'test' directories to 'tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastocker authored Nov 10, 2023
1 parent f62981a commit 99339f7
Show file tree
Hide file tree
Showing 1,480 changed files with 13,488 additions and 778 deletions.
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"@babel/register"
],
"spec": [
"components/ILIAS/**/test/**/*.js"
"components/ILIAS/**/tests/**/*.js"
]
}
Empty file modified captainhook.json
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static function suite(): ilServicesADTSuite
{
$suite = new ilServicesADTSuite();

include_once("./components/ILIAS/ADT/test/ilADTFactoryTest.php");
include_once("./components/ILIAS/ADT/tests/ilADTFactoryTest.php");
$suite->addTestSuite(ilADTFactoryTest::class);
return $suite;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function suite(): TestSuite
{
$suite = new ilServicesAccessControlSuite();
/** @noRector */
include_once("./components/ILIAS/AccessControl/test/ilRBACTest.php");
include_once("./components/ILIAS/AccessControl/tests/ilRBACTest.php");
$suite->addTestSuite(ilRBACTest::class);
return $suite;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite()
{
$suite = new self();

require_once("./components/ILIAS/Accessibility/test/AccessibilityCriterionConfigTest.php");
require_once("./components/ILIAS/Accessibility/tests/AccessibilityCriterionConfigTest.php");
$suite->addTestSuite("AccessibilityCriterionConfigTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/Accordion/test/AccordionStandardGUIRequestTest.php");
require_once("./components/ILIAS/Accordion/tests/AccordionStandardGUIRequestTest.php");
$suite->addTestSuite("AccordionStandardGUIRequestTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ public static function suite(): self
{
$self = new self();
/** @noRector */
require_once("./components/ILIAS/ActiveRecord/test/ilServicesActiveRecordConnectorTest.php");
require_once("./components/ILIAS/ActiveRecord/tests/ilServicesActiveRecordConnectorTest.php");
$self->addTestSuite("ilServicesActiveRecordConnectorTest");
/** @noRector */
require_once("./components/ILIAS/ActiveRecord/test/ilServicesActiveRecordFieldTest.php");
require_once("./components/ILIAS/ActiveRecord/tests/ilServicesActiveRecordFieldTest.php");
$self->addTestSuite("ilServicesActiveRecordFieldTest");

return $self;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/Administration/test/AdminGUIRequestTest.php");
require_once("./components/ILIAS/Administration/tests/AdminGUIRequestTest.php");
$suite->addTestSuite("AdminGUIRequestTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/AdministrativeNotification/test/ilServicesAdministrativeNotificationTest.php");
require_once("./components/ILIAS/AdministrativeNotification/tests/ilServicesAdministrativeNotificationTest.php");
$suite->addTestSuite("ilServicesAdministrativeNotificationTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/AdvancedEditing/test/AdveStandardGUIRequestTest.php");
require_once("./components/ILIAS/AdvancedEditing/tests/AdveStandardGUIRequestTest.php");
$suite->addTestSuite("AdveStandardGUIRequestTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function suite(): self
{
$suite = new self();

include_once './components/ILIAS/AdvancedMetaData/test/record/ilAdvancedMDRecordObjectOrderingsTest.php';
include_once './components/ILIAS/AdvancedMetaData/tests/record/ilAdvancedMDRecordObjectOrderingsTest.php';
$suite->addTestSuite(ilAdvancedMDRecordObjectOrderingsTest::class);

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/AuthShibboleth/test/ilServicesAuthShibbolethTest.php");
require_once("./components/ILIAS/AuthShibboleth/tests/ilServicesAuthShibbolethTest.php");
$suite->addTestSuite("ilServicesAuthShibbolethTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/Awareness/test/AwarenessSessionRepositoryTest.php");
require_once("./components/ILIAS/Awareness/tests/AwarenessSessionRepositoryTest.php");
$suite->addTestSuite("AwarenessSessionRepositoryTest");

return $suite;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static function suite(): self

foreach ($tests as $test) {
$name = current(array_reverse(explode('\\', $test)));
require_once('./components/ILIAS/Badge/test/' . $name . '.php');
require_once('./components/ILIAS/Badge/tests/' . $name . '.php');
$suite->addTestSuite($test);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public static function suite(): self
{
$suite = new self();
/** @noRector */
require_once("./components/ILIAS/Bibliographic/test/ilBibtechParserTest.php");
require_once("./components/ILIAS/Bibliographic/tests/ilBibtechParserTest.php");
$suite->addTestSuite("ilBibtechParserTest");
/** @noRector */
require_once("./components/ILIAS/Bibliographic/test/ilRisParserTest.php");
require_once("./components/ILIAS/Bibliographic/tests/ilRisParserTest.php");
$suite->addTestSuite("ilRisParserTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): ilServicesBlockSuite
{
$suite = new self();

require_once("./components/ILIAS/Block/test/BlockSessionRepositoryTest.php");
require_once("./components/ILIAS/Block/tests/BlockSessionRepositoryTest.php");
$suite->addTestSuite("BlockSessionRepositoryTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): ilModulesBlogSuite
{
$suite = new self();

require_once("./components/ILIAS/Blog/test/BlogStandardGUIRequestTest.php");
require_once("./components/ILIAS/Blog/tests/BlogStandardGUIRequestTest.php");
$suite->addTestSuite("BlogStandardGUIRequestTest");

return $suite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function suite(): self
{
$suite = new self();

require_once("./components/ILIAS/BookingManager/test/BookManStandardGUIRequestTest.php");
require_once("./components/ILIAS/BookingManager/tests/BookManStandardGUIRequestTest.php");
$suite->addTestSuite("BookManStandardGUIRequestTest");

return $suite;
Expand Down
147 changes: 0 additions & 147 deletions components/ILIAS/COPage/test/ilServicesCOPageSuite.php

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 99339f7

Please sign in to comment.