Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/zendframework/zend-queue/tests/ZendQueue/Queue1Test.php
Строк: 57
<?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 * @package   Zend_Queue
 */

namespace ZendQueueTest;

/*
 * The adapter test class provides a universal test class for all of the
 * abstract methods.
 *
 * All methods marked not supported are explictly checked for for throwing
 * an exception.
 */

/**
 * @category   Zend
 * @package    Zend_Queue
 * @subpackage UnitTests
 * @group      Zend_Queue
 */
class Queue1Test extends QueueBaseTest
{
    
/**
     * Stores the original set timezone
     * @var string
     */
    
private $_originaltimezone;

    protected function 
setUp()
    {
        
$this->_originaltimezone date_default_timezone_get();
        
date_default_timezone_set('GMT');

        
// Test Zend_Config
        
$this->config = array(
            
'name'      => 'queue1'
        
);

        
$this->queue = new ZendQueueQueue('ArrayAdapter'$this->config);
    }

    
/**
     * Teardown environment
     */
    
public function tearDown()
    {
        
date_default_timezone_set($this->_originaltimezone);
    }
}
Онлайн: 0
Реклама