File: tests/eMapper/PostgreSQL/ResultIteratorTest.php

Recommend this page to a friend!
  Classes of Emmanuel Antico  >  eMapper  >  tests/eMapper/PostgreSQL/ResultIteratorTest.php  >  Download  
File: tests/eMapper/PostgreSQL/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: 6 years ago
Size: 432 bytes
 

Contents

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

use
eMapper\AbstractResultIteratorTest;

/**
 * Test PostgreSQLResultIterator fetching various types of data
 * @author emaphp
 * @group postgre
 * @group iterator
 */
class ResultIteratorTest extends AbstractResultIteratorTest {
    use
PostgreSQLConfig;
   
    protected function
query($query) {
        return
pg_query($this->conn, $query);
    }
   
    public function
close() {
       
pg_close($this->conn);
    }
}
?>


For more information send a message to info at phpclasses dot org.