Commit 8999ac76 authored by Oliver Klee's avatar Oliver Klee Committed by Helmut Hummel
Browse files

[TASK] Make some final classes non-final to allow mocking

We need to be able to subclass some classes for the unit tests:

a) classes that need to be used with getMock
b) classes that we subclass to overwrite static methods

Change-Id: Ib31bb18a1d90144699bc9c30311f26a2dbb42a7b
Releases: 6.0
Resolves: #39353
Reviewed-on: http://review.typo3.org/13321
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
parent d391f709
......@@ -37,7 +37,7 @@
* @package TYPO3
* @subpackage t3lib
*/
final class t3lib_BEfunc {
class t3lib_BEfunc {
/*******************************************
*
......
......@@ -44,7 +44,7 @@
* @package TYPO3
* @subpackage t3lib
*/
final class t3lib_iconWorks {
class t3lib_iconWorks {
public static $fileSpriteIconNames = array(
'htm' => 'mimetypes-text-html',
......
......@@ -44,7 +44,7 @@
* @subpackage t3lib
* @see t3lib_tsfeBeUserAuth, tslib_fe, tslib_cObj, TSpagegen
*/
final class t3lib_timeTrack {
class t3lib_timeTrack {
// Is loaded with the millisecond time when this object is created
var $starttime = 0;
......
......@@ -31,7 +31,7 @@
* @package TYPO3
* @subpackage t3lib
*/
final class t3lib_TimeTrackNull {
class t3lib_TimeTrackNull {
/**
* "Constructor"
* Sets the starting time
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment