[~TASK] Fluid (Tests): Fixed some more testcase class names and some unit tests
authorBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 23:50:39 +0000 (23:50 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 23:50:39 +0000 (23:50 +0000)
Relates to #10792

40 files changed:
typo3/sysext/extbase/Tests/Unit/Configuration/BackendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/FrontendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/DomainObject/AbstractEntityTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/AbstractControllerTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ActionControllerTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Controller/ArgumentsTest.php
typo3/sysext/extbase/Tests/Unit/MVC/DispatcherTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestBuilderTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Web/RequestTest.php
typo3/sysext/extbase/Tests/Unit/MVC/Web/Routing/UriBuilderTest.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ClassInfoFactoryTest.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Mapper/DataMapFactoryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/QueryResultTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/QueryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/SessionTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Storage/Typo3DbBackendTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/ServiceTest.php
typo3/sysext/extbase/Tests/Unit/Security/Channel/RequestHashServiceTest.php
typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionTest.php
typo3/sysext/extbase/Tests/Unit/Utility/TypoScriptTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/AlphanumericValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/ConjunctionValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/DateTimeValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/EmailAddressValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/FloatValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/IntegerValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/NotEmptyValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/NumberRangeValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/NumberValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/RawValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/RegularExpressionValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/StringLengthValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/TextValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php

index 611de91..7923ce2 100644 (file)
@@ -111,8 +111,13 @@ class Tx_Extbase_Tests_Unit_Configuration_BackendConfigurationManagerTest extend
        /**
         * @test
         */
-       public function getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSet() {
-               $GLOBALS['TYPO3_DB']->expects($this->once())
+       public function getCurrentPageIdReturnsPidFromFirstRootTemplateIfIdIsNotSetAndNoRootPageWasFound() {
+               $GLOBALS['TYPO3_DB']->expects($this->at(0))
+                       ->method('exec_SELECTgetRows')
+                       ->with('uid', 'pages', 'deleted=0 AND hidden=0 AND is_siteroot=1', '', '', '1')
+                       ->will($this->returnValue(array()));
+
+               $GLOBALS['TYPO3_DB']->expects($this->at(1))
                        ->method('exec_SELECTgetRows')
                        ->with('pid', 'sys_template', 'deleted=0 AND hidden=0 AND root=1', '', '', '1')
                        ->will(
@@ -132,13 +137,8 @@ class Tx_Extbase_Tests_Unit_Configuration_BackendConfigurationManagerTest extend
        /**
         * @test
         */
-       public function getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSetAndNoRootTemplateWasFound() {
-               $GLOBALS['TYPO3_DB']->expects($this->at(0))
-                       ->method('exec_SELECTgetRows')
-                       ->with('pid', 'sys_template', 'deleted=0 AND hidden=0 AND root=1', '', '', '1')
-                       ->will($this->returnValue(array()));
-
-               $GLOBALS['TYPO3_DB']->expects($this->at(1))
+       public function getCurrentPageIdReturnsUidFromFirstRootPageIfIdIsNotSet() {
+               $GLOBALS['TYPO3_DB']->expects($this->once())
                        ->method('exec_SELECTgetRows')
                        ->with('uid', 'pages', 'deleted=0 AND hidden=0 AND is_siteroot=1', '', '', '1')
                        ->will(
@@ -161,12 +161,12 @@ class Tx_Extbase_Tests_Unit_Configuration_BackendConfigurationManagerTest extend
        public function getCurrentPageIdReturnsDefaultStoragePidIfIdIsNotSetNoRootTemplateAndRootPageWasFound() {
                $GLOBALS['TYPO3_DB']->expects($this->at(0))
                        ->method('exec_SELECTgetRows')
-                       ->with('pid', 'sys_template', 'deleted=0 AND hidden=0 AND root=1', '', '', '1')
+                       ->with('uid', 'pages', 'deleted=0 AND hidden=0 AND is_siteroot=1', '', '', '1')
                        ->will($this->returnValue(array()));
 
                $GLOBALS['TYPO3_DB']->expects($this->at(1))
                        ->method('exec_SELECTgetRows')
-                       ->with('uid', 'pages', 'deleted=0 AND hidden=0 AND is_siteroot=1', '', '', '1')
+                       ->with('pid', 'sys_template', 'deleted=0 AND hidden=0 AND root=1', '', '', '1')
                        ->will($this->returnValue(array()));
 
                $expectedResult = Tx_Extbase_Configuration_AbstractConfigurationManager::DEFAULT_BACKEND_STORAGE_PID;
@@ -307,7 +307,7 @@ class Tx_Extbase_Tests_Unit_Configuration_BackendConfigurationManagerTest extend
        /**
         * @test
         */
-       public function getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfiguration() {
+       public function getContextSpecificFrameworkConfigurationReturnsUnmodifiedFrameworkConfigurationIfRequestHandlersAreConfigured() {
                $frameworkConfiguration = array(
                        'pluginName' => 'Pi1',
                        'extensionName' => 'SomeExtension',
@@ -315,11 +315,48 @@ class Tx_Extbase_Tests_Unit_Configuration_BackendConfigurationManagerTest extend
                                'bar' => array(
                                        'baz' => 'Foo',
                                ),
+                       ),
+                       'mvc' => array(
+                               'requestHandlers' => array(
+                                       'Tx_Extbase_MVC_Web_FrontendRequestHandler' => 'SomeRequestHandler'
+                               )
                        )
                );
                $expectedResult = $frameworkConfiguration;
                $actualResult = $this->backendConfigurationManager->_call('getContextSpecificFrameworkConfiguration', $frameworkConfiguration);
                $this->assertEquals($expectedResult, $actualResult);
        }
+
+       /**
+        * @test
+        */
+       public function getContextSpecificFrameworkConfigurationSetsDefaultRequestHandlersIfRequestHandlersAreNotConfigured() {
+               $frameworkConfiguration = array(
+                       'pluginName' => 'Pi1',
+                       'extensionName' => 'SomeExtension',
+                       'foo' => array(
+                               'bar' => array(
+                                       'baz' => 'Foo',
+                               ),
+                       ),
+               );
+               $expectedResult = array(
+                       'pluginName' => 'Pi1',
+                       'extensionName' => 'SomeExtension',
+                       'foo' => array(
+                               'bar' => array(
+                                       'baz' => 'Foo',
+                               ),
+                       ),
+                       'mvc' => array(
+                               'requestHandlers' => array(
+                                       'Tx_Extbase_MVC_Web_FrontendRequestHandler' => 'Tx_Extbase_MVC_Web_FrontendRequestHandler',
+                                       'Tx_Extbase_MVC_Web_BackendRequestHandler' => 'Tx_Extbase_MVC_Web_BackendRequestHandler'
+                               )
+                       )
+               );
+               $actualResult = $this->backendConfigurationManager->_call('getContextSpecificFrameworkConfiguration', $frameworkConfiguration);
+               $this->assertEquals($expectedResult, $actualResult);
+       }
 }
 ?>
\ No newline at end of file
index 529a583..b7393d4 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_Configuration_FrontendConfigurationManagerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Configuration_FrontendConfigurationManagerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var tslib_fe
index b5a5573..d12350f 100644 (file)
@@ -22,7 +22,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_DomainObject_AbstractEntity_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_DomainObject_AbstractEntityTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 058f6ab..e0099df 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Controller_AbstractController_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Controller_AbstractControllerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 1758957..b59d82f 100644 (file)
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Controller_ActionController_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Controller_ActionControllerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+
+       /**
+        * @var Tx_Extbase_MVC_Controller_ActionController
+        */
+       protected $actionController;
+
+       public function setUp() {
+               $this->actionController = $this->getAccessibleMock('Tx_Extbase_MVC_Controller_ActionController');
+       }
 
        /**
         * @test
index 800d4f4..9eaa66d 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Controller_Argument_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Controller_ArgumentTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 183da77..06070bc 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Controller_Arguments_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Controller_ArgumentsTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 17cbe88..fa790d2 100644 (file)
@@ -27,7 +27,7 @@
  *
  * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
  */
-class Tx_Extbase_MVC_DispatcherTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_DispatcherTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index e2bd28c..858c39f 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Web_RequestBuilder_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Web_RequestBuilderTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var array
index 83da048..7854283 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_MVC_Web_RequestTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Web_RequestTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
        /**
         * @test
         */
index 3ef3524..74ecb8d 100644 (file)
@@ -27,7 +27,7 @@
 
 require_once (t3lib_extMgm::extPath('extbase') . 'Tests/Unit/Fixtures/Entity.php');
 
-class Tx_Extbase_MVC_Web_Routing_UriBuilder_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_MVC_Web_Routing_UriBuilderTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var tslib_fe
index ba5fbd6..c377798 100644 (file)
@@ -32,7 +32,7 @@ require_once(t3lib_extMgm::extPath('extbase') . 'Tests/Unit/Object/Container/Fix
  * @package TYPO3
  * @subpackage t3lib
  */
-class Tx_Extbase_Object_Container_ClassInfoFactoryTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Object_Container_ClassInfoFactoryTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var t3lib_object_ClassInfoFactory
@@ -45,5 +45,20 @@ class Tx_Extbase_Object_Container_ClassInfoFactoryTest extends Tx_Extbase_Tests_
        public function setUp() {
                $this->classInfoFactory = new Tx_Extbase_Object_Container_ClassInfoFactory();
        }
+
+       /**
+        * @test
+        * @expectedException Tx_Extbase_Object_Container_Exception_UnknownObjectException
+        */
+       public function buildClassInfoFromClassNameThrowsExceptionIfGivenClassNameCantBeReflected() {
+               $this->classInfoFactory->buildClassInfoFromClassName('SomeNonExistingClass');
+       }
+
+       /**
+        * @test
+        */
+       public function moreTestsNeedToBeWritten() {
+               $this->markTestIncomplete('More tests need to be written!');
+       }
 }
 ?>
\ No newline at end of file
index ba638cd..90663db 100644 (file)
@@ -32,7 +32,7 @@ require_once(t3lib_extMgm::extPath('extbase') . 'Tests/Unit/Object/Container/Fix
  * @package TYPO3
  * @subpackage t3lib
  */
-class Tx_Extbase_Object_Container_ContainerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Object_Container_ContainerTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        private $container;
 
index 665abf6..1fd2979 100644 (file)
@@ -27,7 +27,7 @@
 
 require_once(PATH_tslib . 'class.tslib_content.php');
 
-class Tx_Extbase_Persistence_Mapper_DataMapFactory_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_Mapper_DataMapFactoryTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 53a134a..72f1788 100644 (file)
@@ -25,7 +25,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_Persistence_ObjectStorage_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_ObjectStorageTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 67b2a2e..d512ebd 100644 (file)
@@ -22,7 +22,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_Persistence_QueryResult_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_QueryResultTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var Tx_Extbase_Persistence_QueryResult
index 62382bf..b7b2d37 100644 (file)
@@ -23,7 +23,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_Persistence_Query_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_QueryTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var Tx_Extbase_Persistence_Query
index b1abd98..9e61275 100644 (file)
@@ -22,7 +22,7 @@
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/
 
-class Tx_Extbase_Persistence_Repository_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_RepositoryTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @var Tx_Extbase_Persistence_Repository
index 3d71fa6..7f1f423 100644 (file)
@@ -27,7 +27,7 @@
 
 require_once(PATH_tslib . 'class.tslib_content.php');
 
-class Tx_Extbase_Persistence_Session_testcase extends tx_phpunit_testcase {
+class Tx_Extbase_Tests_Unit_Persistence_SessionTest extends tx_phpunit_testcase {
 
        /**
         * @test
index 08744e1..f69442a 100644 (file)
@@ -25,7 +25,7 @@
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 
-class Tx_Extbase_Persistence_Storage_Typo3DbBackend_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Persistence_Storage_Typo3DbBackendTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * This is the data provider for the statement generation with a basic comparison
index 66a07aa..b114a31 100644 (file)
@@ -25,7 +25,7 @@
 /**
  * Some functional tests for the backport of the reflection service
  */
-class Tx_Extbase_Reflection_Service_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Reflection_ServiceTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @param array $foo The foo parameter
index 6857541..c4866db 100644 (file)
@@ -31,7 +31,7 @@
  * @version $Id: RequestHashService_testcase.php 2334 2010-06-14 16:28:25Z sebastian $
  * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser Public License, version 3 or later
  */
-class Tx_Extbase_Security_Channel_RequestHashService_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Security_Channel_RequestHashServiceTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        public function dataProviderForGenerateRequestHash() {
                return array(
index 81841a8..06d8f7c 100644 (file)
@@ -28,7 +28,7 @@
  * @version $Id: HashService_testcase.php 1729 2009-11-25 21:37:20Z stucki $
  * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser Public License, version 3 or later
  */
-class Tx_Extbase_Security_Cryptography_HashService_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Security_Cryptography_HashServiceTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        protected $hashService;
 
index 5ed56e5..9e3a5b7 100644 (file)
@@ -28,7 +28,7 @@
  * @package Extbase
  * @subpackage extbase
  */
-class Tx_Extbase_Utility_Extension_testcase extends tx_phpunit_testcase {
+class Tx_Extbase_Tests_Unit_Utility_ExtensionTest extends tx_phpunit_testcase {
 
        /**
         * Contains backup of $TYPO3_CONF_VARS
index 428e95b..9590b0f 100644 (file)
@@ -30,7 +30,7 @@
  * @subpackage extbase
  */
 
-class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
+class Tx_Extbase_Tests_Unit_Utility_TypoScriptTest extends tx_phpunit_testcase {
 
        /**
         * @return array
@@ -56,9 +56,9 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                                ),
                                        '_typoScriptNodeValue' => 'TEXT',
                                ),
-                       )               
+                       )
                );
-               
+
                //convert TypoScript Array To Plain Array Removes Trailing Dots With Changed Order In The TypoScript Array
                $testdata[1] = array(
                        'typoScriptSettings' => array(
@@ -78,9 +78,9 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                                ),
                                        '_typoScriptNodeValue' => 'TEXT',
                                ),
-                       )       
+                       )
                );
-               
+
                $testdata[2] = array(
                        'typoScriptSettings' => array(
                                '10' => 'COA',
@@ -115,17 +115,17 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                                'foo' => array(
                                                        'bar' => 5,
                                                        ),
-                                               '_typoScriptNodeValue' => 'TEXT'        
+                                               '_typoScriptNodeValue' => 'TEXT'
                                        ),
                                        '20' => array(
                                                        '10' => array(
                                                                'value' => 'Test',
                                                                'wrap' => '[|]',
-                                                               '_typoScriptNodeValue' => 'TEXT',                                       
+                                                               '_typoScriptNodeValue' => 'TEXT',
                                                        ),
                                                        '20' => array(
                                                                'value' => 'Test',
-                                                               'wrap' => '[|]',                                                        
+                                                               'wrap' => '[|]',
                                                                '_typoScriptNodeValue' => 'TEXT',
                                                        ),
                                                        '_typoScriptNodeValue' => 'COA',
@@ -133,13 +133,13 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                        '30' => 'custom',
                                        '_typoScriptNodeValue' => 'COA',
                                ),
-                       )       
-               );                      
-               
+                       )
+               );
+
                return $testdata;
-               
+
        }
-       
+
        /**
         * @test
         * @dataProvider convertTypoScriptArrayToPlainArrayTestdata
@@ -152,12 +152,12 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
 
        /**
         * Dataprovider for testcase "convertPlainArrayToTypoScriptArray"
-        * 
+        *
         * @return array
         */
        public function convertPlainArrayToTypoScriptArrayTestdata() {
                $testdata = array();
-               
+
                $testdata[0] = array(
                        'extbaseTS' => array(
                                '10' => array(
@@ -165,7 +165,7 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                        '_typoScriptNodeValue' => 'TEXT'
                                )
                        ),
-       
+
                        'classic' => array(
                                '10' => 'TEXT',
                                '10.' => array(
@@ -182,17 +182,17 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                                'foo' => array(
                                                        'bar' => 5,
                                                        ),
-                                               '_typoScriptNodeValue' => 'TEXT'        
+                                               '_typoScriptNodeValue' => 'TEXT'
                                        ),
                                        '20' => array(
                                                        '10' => array(
                                                                'value' => 'Test',
                                                                'wrap' => '[|]',
-                                                               '_typoScriptNodeValue' => 'TEXT',                                       
+                                                               '_typoScriptNodeValue' => 'TEXT',
                                                        ),
                                                        '20' => array(
                                                                'value' => 'Test',
-                                                               'wrap' => '[|]',                                                        
+                                                               'wrap' => '[|]',
                                                                '_typoScriptNodeValue' => 'TEXT',
                                                        ),
                                                        '_typoScriptNodeValue' => 'COA',
@@ -200,7 +200,7 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                        '_typoScriptNodeValue' => 'COA',
                                ),
                        ),
-       
+
                        'classic' => array(
                                '10' => 'COA',
                                '10.' => array(
@@ -227,10 +227,10 @@ class Tx_Extbase_Utility_TypoScript_testcase extends tx_phpunit_testcase {
                                )
                        )
                );
-               
+
                return $testdata;
        }
-       
+
        /**
         * @test
         * @dataProvider convertPlainArrayToTypoScriptArrayTestdata
index f9dec9d..b6f39c4 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: AlphanumericValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_AlphanumericValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_AlphanumericValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index fd86cfa..04fdd8b 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: ConjunctionValidator_testcase.php 1729 2009-11-25 21:37:20Z stucki $
  */
-class Tx_Extbase_Validation_Validator_ConjunctionValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_ConjunctionValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index bba253f..fa879fd 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: DateTimeValidator_testcase.php 1408 2009-10-08 13:15:09Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_DateTimeValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_DateTimeValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 4e10fcb..8f6c6d9 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: EmailAddressValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_EmailAddressValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_EmailAddressValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * Data provider with valid email addresses
index 4ed0a8b..9affddb 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: FloatValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_FloatValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_FloatValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * An array of valid floating point numbers addresses
index 679329d..55faee2 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: GenericObjectValidator_testcase.php 1408 2009-10-08 13:15:09Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_GenericObjectValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_GenericObjectValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index fea006c..edf6eab 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: IntegerValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_IntegerValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_IntegerValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * An array of valid floating point numbers addresses
index 86dcefc..fff3f23 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: NotEmptyValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_NotEmptyValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_NotEmptyValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index baae7ed..3992a74 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: NumberRangeValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_NumberRangeValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_NumberRangeValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 6c9150a..e9abf96 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: NumberValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_NumberValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_NumberValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 752ac66..1870025 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: RawValidator_testcase.php 1408 2009-10-08 13:15:09Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_RawValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_RawValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index f995126..0f08826 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: RegularExpressionValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_RegularExpressionValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_RegularExpressionValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 37ad93a..ef593de 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: StringLengthValidator_testcase.php 1408 2009-10-08 13:15:09Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_StringLengthValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_StringLengthValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 3014b53..6f64847 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: TextValidator_testcase.php 2428 2010-07-20 10:18:51Z jocrau $
  */
-class Tx_Extbase_Validation_Validator_TextValidator_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_Validator_TextValidatorTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test
index 3115929..d8e88e6 100644 (file)
@@ -32,7 +32,7 @@
  * @subpackage extbase
  * @version $Id: ValidatorResolver_testcase.php 2708 2010-11-10 18:56:01Z bwaidelich $
  */
-class Tx_Extbase_Validation_ValidatorResolver_testcase extends Tx_Extbase_Tests_Unit_BaseTestCase {
+class Tx_Extbase_Tests_Unit_Validation_ValidatorResolverTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
 
        /**
         * @test