System.Data.SQLite
Check-in [7957c296b8]
Not logged in

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

Overview
Comment:Update comments in the session test file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7957c296b872caa2a6a3993505ce5c759531da05
User & Date: mistachkin 2017-10-18 07:11:46
Context
2017-10-18
17:59
Add GetInvariantDecimal connection flag, enabled by default, to force returning of decimal values using the invariant culture. Update version history docs. check-in: b37afb1ddc user: mistachkin tags: trunk
07:11
Update comments in the session test file. check-in: 7957c296b8 user: mistachkin tags: trunk
2017-10-17
20:01
Add the 'BindInvariantDecimal' connection flag, enabled by default, which forces Decimal parameters to be converted to strings using the invariant culture. check-in: da44957e76 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Tests/session.eagle.

18
19
20
21
22
23
24
25




26
27
28
29
30
31
32
package require System.Data.SQLite.Test
runSQLiteTestPrologue

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

#
# HACK: When running on Mono, always insert a "-parametertypes" option when
#       calling method overloads that require a Stream.




#
proc useStreamMaybeWithMono { args } {
  if {[isMono]} then {
    set args [linsert $args 1 -parametertypes [list System.IO.Stream]]
  }

  return [uplevel 1 $args]







|
>
>
>
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package require System.Data.SQLite.Test
runSQLiteTestPrologue

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

#
# HACK: When running on Mono, always insert a "-parametertypes" option when
#       calling method overloads that require a Stream, due to their broken
#       (as of 5.0) implementation of the Type.IsAssignableFrom method.
#       Without this option, the Eagle core marshaller will select the wrong
#       method overload, which will cause all tests that use a stream-based
#       method overload to fail.
#
proc useStreamMaybeWithMono { args } {
  if {[isMono]} then {
    set args [linsert $args 1 -parametertypes [list System.IO.Stream]]
  }

  return [uplevel 1 $args]