mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-14 00:44:23 -05:00
Begin Refactor
This commit is contained in:
36
vendor/gabordemooij/redbean/testing/RedUNIT/Blackhole.php
vendored
Normal file
36
vendor/gabordemooij/redbean/testing/RedUNIT/Blackhole.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace RedUNIT;
|
||||
|
||||
/**
|
||||
* Blackhole
|
||||
*
|
||||
* The Blackhole class is the parent class of all tests that do not require a
|
||||
* specific database connection.
|
||||
*
|
||||
* @file RedUNIT/Blackhole.php
|
||||
* @desc Tests that do not require a database or can just use the base SQLite driver.
|
||||
* @author Gabor de Mooij and the RedBeanPHP Community
|
||||
* @license New BSD/GPLv2
|
||||
*
|
||||
* (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community.
|
||||
* This source file is subject to the New BSD/GPLv2 License that is bundled
|
||||
* with this source code in the file license.txt.
|
||||
*/
|
||||
class Blackhole extends RedUNIT
|
||||
{
|
||||
/**
|
||||
* Returns a list of drivers for which this driver supports
|
||||
* 'test rounds'. This class does not specify any drivers and
|
||||
* can therefore be used as the base class of all tests not
|
||||
* requiring a specific database connection.
|
||||
*
|
||||
* @see RedUNIT::getTargetDrivers() for details.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTargetDrivers()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user