System.Data.SQLite
Check-in [1684f669ef]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add preliminary test cases for ticket [b4a7ddc83f].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1684f669ef35235afa2aa9ce753032faaa907904
User & Date: mistachkin 2011-07-21 04:05:01
Context
2011-07-21
17:15
Update test case for [b4a7ddc83f]. check-in: 10f4be9ed4 user: mistachkin tags: trunk
04:05
Add preliminary test cases for ticket [b4a7ddc83f]. check-in: 1684f669ef user: mistachkin tags: trunk
2011-07-19
17:45
Correct typos in required frameworks on download page, fixes ticket [1708271031]. check-in: a9e8f14e76 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added Tests/tkt-b4a7ddc83f.eagle.

            1  +###############################################################################
            2  +#
            3  +# tkt-b4a7ddc83f.eagle --
            4  +#
            5  +# Written by Joe Mistachkin.
            6  +# Released to the public domain, use at your own risk!
            7  +#
            8  +###############################################################################
            9  +
           10  +package require Eagle
           11  +package require EagleLibrary
           12  +package require EagleTest
           13  +
           14  +runTestPrologue
           15  +
           16  +###############################################################################
           17  +
           18  +# set ::test_configuration Debug
           19  +
           20  +source [file join $path common.eagle]
           21  +runSQLiteTestPrologue
           22  +
           23  +###############################################################################
           24  +
           25  +runTest {test tkt-b4a7ddc83f-1.1 {initialization/shutdown} -setup [subst {
           26  +  set fileName tkt-b4a7ddc83f-1.1.db
           27  +  set ::path {$::path}
           28  +  set ::test_configuration {$::test_configuration}
           29  +  source [file join $::path common.eagle]
           30  +}] -body {
           31  +  package require EagleTest
           32  +  tryLoadAssembly System.Data.SQLite.dll
           33  +  object invoke System.Data.SQLite.SQLiteLog Initialize
           34  +  setupDb $fileName
           35  +} -cleanup {
           36  +  cleanupDb $fileName
           37  +} -constraints {eagle monoBug28 command.sql compile.DATA\
           38  +compile.ISOLATED_INTERPRETERS System.Data.SQLite} -isolationLevel AppDomain \
           39  +-result {}}
           40  +
           41  +###############################################################################
           42  +
           43  +runTest {test tkt-b4a7ddc83f-1.2 {initialization/shutdown} -setup [subst {
           44  +  set fileName tkt-b4a7ddc83f-1.2.db
           45  +  set ::path {$::path}
           46  +  set ::test_configuration {$::test_configuration}
           47  +  source [file join $path common.eagle]
           48  +}] -body {
           49  +  package require EagleTest
           50  +  tryLoadAssembly System.Data.SQLite.dll
           51  +
           52  +  object invoke Interpreter.GetActive Interactive True
           53  +  debug break
           54  +
           55  +  object invoke System.Data.SQLite.SQLiteLog Initialize
           56  +  setupDb $fileName
           57  +} -cleanup {
           58  +  cleanupDb $fileName
           59  +} -constraints {eagle monoBug28 command.sql compile.DATA\
           60  +compile.ISOLATED_INTERPRETERS System.Data.SQLite} -isolationLevel AppDomain \
           61  +-result {}}
           62  +
           63  +###############################################################################
           64  +
           65  +runSQLiteTestEpilogue
           66  +runTestEpilogue