[TASK][WIP] Move classes to new locations
authorThomas Maroschik <tmaroschik@dfau.de>
Wed, 17 Oct 2012 15:24:52 +0000 (17:24 +0200)
committerThomas Maroschik <tmaroschik@dfau.de>
Wed, 17 Oct 2012 15:24:52 +0000 (17:24 +0200)
Change-Id: I5ab2b907e5700a7ab24bde9ae01effbf32945e96

typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompiledTemplateTest.php [deleted file]
typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompilerTemplateTest.php [new file with mode: 0644]

diff --git a/typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompiledTemplateTest.php b/typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompiledTemplateTest.php
deleted file mode 100644 (file)
index 8018d49..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2012 Markus Günther <mail@markus-guenther.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-/**
- * Testcase for AbstractCompilerTemplate
- *
- */
-class Tx_Fluid_Tests_Unit_Core_Compiler_AbstractCompilerTemplateTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
-
-       /**
-        * @test
-        */
-       public function resolveDefaultEncodingWillBeSetToUtf8IfNotSet() {
-               $this->assertSame('UTF-8', Tx_Fluid_Core_Compiler_AbstractCompiledTemplate::resolveDefaultEncoding());
-       }
-
-       /**
-        * @test
-        */
-       public function isDefaultEncodingIsSetThanDefaultEncodingWillReturned() {
-               $className = uniqid('Tx_Fluid_Core_Compiler_AbstractCompiledTemplate');
-               eval(
-                       'abstract class ' . $className . ' extends Tx_Fluid_Core_Compiler_AbstractCompiledTemplate {' .
-                       '  static protected $defaultEncoding = \'ISO-8859-1\';' .
-                       '}'
-               );
-               $this->assertSame('ISO-8859-1', $className::resolveDefaultEncoding());
-       }
-}
-?>
\ No newline at end of file
diff --git a/typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompilerTemplateTest.php b/typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompilerTemplateTest.php
new file mode 100644 (file)
index 0000000..8018d49
--- /dev/null
@@ -0,0 +1,51 @@
+<?php
+/***************************************************************
+ *  Copyright notice
+ *
+ *  (c) 2012 Markus Günther <mail@markus-guenther.de>
+ *  All rights reserved
+ *
+ *  This script is part of the TYPO3 project. The TYPO3 project is
+ *  free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  The GNU General Public License can be found at
+ *  http://www.gnu.org/copyleft/gpl.html.
+ *
+ *  This script is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+/**
+ * Testcase for AbstractCompilerTemplate
+ *
+ */
+class Tx_Fluid_Tests_Unit_Core_Compiler_AbstractCompilerTemplateTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
+
+       /**
+        * @test
+        */
+       public function resolveDefaultEncodingWillBeSetToUtf8IfNotSet() {
+               $this->assertSame('UTF-8', Tx_Fluid_Core_Compiler_AbstractCompiledTemplate::resolveDefaultEncoding());
+       }
+
+       /**
+        * @test
+        */
+       public function isDefaultEncodingIsSetThanDefaultEncodingWillReturned() {
+               $className = uniqid('Tx_Fluid_Core_Compiler_AbstractCompiledTemplate');
+               eval(
+                       'abstract class ' . $className . ' extends Tx_Fluid_Core_Compiler_AbstractCompiledTemplate {' .
+                       '  static protected $defaultEncoding = \'ISO-8859-1\';' .
+                       '}'
+               );
+               $this->assertSame('ISO-8859-1', $className::resolveDefaultEncoding());
+       }
+}
+?>
\ No newline at end of file