From dc3bf922d9715bfd1b2105be04a9aabc84a1d7d4 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 12 Apr 2007 08:05:03 +0000 Subject: Refactor and add TTableGateway, System.Data.Common, System.Data.DataGateway --- tests/simple_unit/SqlMap/queryForListLimitTest.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/simple_unit/SqlMap/queryForListLimitTest.php (limited to 'tests/simple_unit/SqlMap/queryForListLimitTest.php') diff --git a/tests/simple_unit/SqlMap/queryForListLimitTest.php b/tests/simple_unit/SqlMap/queryForListLimitTest.php new file mode 100644 index 00000000..ceacbcdc --- /dev/null +++ b/tests/simple_unit/SqlMap/queryForListLimitTest.php @@ -0,0 +1,32 @@ +initSqlMap(); + + //force autoload + new Account; + } + + function resetDatabase() + { + $this->initScript('account-init.sql'); + } + + function test_accounts_limit_2() + { + $list1 = $this->sqlmap->queryForList('GetAllAccountsAsArrayListViaResultClass', null, null, 2); + //var_dump($list1); + } +} + +?> \ No newline at end of file -- cgit v1.2.3