From dd190fd863fb3089fc7210c3fa66df6ad397f773 Mon Sep 17 00:00:00 2001 From: Dries <dries@buytaert.net> Date: Sun, 17 Nov 2013 20:24:13 -0500 Subject: [PATCH] Issue #2127655 by Mile23: Name space corrections --- core/modules/block/tests/Drupal/block/Tests/BlockBaseTest.php | 4 ++-- .../tests/Drupal/block/Tests/BlockFormControllerTest.php | 4 ++-- .../Drupal/taxonomy/Tests/Menu/TaxonomyLocalTasksTest.php | 4 ++-- .../tests/Drupal/user/Tests/Plugin/Core/Entity/UserTest.php | 4 ++-- core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php | 4 ++-- core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php | 4 ++-- .../Drupal/Tests/Core/Controller/ExceptionControllerTest.php | 2 +- .../Tests/Core/Entity/Controller/EntityViewControllerTest.php | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/core/modules/block/tests/Drupal/block/Tests/BlockBaseTest.php b/core/modules/block/tests/Drupal/block/Tests/BlockBaseTest.php index 085343eeb40e..f0d04ec33caa 100644 --- a/core/modules/block/tests/Drupal/block/Tests/BlockBaseTest.php +++ b/core/modules/block/tests/Drupal/block/Tests/BlockBaseTest.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\Tests\block\BlockBaseTest. + * Contains \Drupal\block\Tests\BlockBaseTest. */ -namespace Drupal\Tests\block; +namespace Drupal\block\Tests; use Drupal\block_test\Plugin\Block\TestBlockInstantiation; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/block/tests/Drupal/block/Tests/BlockFormControllerTest.php b/core/modules/block/tests/Drupal/block/Tests/BlockFormControllerTest.php index 651dff627fde..69b0a1bf1d44 100644 --- a/core/modules/block/tests/Drupal/block/Tests/BlockFormControllerTest.php +++ b/core/modules/block/tests/Drupal/block/Tests/BlockFormControllerTest.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\Tests\block\BlockFormControllerTest. + * Contains \Drupal\block\Tests\BlockFormControllerTest. */ -namespace Drupal\Tests\block; +namespace Drupal\block\Tests; use Drupal\block\BlockFormController; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/taxonomy/tests/Drupal/taxonomy/Tests/Menu/TaxonomyLocalTasksTest.php b/core/modules/taxonomy/tests/Drupal/taxonomy/Tests/Menu/TaxonomyLocalTasksTest.php index 52708a452a9e..7a88a73aeafd 100644 --- a/core/modules/taxonomy/tests/Drupal/taxonomy/Tests/Menu/TaxonomyLocalTasksTest.php +++ b/core/modules/taxonomy/tests/Drupal/taxonomy/Tests/Menu/TaxonomyLocalTasksTest.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\taxonomy\Tests\TaxonomyLocalTasksTest. + * Contains \Drupal\taxonomy\Tests\Menu\TaxonomyLocalTasksTest. */ -namespace Drupal\taxonomy\Tests; +namespace Drupal\taxonomy\Tests\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTest; diff --git a/core/modules/user/tests/Drupal/user/Tests/Plugin/Core/Entity/UserTest.php b/core/modules/user/tests/Drupal/user/Tests/Plugin/Core/Entity/UserTest.php index 597dbc0eedeb..434c15ccacec 100644 --- a/core/modules/user/tests/Drupal/user/Tests/Plugin/Core/Entity/UserTest.php +++ b/core/modules/user/tests/Drupal/user/Tests/Plugin/Core/Entity/UserTest.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\user\Tests\Entity\UserTest. + * Contains \Drupal\user\Tests\Plugin\Core\Entity\UserTest. */ -namespace Drupal\user\Tests\Entity; +namespace Drupal\user\Tests\Plugin\Core\Entity; use Drupal\Tests\Core\Session\UserSessionTest; use Drupal\user\Entity\User; diff --git a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php index 3a176d411efb..60a284ca34d0 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php @@ -2,10 +2,10 @@ /** * @file - * Contains \Drupal\Core\NestedArrayTest. + * Contains \Drupal\Tests\Component\Utility\NestedArrayTest. */ -namespace Drupal\Tests\Core; +namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\NestedArray; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php index 171b2ec6dc5b..dd6f48f6c0e1 100644 --- a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php +++ b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\system\Tests\Batch\PercentagesTest. + * Contains \Drupal\Tests\Core\Batch\PercentagesTest. */ namespace Drupal\Tests\Core\Batch; @@ -18,7 +18,7 @@ * * @see \Drupal\Component\Batch\Batch */ -class BatchTest extends UnitTestCase { +class PercentagesTest extends UnitTestCase { protected $testCases = array(); public static function getInfo() { diff --git a/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php b/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php index 020daab9866d..98698dc587a8 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ExceptionControllerTest.php @@ -5,7 +5,7 @@ * Contains \Drupal\Tests\Core\Controller\ExceptionControllerTest */ -namespace Drupal\system\Tests\System; +namespace Drupal\Tests\Core\Controller; use Drupal\Core\ContentNegotiation; use Drupal\Core\Controller\ExceptionController; diff --git a/core/tests/Drupal/Tests/Core/Entity/Controller/EntityViewControllerTest.php b/core/tests/Drupal/Tests/Core/Entity/Controller/EntityViewControllerTest.php index 7de91e943961..f329135ab553 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Controller/EntityViewControllerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Controller/EntityViewControllerTest.php @@ -5,7 +5,7 @@ * Contains \Drupal\Tests\Core\Entity\Controller\EntityViewControllerTest. */ -namespace Drupal\Core\Tests\Entity\Controller; +namespace Drupal\Tests\Core\Entity\Controller; use Drupal\Core\Entity\Controller\EntityViewController; use Drupal\Tests\UnitTestCase; -- GitLab