Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add more tests for ticket [94252b9059]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9a50efa0aec5cd824e35601b85459774 |
User & Date: | mistachkin 2015-03-30 20:34:03.729 |
Context
2015-04-02
| ||
22:58 | Update SQLite core library to the latest 3.8.9 pre-release. check-in: 3d82917c23 user: mistachkin tags: trunk | |
2015-03-30
| ||
20:34 | Add more tests for ticket [94252b9059]. check-in: 9a50efa0ae user: mistachkin tags: trunk | |
19:31 | Prevent the IDataReader.GetDataTypeName method from throwing 'No current row' exceptions. Fix for [94252b9059]. Also, the IDataReader.GetDataTypeName method should always return the declared type name. check-in: 40def75096 user: mistachkin tags: trunk | |
Changes
Changes to Tests/tkt-94252b9059.eagle.
︙ | ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 | cleanupDb $fileName unset -nocomplain db fileName } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result \ {SOMETYPE INTEGER {} System.Object System.Int64 System.Object}} ############################################################################### runSQLiteTestEpilogue runTestEpilogue | > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | cleanupDb $fileName unset -nocomplain db fileName } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result \ {SOMETYPE INTEGER {} System.Object System.Int64 System.Object}} ############################################################################### runTest {test tkt-94252b9059-1.2 {GetDataTypeName with current row} -setup { setupDb [set fileName tkt-94252b9059-1.2.db] } -body { sql execute $db { CREATE TABLE t1(x SOMETYPE, y INTEGER, z); INSERT INTO t1 (x, y, z) VALUES(RANDOMBLOB(1), 1, 'z'); } set dataReader [sql execute -execute reader -format datareader \ -alias $db "SELECT x, y, z FROM t1;"] $dataReader Read list [$dataReader GetDataTypeName 0] [$dataReader GetDataTypeName 1] \ [$dataReader GetDataTypeName 2] [$dataReader GetFieldType 0] \ [$dataReader GetFieldType 1] [$dataReader GetFieldType 2] } -cleanup { unset -nocomplain dataReader cleanupDb $fileName unset -nocomplain db fileName } -constraints \ {eagle monoBug28 command.sql compile.DATA SQLite System.Data.SQLite} -result \ {SOMETYPE INTEGER {} {System.Byte[]} System.Int64 System.String}} ############################################################################### runSQLiteTestEpilogue runTestEpilogue |