Yaffs site version 1.1
[yaffs-website] / vendor / gabordemooij / redbean / testing / RedUNIT / Blackhole.php
1 <?php
2
3 namespace RedUNIT;
4
5 /**
6  * Blackhole
7  *
8  * The Blackhole class is the parent class of all tests that do not require a
9  * specific database connection.
10  *
11  * @file    RedUNIT/Blackhole.php
12  * @desc    Tests that do not require a database or can just use the base SQLite driver.
13  * @author  Gabor de Mooij and the RedBeanPHP Community
14  * @license New BSD/GPLv2
15  *
16  * (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
17  * This source file is subject to the New BSD/GPLv2 License that is bundled
18  * with this source code in the file license.txt.
19  */
20 class Blackhole extends RedUNIT
21 {
22         /**
23          * Returns a list of drivers for which this driver supports
24          * 'test rounds'. This class does not specify any drivers and
25          * can therefore be used as the base class of all tests not
26          * requiring a specific database connection.
27          *
28          * @see RedUNIT::getTargetDrivers() for details.
29          *
30          * @return array
31          */
32         public function getTargetDrivers()
33         {
34                 return array();
35         }
36 }