[BUGFIX] Tests: Refactor log writer tests in ext:core 96/28396/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 14 Mar 2014 18:24:24 +0000 (19:24 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 14 Mar 2014 19:00:51 +0000 (20:00 +0100)
commit8bec51303d5a246cb5ee8da7675ce14491362395
treec6d1aa6ab1499b88899fa8c27abf5b9be0880015
parent056013636eb8d65189eda5f8c82162e25d443351
[BUGFIX] Tests: Refactor log writer tests in ext:core

Test files and class naming is adapted to subject class names in
ext:core Log/Writer and the DatabaseWriterTests are rewritten to
not depend on initialized database connection anymore.

Change-Id: Ifff4e5a064018bb5b0db3bf9eeb1b9232adfb262
Resolves: #56921
Related: #51436
Releases: 6.2
Reviewed-on: https://review.typo3.org/28396
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/core/Classes/Log/LogRecord.php
typo3/sysext/core/Tests/Unit/Log/Writer/AbstractTest.php [deleted file]
typo3/sysext/core/Tests/Unit/Log/Writer/AbstractWriterTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseTest.php [deleted file]
typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseWriterTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Log/Writer/FileTest.php [deleted file]
typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php [new file with mode: 0644]