PHP Classes

File: tests/eMapper/SQLite/ResultIteratorTest.php

Recommend this page to a friend!
  Packages of Emmanuel Antico   eMapper   tests/eMapper/SQLite/ResultIteratorTest.php   Download  
File: tests/eMapper/SQLite/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: 12 years ago
Size: 418 bytes
 

 

Contents

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

use eMapper\AbstractResultIteratorTest;

/**
 * Test SQLiteResultIterator mapping to different types of row
 * @author emaphp
 * @group sqlite
 * @group iterator
 */
class ResultIteratorTest extends AbstractResultIteratorTest {
    use SQLiteConfig;
    
    protected function query($query) {
        return $this->conn->query($query);
    }
    
    public function close() {
        $this->conn->close();
    }
}
?>