Yaffs site version 1.1
[yaffs-website] / vendor / gabordemooij / redbean / testing / RedUNIT / Mysql.php
1 <?php
2
3 namespace RedUNIT;
4
5 /**
6  * Mysql
7  *
8  * The Mysql class is the parent class of all MySQL and MariaDB
9  * specific test classes.
10  *
11  * @file    RedUNIT/Mysql.php
12  * @desc    Base class for all tests that test support for MySQL/MariaDB database.
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 Mysql extends RedUNIT
21 {
22         /**
23          * Returns a list of drivers for which this driver supports
24          * 'test rounds'. This class only supports
25          * the MySQL/MariaDB driver.
26          *
27          * @see RedUNIT::getTargetDrivers() for details.
28          *
29          * @return array
30          */
31         public function getTargetDrivers()
32         {
33                 return array( 'mysql' );
34         }
35 }