3 namespace Doctrine\Tests;
5 class DbalFunctionalTestCase extends DbalTestCase
7 /* Shared connection when a TestCase is run alone (outside of it's functional suite) */
8 private static $_sharedConn;
11 * @var Doctrine\DBAL\Connection
15 protected function resetSharedConn()
17 $this->sharedFixture['conn'] = null;
18 self::$_sharedConn = null;
21 protected function setUp()
23 if (isset($this->sharedFixture['conn'])) {
24 $this->_conn = $this->sharedFixture['conn'];
26 if ( ! isset(self::$_sharedConn)) {
27 self::$_sharedConn = TestUtil::getConnection();
29 $this->_conn = self::$_sharedConn;