System.Data.SQLite

Check-in [b1f8b8d63a]
Login

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

Overview
Comment:Update test 'data-1.2' to make it consistent with test 'data-1.3'.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | netStandard21
Files: files | file ages | folders
SHA1: b1f8b8d63ac9308c32ce4f46bfd0333703cdd754
User & Date: mistachkin 2019-10-09 03:09:00.128
Context
2019-10-09
03:38
Adjust expected results for test 'tkt-c010fa6584-1.1' to account for floating point differences between runtimes. check-in: 8748c7e73a user: mistachkin tags: netStandard21
03:09
Update test 'data-1.2' to make it consistent with test 'data-1.3'. check-in: b1f8b8d63a user: mistachkin tags: netStandard21
03:05
Update EntityFramework in externals to the 6.3.0 release, which adds support for .NET Core. check-in: ceefd1b047 user: mistachkin tags: netStandard21
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/basic.eagle.
66
67
68
69
70
71
72

73

74
75
76
77
78
79
80
  copySampleDatabaseFiles

  #
  # NOTE: We need to make 100% sure that the console output encoding is the
  #       same as when the 'testlinq.out' file was created.
  #
  set savedEncoding [object invoke Console OutputEncoding]

  set encoding [object invoke System.Text.Encoding GetEncoding Windows-1252]


  object invoke Console OutputEncoding $encoding
} -body {
  set output ""

  set code [catch {
    testClrExec $testLinqExeFile [list -eventflags Wait -directory \







>
|
>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  copySampleDatabaseFiles

  #
  # NOTE: We need to make 100% sure that the console output encoding is the
  #       same as when the 'testlinq.out' file was created.
  #
  set savedEncoding [object invoke Console OutputEncoding]

  set encoding [object invoke System.Text.Encoding GetEncoding \
      [expr {[isDotNetCore] ? "iso-8859-1" : "Windows-1252"}]]

  object invoke Console OutputEncoding $encoding
} -body {
  set output ""

  set code [catch {
    testClrExec $testLinqExeFile [list -eventflags Wait -directory \
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
  catch {object invoke Console OutputEncoding $savedEncoding}
  catch {info previouspid true}

  unset -nocomplain code output error savedEncoding encoding
} -constraints \
{eagle command.object monoToDo SQLite file_System.Data.SQLite.dll\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db\
file_testlinq.out testExec !dotNetCore} -result {0 True {}}}

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

runTest {test data-1.3 {unit tests from the 'testef6' project} -setup {
  copySampleDatabaseFiles

  #







|







93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
  catch {object invoke Console OutputEncoding $savedEncoding}
  catch {info previouspid true}

  unset -nocomplain code output error savedEncoding encoding
} -constraints \
{eagle command.object monoToDo SQLite file_System.Data.SQLite.dll\
file_System.Data.SQLite.Linq.dll file_testlinq.exe file_northwindEF.db\
file_testlinq.out testExec} -result {0 True {}}}

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

runTest {test data-1.3 {unit tests from the 'testef6' project} -setup {
  copySampleDatabaseFiles

  #