PHP Classes

File: tests/eMapper/MySQL/ResultIteratorTest.php

Recommend this page to a friend!
  Classes of Emmanuel Antico   eMapper   tests/eMapper/MySQL/ResultIteratorTest.php   Download  
File: tests/eMapper/MySQL/ResultIteratorTest.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: eMapper
Database abstraction layer that maps data types
Author: By
Last change: Added: Abstract type tests.
Added: Method free in ResultIterator classes.
Date: 9 years ago
Size: 410 bytes
 

Contents

Class file image Download
<?php
namespace eMapper\MySQL;

use
eMapper\AbstractResultIteratorTest;

/**
 * Test MySQLResultIterator fetching various types of data
 * @author emaphp
 * @group mysql
 * @group iterator
 */
class ResultIteratorTest extends AbstractResultIteratorTest {
    use
MySQLConfig;

    protected function
query($query) {
        return
$this->conn->query($query);
    }
   
    public function
close() {
       
$this->conn->close();
    }
}
?>