summaryrefslogtreecommitdiff
path: root/tests/unit/SQLMap/maps/sqlite/ResultClass.xml
diff options
context:
space:
mode:
authorctrlaltca <>2012-11-18 20:26:25 +0000
committerctrlaltca <>2012-11-18 20:26:25 +0000
commit43233000543984eda49768edde65076fb9c2468c (patch)
tree48578b1c5485c1f3342796cf7efa024882efd726 /tests/unit/SQLMap/maps/sqlite/ResultClass.xml
parent6dff17fee04f8b8a1f35ec8e9afe65ae32b2684c (diff)
dropped old tests referring to unexisting components (NOTE: this includes what seems a test suite for an older version of SQLMap)
Diffstat (limited to 'tests/unit/SQLMap/maps/sqlite/ResultClass.xml')
-rw-r--r--tests/unit/SQLMap/maps/sqlite/ResultClass.xml130
1 files changed, 0 insertions, 130 deletions
diff --git a/tests/unit/SQLMap/maps/sqlite/ResultClass.xml b/tests/unit/SQLMap/maps/sqlite/ResultClass.xml
deleted file mode 100644
index 37985ba7..00000000
--- a/tests/unit/SQLMap/maps/sqlite/ResultClass.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<sqlMap namespace="ResultClass" >
-
- <statement id="GetBoolean"
- parameterClass="Int"
- resultClass="bool" >
- select 1 from Orders where Order_ID = #dummy#
- </statement>
- <statement id="GetBooleanWithoutResultClass"
- parameterClass="Int"
- extends="GetBoolean">
- </statement>
-
- <statement id="GetByte"
- parameterClass="Int"
- resultClass="string" >
- select 155 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetByteWithoutResultClass"
- parameterClass="Int"
- extends="GetByte">
- </statement>
-
- <!--
- NOTE: Use MySql 4.0.2 or higher for "cast"
- -->
- <statement id="GetChar"
- parameterClass="Int"
- resultClass="string" >
- select 'a' from Orders where Order_ID = #value#
- </statement>
- <statement id="GetCharWithoutResultClass"
- parameterClass="Int"
- extends="GetChar">
- </statement>
-
- <statement id="GetDate"
- parameterClass="Int"
- resultClass="TDateTime" >
- select '2003-02-15 8:15:00' as datetime from Orders where Order_ID = #value#
- </statement>
- <statement id="GetDateWithoutResultClass"
- parameterClass="Int"
- extends="GetDate">
- </statement>
-
- <statement id="GetDecimal"
- parameterClass="Int"
- resultClass="float" >
- select 1.56 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetDecimalWithoutResultClass"
- parameterClass="Int"
- extends="GetDecimal">
- </statement>
-
- <statement id="GetDouble"
- parameterClass="Int"
- resultClass="float" >
- select 99.5 from Orders where Order_ID= #value#
- </statement>
- <statement id="GetDoubleWithoutResultClass"
- parameterClass="Int"
- extends="GetDouble">
- </statement>
-
- <!--
- Use binary for cast for MySql
- -->
- <statement id="GetGuid"
- parameterClass="Int"
- resultClass="guid" >
- select cast('CD5ABF17-4BBC-4C86-92F1-257735414CF4' as binary) from Orders where Order_ID = #value#
- </statement>
- <statement id="GetGuidWithoutResultClass" parameterClass="Int" extends="GetGuid">
- </statement>
-
- <statement id="GetInt16"
- parameterClass="Int"
- resultClass="int" >
- select 32111 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetInt16WithoutResultClass"
- parameterClass="Int"
- extends="GetInt16">
- </statement>
-
- <statement id="GetInt32"
- parameterClass="Int"
- resultClass="int" >
- select 999999 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetInt32WithoutResultClass"
- parameterClass="Int"
- extends="GetInt32">
- </statement>
-
- <statement id="GetInt64"
- parameterClass="Int"
- resultClass="double" >
- select 9223372036854775800 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetInt64WithoutResultClass"
- parameterClass="Int"
- extends="GetInt64">
- </statement>
-
- <statement id="GetSingle"
- parameterClass="Int"
- resultClass="float" >
- select 92233.5 from Orders where Order_ID = #value#
- </statement>
- <statement id="GetSingleWithoutResultClass"
- parameterClass="Int"
- extends="GetSingle">
- </statement>
-
- <statement id="GetString"
- parameterClass="Int"
- resultClass="string" >
- select 'VISA'
- from Orders where Order_ID = #value#
- </statement>
- <statement id="GetStringWithoutResultClass"
- parameterClass="Int"
- extends="GetString">
- </statement>
-
-</sqlMap> \ No newline at end of file