PHP Classes

File: vendor/gabordemooij/redbean/testing/RedUNIT/Blackhole.php

Recommend this page to a friend!
  Classes of Adrian M   upMVC   vendor/gabordemooij/redbean/testing/RedUNIT/Blackhole.php   Download  
File: vendor/gabordemooij/redbean/testing/RedUNIT/Blackhole.php
Role: Class source
Content type: text/plain
Description: Class source
Class: upMVC
Pure PHP web development without other frameworks
Author: By
Last change:
Date: 28 days ago
Size: 975 bytes
 

Contents

Class file image Download
<?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();
    }
}