summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/StatementExtendsTest.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /tests/simple_unit/SqlMap/StatementExtendsTest.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/simple_unit/SqlMap/StatementExtendsTest.php')
-rw-r--r--tests/simple_unit/SqlMap/StatementExtendsTest.php56
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/simple_unit/SqlMap/StatementExtendsTest.php b/tests/simple_unit/SqlMap/StatementExtendsTest.php
index 4d87ca58..f496f154 100644
--- a/tests/simple_unit/SqlMap/StatementExtendsTest.php
+++ b/tests/simple_unit/SqlMap/StatementExtendsTest.php
@@ -1,29 +1,29 @@
-<?php
-
-Prado::using('System.Data.SqlMap.TSqlMapConfig');
-class StatementExtendsTest extends UnitTestCase
-{
- protected $sqlmap;
-
- function setup()
- {
- $config = new TSqlMapConfig();
- $config->ConfigFile = dirname(__FILE__).'/maps/tests.xml';
- $this->sqlmap = $config->getClient();
- }
-
- function test_extends1()
- {
- $manager = $this->sqlmap->SqlMapManager;
- $sql = $manager->getMappedStatement('test')->getSqlString();
-
- $this->assertPattern('/img_request/', $sql);
- $this->assertNoPattern('/img_progress/', $sql);
-
- $sql2 = $manager->getMappedStatement('GetAllProgress')->getSqlString();
- $this->assertPattern('/img_request/', $sql2);
- $this->assertPattern('/img_progress/', $sql2);
- }
-}
-
+<?php
+
+Prado::using('System.Data.SqlMap.TSqlMapConfig');
+class StatementExtendsTest extends UnitTestCase
+{
+ protected $sqlmap;
+
+ function setup()
+ {
+ $config = new TSqlMapConfig();
+ $config->ConfigFile = dirname(__FILE__).'/maps/tests.xml';
+ $this->sqlmap = $config->getClient();
+ }
+
+ function test_extends1()
+ {
+ $manager = $this->sqlmap->SqlMapManager;
+ $sql = $manager->getMappedStatement('test')->getSqlString();
+
+ $this->assertPattern('/img_request/', $sql);
+ $this->assertNoPattern('/img_progress/', $sql);
+
+ $sql2 = $manager->getMappedStatement('GetAllProgress')->getSqlString();
+ $this->assertPattern('/img_request/', $sql2);
+ $this->assertPattern('/img_progress/', $sql2);
+ }
+}
+
?> \ No newline at end of file