[TASK] Move UnitTests.xml file to EXT:core/Build
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 11 Sep 2012 19:59:43 +0000 (21:59 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 11 Sep 2012 20:11:01 +0000 (22:11 +0200)
This was decided at the latest release manager meeting:
To get rid of the top level tests/ directory, the UnitTests.xml
file is moved to the core extension to a new folder Build/. This
directory will later be used for other build specific things.

Change-Id: Id541f1e0bab3b1d2891f13697f48ea16e6c86d5e
Resolves: #40837
Releases: 6.0
Reviewed-on: http://review.typo3.org/14528
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
.travis.yml
tests/Build/UnitTests.xml [deleted file]
typo3/sysext/core/Build/UnitTests.xml [new file with mode: 0644]

index c818e37..ffca26b 100644 (file)
@@ -31,4 +31,4 @@ before_script:
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql; fi
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/phpunit.sql; fi
 
-script: php $PWD/typo3/cli_dispatch.phpsh phpunit -c tests/Build/UnitTests.xml
+script: php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml
diff --git a/tests/Build/UnitTests.xml b/tests/Build/UnitTests.xml
deleted file mode 100644 (file)
index 506e776..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<phpunit backupGlobals="false"
-       backupStaticAttributes="false"
-       colors="false"
-       convertErrorsToExceptions="true"
-       convertWarningsToExceptions="true"
-       forceCoversAnnotation="false"
-       processIsolation="false"
-       stopOnError="false"
-       stopOnFailure="false"
-       stopOnIncomplete="false"
-       stopOnSkipped="false"
-       strict="false"
-       verbose="false">
-
-       <testsuites>
-               <testsuite name="EXT:core tests">
-                       <directory>../../typo3/sysext/core/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:backend tests">
-                       <directory>../../typo3/sysext/backend/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:frontend tests">
-                       <directory>../../typo3/sysext/frontend/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="Core tests">
-                       <directory>../../tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:beuser tests">
-                       <directory>../../typo3/sysext/beuser/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:extbase tests">
-                       <directory>../../typo3/sysext/extbase/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:extensionmanager tests">
-                       <directory>../../typo3/sysext/extensionmanager/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="EXT:fluid tests">
-                       <directory>../../typo3/sysext/fluid/Tests/Unit/</directory>
-               </testsuite>
-               <testsuite name="Suite integrity tests">
-                       <directory>../../typo3/sysext/core/Tests/Integrity/</directory>
-               </testsuite>
-       </testsuites>
-
-</phpunit>
\ No newline at end of file
diff --git a/typo3/sysext/core/Build/UnitTests.xml b/typo3/sysext/core/Build/UnitTests.xml
new file mode 100644 (file)
index 0000000..9a2df9a
--- /dev/null
@@ -0,0 +1,45 @@
+<phpunit backupGlobals="false"
+       backupStaticAttributes="false"
+       colors="false"
+       convertErrorsToExceptions="true"
+       convertWarningsToExceptions="true"
+       forceCoversAnnotation="false"
+       processIsolation="false"
+       stopOnError="false"
+       stopOnFailure="false"
+       stopOnIncomplete="false"
+       stopOnSkipped="false"
+       strict="false"
+       verbose="false">
+
+       <testsuites>
+               <testsuite name="EXT:core tests">
+                       <directory>../../../../typo3/sysext/core/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:backend tests">
+                       <directory>../../../../typo3/sysext/backend/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:frontend tests">
+                       <directory>../../../../typo3/sysext/frontend/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="Core tests">
+                       <directory>../../../../tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:beuser tests">
+                       <directory>../../../../typo3/sysext/beuser/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:extbase tests">
+                       <directory>../../../../typo3/sysext/extbase/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:extensionmanager tests">
+                       <directory>../../../../typo3/sysext/extensionmanager/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="EXT:fluid tests">
+                       <directory>../../../../typo3/sysext/fluid/Tests/Unit/</directory>
+               </testsuite>
+               <testsuite name="Suite integrity tests">
+                       <directory>../../../../typo3/sysext/core/Tests/Integrity/</directory>
+               </testsuite>
+       </testsuites>
+
+</phpunit>
\ No newline at end of file