From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- tests/simple_unit/SqlMap/queryForListLimitTest.php | 78 +++++++++++----------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'tests/simple_unit/SqlMap/queryForListLimitTest.php') diff --git a/tests/simple_unit/SqlMap/queryForListLimitTest.php b/tests/simple_unit/SqlMap/queryForListLimitTest.php index 3937474a..349314a5 100644 --- a/tests/simple_unit/SqlMap/queryForListLimitTest.php +++ b/tests/simple_unit/SqlMap/queryForListLimitTest.php @@ -1,40 +1,40 @@ -initSqlMap(); - - //force autoload - new Account; - } - - function resetDatabase() - { - $this->initScript('account-init.sql'); - } - - function test_accounts_limit_2() - { - $list1 = $this->sqlmap->queryForList('GetAllAccountsAsArrayListViaResultClass',null,null,1,2); - $this->assertEqual(count($list1),2); - - $this->assertEqual($list1[0][0],'2'); - $this->assertEqual($list1[0][1],'Averel'); - $this->assertEqual($list1[0][2],'Dalton'); - - $this->assertEqual($list1[1][0],'3'); - $this->assertEqual($list1[1][1],'William'); - $this->assertEqual($list1[1][2],'Dalton'); - } -} - +initSqlMap(); + + //force autoload + new Account; + } + + function resetDatabase() + { + $this->initScript('account-init.sql'); + } + + function test_accounts_limit_2() + { + $list1 = $this->sqlmap->queryForList('GetAllAccountsAsArrayListViaResultClass',null,null,1,2); + $this->assertEqual(count($list1),2); + + $this->assertEqual($list1[0][0],'2'); + $this->assertEqual($list1[0][1],'Averel'); + $this->assertEqual($list1[0][2],'Dalton'); + + $this->assertEqual($list1[1][0],'3'); + $this->assertEqual($list1[1][1],'William'); + $this->assertEqual($list1[1][2],'Dalton'); + } +} + ?> \ No newline at end of file -- cgit v1.2.3