System.Data.SQLite

Check-in [0388466597]
Login

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

Overview
Comment:Simplify test suite changes from check-in [cdd3330990].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 038846659781f8bcbd530c315eff8ca29a19a1dd
User & Date: mistachkin 2019-10-05 02:15:15.225
Context
2019-10-05
03:01
Move test suite SecurityProtocol handling into the vendor script and make it more robust. check-in: f68d495bea user: mistachkin tags: trunk
02:15
Simplify test suite changes from check-in [cdd3330990]. check-in: 0388466597 user: mistachkin tags: trunk
02:12
Pickup the SQLite core library 3.30.0 docs from upstream. check-in: 914417fc18 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/session.eagle.
1346
1347
1348
1349
1350
1351
1352


1353
1354
1355
1356
1357
1358
1359
1360
###############################################################################

runTest {test session-1.9 {apply change set (remote stream)} -setup {
  setupDb [set fileName session-1.9.db]

  cleanupSomeText



  if {[isNetFx40]} then {
    object invoke System.Net.ServicePointManager SecurityProtocol \
        {Ssl3 Tls Tls12 Tls11}
  }
} -body {
  createTheSchema $db main

  set connection [getDbConnection]







>
>
|







1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
###############################################################################

runTest {test session-1.9 {apply change set (remote stream)} -setup {
  setupDb [set fileName session-1.9.db]

  cleanupSomeText

  if {[info exists ::eagle_platform(frameworkVersion)] && \
      [package vcompare $::eagle_platform(frameworkVersion) \
          4.0.30319.42000] >= 0} then {
    object invoke System.Net.ServicePointManager SecurityProtocol \
        {Ssl3 Tls Tls12 Tls11}
  }
} -body {
  createTheSchema $db main

  set connection [getDbConnection]
Changes to lib/System.Data.SQLite/common.eagle.
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
namespace eval ::Eagle {
  if {[isEagle]} then {
    ###########################################################################
    ############################ BEGIN Eagle ONLY #############################
    ###########################################################################

    proc isNetFx40 {} {
      if {![info exists ::eagle_platform(frameworkVersion)]} then {
        return false
      }

      set version 4.0.30319.42000; # .NET Framework 4.0 RTM

      if {[package vcompare \
          $::eagle_platform(frameworkVersion) $version] >= 0} then {
        return true
      } else {
        return false
      }
    }

    proc getSQLiteDefineConstantPrefix {} {
      #
      # NOTE: See if the define constant prefix setting has been overridden
      #       by the user (e.g. on the command line).
      #
      if {[info exists ::define_constant_prefix] && \
          [string length $::define_constant_prefix] > 0} then {







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







14
15
16
17
18
19
20















21
22
23
24
25
26
27
#
namespace eval ::Eagle {
  if {[isEagle]} then {
    ###########################################################################
    ############################ BEGIN Eagle ONLY #############################
    ###########################################################################
















    proc getSQLiteDefineConstantPrefix {} {
      #
      # NOTE: See if the define constant prefix setting has been overridden
      #       by the user (e.g. on the command line).
      #
      if {[info exists ::define_constant_prefix] && \
          [string length $::define_constant_prefix] > 0} then {