summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/mysql.xml
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-03-25 17:55:51 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-03-25 17:55:51 +0100
commita3388622287e218beddfa14a47ed677d4307b36b (patch)
tree1b4c7ac8597b1cc798b6683d4a81c90d38de12f6 /tests/unit/Data/SqlMap/mysql.xml
parentc7fd3e1167b6f2fa7746edbd0fb8f8c1694c61f9 (diff)
Removed simpletest and moved all tests in the unit tree
Tests are executed now, but a lot of them need fixing.
Diffstat (limited to 'tests/unit/Data/SqlMap/mysql.xml')
-rw-r--r--tests/unit/Data/SqlMap/mysql.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/unit/Data/SqlMap/mysql.xml b/tests/unit/Data/SqlMap/mysql.xml
new file mode 100644
index 00000000..b4ac85b8
--- /dev/null
+++ b/tests/unit/Data/SqlMap/mysql.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sqlMapConfig>
+
+ <properties>
+ <property name="selectKey" value="select @@IDENTITY as value" />
+ <property name="MyCategoryName" value="'Film'" />
+ <property name="accountName" value="'Joe'" />
+ </properties>
+
+ <typeHandlers>
+ <typeHandler dbType="Varchar" class="OuiNonBool"/>
+ <typeHandler dbType="date" class="TDateTimeHandler" />
+ </typeHandlers>
+
+ <sqlMaps>
+ <sqlMap name="Account" resource="maps/MySql/Account.xml"/>
+ <sqlMap name="DynamicAccount" resource="maps/MySql/DynamicAccount.xml"/>
+ <sqlMap name="Order" resource="maps/MySql/Order.xml"/>
+ <sqlMap name="Category" resource="maps/MySql/Category.xml"/>
+ <sqlMap name="Complex" resource="maps/MySql/Complex.xml"/>
+ <sqlMap name="LineItem" resource="maps/MySql/LineItem.xml"/>
+ <sqlMap name="Enumeration" resource="maps/MySql/Enumeration.xml"/>
+ <sqlMap name="Other" resource="maps/MySql/Other.xml"/>
+ <sqlMap name="ResultClass" resource="maps/MySql/ResultClass.xml"/>
+ <sqlMap name="Document" resource="maps/MySql/Document.xml"/>
+ <sqlMap resource="maps/MySql/ActiveRecord.xml"/>
+ </sqlMaps>
+
+</sqlMapConfig> \ No newline at end of file