[TASK] Increase test coverage of DatabaseConnection classes 93/47393/4
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 25 Mar 2016 20:07:03 +0000 (21:07 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 30 Mar 2016 20:42:53 +0000 (22:42 +0200)
commit81b0bb0387ea86efd66808547456621b403f8891
treef722965389b8035c37da677511478e48f7f308fd
parent9aaab9b3e657131f536cbaa212227e983cf8e486
[TASK] Increase test coverage of DatabaseConnection classes

Increase the test coverage of the DatabaseConnection class by adding
unit and functional tests for core methods.

Reformat the tests to use short array notation and fix PSR-2 warnings.

Resolves: #60081
Releases: master
Change-Id: Id839c88de75eb4174b3f0cd95d3954b9631fc23d
Reviewed-on: https://review.typo3.org/47393
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Database/PreparedStatementTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php
typo3/sysext/core/Tests/Unit/Database/PreparedStatementTest.php