diff options
author | wei <> | 2006-04-14 11:23:56 +0000 |
---|---|---|
committer | wei <> | 2006-04-14 11:23:56 +0000 |
commit | f6a5e7589396854e10e023c25237b47e512ff047 (patch) | |
tree | 2b313bb8b66869235ee06b9cae2af2f7645cf5c9 /tests/unit/SQLMap/ConfigureTest.php | |
parent | 3d3f8d3832921f99daf8ce1953304763c2e76c62 (diff) |
Adding SQLMap unit tests. Allow sqlmap to use Prado's caching module to cache records.
Diffstat (limited to 'tests/unit/SQLMap/ConfigureTest.php')
-rw-r--r-- | tests/unit/SQLMap/ConfigureTest.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/unit/SQLMap/ConfigureTest.php b/tests/unit/SQLMap/ConfigureTest.php new file mode 100644 index 00000000..ef2e5e31 --- /dev/null +++ b/tests/unit/SQLMap/ConfigureTest.php @@ -0,0 +1,20 @@ +<?php
+
+require_once(dirname(__FILE__).'/BaseTest.php');
+
+/**
+ * @package System.DataAccess.SQLMap
+ */
+class ConfigureTest extends BaseTest
+{
+
+ function testConfigureAbsolutePath()
+ {
+ $builder = new TDomSqlMapBuilder;
+ $filename = realpath(dirname(__FILE__).'/resources/sqlmap.xml');
+ $sqlmap = $builder->configure($filename);
+ $this->assertNotNull($sqlmap);
+ }
+}
+
+?>
\ No newline at end of file |