System.Data.SQLite

Check-in [92f27e48a2]
Login

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

Overview
Comment:Tests for Windows-specific features should run only on Windows.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 92f27e48a29191fde6cc3c419dd7399ec4ced23d
User & Date: mistachkin 2016-03-22 17:34:35.837
Context
2016-03-22
17:40
One more Windows-specific test constraint. check-in: 48396b3765 user: mistachkin tags: trunk
17:34
Tests for Windows-specific features should run only on Windows. check-in: 92f27e48a2 user: mistachkin tags: trunk
17:01
More test portability enhancements. check-in: ae12ca01d9 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/basic.eagle.
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
    }
  }

  cleanupDb $fileName

  unset -nocomplain result count interval savedCount savedInterval results \
      errors code dataSource id db fileName
} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
System.Data.SQLite compileCSharp} -match regexp -result {^Ok\
System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 True$}}

###############################################################################

runTest {test data-1.8 {properly closed database file (non-query)} -setup {
  set fileName data-1.8.db
} -body {







|
|







403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
    }
  }

  cleanupDb $fileName

  unset -nocomplain result count interval savedCount savedInterval results \
      errors code dataSource id db fileName
} -constraints {eagle command.object windows monoBug28 command.sql compile.DATA\
SQLite System.Data.SQLite compileCSharp} -match regexp -result {^Ok\
System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 True$}}

###############################################################################

runTest {test data-1.8 {properly closed database file (non-query)} -setup {
  set fileName data-1.8.db
} -body {
Changes to Tests/stress.eagle.
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
      }
    }
  }

  #############################################################################

  proc useMem { ptr size } {
    if {![isMono]} then {
      #
      # HACK: The type signature of the ZeroMemory method changed as of the
      #       .NET Framework 4.5.  The second argument went from being of
      #       type UInt to type UIntPtr.
      #
      if {[haveConstraint dotNet40] && \
          [haveConstraint dotNet45OrHigher]} then {







|







235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
      }
    }
  }

  #############################################################################

  proc useMem { ptr size } {
    if {[isWindows] && ![isMono]} then {
      #
      # HACK: The type signature of the ZeroMemory method changed as of the
      #       .NET Framework 4.5.  The second argument went from being of
      #       type UInt to type UIntPtr.
      #
      if {[haveConstraint dotNet40] && \
          [haveConstraint dotNet45OrHigher]} then {