summaryrefslogtreecommitdiff
path: root/tests/unit/SQLMap/ConfigureTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/SQLMap/ConfigureTest.php')
-rw-r--r--tests/unit/SQLMap/ConfigureTest.php20
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