Class ezSQL_recordsetTest

Description

Test class for ezSQL_recordset.

Generated by PHPUnit

Located in /_Test/unit_tests/shared/ezSQL_recordsetTest.php (line 17)

PHPUnit_Framework_TestCase
   |
   --ezSQL_recordsetTest
Class Constant Summary
TEST_DB_CHARSET = 'utf8'
TEST_DB_HOST = 'localhost'
TEST_DB_NAME = 'ez_test'
TEST_DB_PASSWORD = 'ezTest'
TEST_DB_USER = 'ez_test'
Variable Summary
Method Summary
void setUp ()
void tearDown ()
void testCurrent ()
void testKey ()
void testNext ()
void testPrevious ()
void testRewind ()
void testValid ()
Variables
ezSQL_mysql $ezSQL = null (line 53)

ezSQL connection

  • access: protected
ezSQL_recordset $object (line 47)
  • access: protected
Methods
setUp (line 60)

Sets up the fixture, for example, opens a network connection.

This method is called before a test is executed.

  • access: protected
void setUp ()
tearDown (line 82)

Tears down the fixture, for example, closes a network connection.

This method is called after a test is executed.

  • access: protected
void tearDown ()
testCurrent (line 106)
  • access: public
void testCurrent ()
testEzSQL_fetch_assoc (line 159)
  • access: public
void testEzSQL_fetch_assoc ()
testEzSQL_fetch_object (line 181)
  • access: public
void testEzSQL_fetch_object ()
testEzSQL_fetch_row (line 170)
  • access: public
void testEzSQL_fetch_row ()
testKey (line 117)
  • access: public
void testKey ()
testNext (line 128)
  • access: public
void testNext ()
testPrevious (line 139)
  • access: public
void testPrevious ()
testRewind (line 91)
  • access: public
void testRewind ()
testValid (line 152)
  • access: public
void testValid ()
Class Constants
TEST_DB_CHARSET = 'utf8' (line 42)

constant database connection charset

TEST_DB_HOST = 'localhost' (line 37)

constant database host

TEST_DB_NAME = 'ez_test' (line 32)

constant database name

TEST_DB_PASSWORD = 'ezTest' (line 27)

constant string password

TEST_DB_USER = 'ez_test' (line 22)

constant string user name

Documentation generated on Mon, 26 Aug 2013 23:22:24 +0200 by phpDocumentor 1.4.4