System.Data.SQLite
Check-in [610ef6001f]
Not logged in

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

Overview
Comment:Add several missing test constraints.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | netStandard21
Files: files | file ages | folders
SHA1: 610ef6001f9895e2cd5a5c90e0fba11b9f5c47e3
User & Date: mistachkin 2019-10-10 04:09:02
Context
2019-10-12
20:19
Further test suite refinements. check-in: 09c0313477 user: mistachkin tags: netStandard21
2019-10-10
04:09
Add several missing test constraints. check-in: 610ef6001f user: mistachkin tags: netStandard21
2019-10-09
22:43
Build system and test suite infrastructure enhancements. check-in: fbcfe42e02 user: mistachkin tags: netStandard21
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Tests/basic.eagle.

1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
....
5221
5222
5223
5224
5225
5226
5227

5228
5229
5230
5231
5232
5233
5234
5235
....
5295
5296
5297
5298
5299
5300
5301

5302
5303
5304
5305
5306
5307
5308
5309
....
5369
5370
5371
5372
5373
5374
5375

5376
5377
5378
5379
5380
5381
5382
5383
....
5443
5444
5445
5446
5447
5448
5449

5450
5451
5452
5453
5454
5455
5456
5457

  catch {object removecallback threadStart}

  unset -nocomplain t found i db fileName result directory

  rename threadStart ""
} -constraints {eagle command.object windows monoBug28 command.sql compile.DATA\
SQLite System.Data.SQLite sqlite3_win32_set_directory} -result \
{Ok Ok True True}}

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

runTest {test data-1.38 {serialization of SQLiteException} -body {
  set serializer [object create -alias \
      System.Runtime.Serialization.Formatters.Binary.BinaryFormatter]

................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""

} -constraints {eagle command.object SQLite System.Data.SQLite} -result \
{20000 20000 1}}

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

runTest {test data-1.99 {SQLiteLog initialize (disabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""

} -constraints {eagle command.object SQLite System.Data.SQLite} -result \
{20000 0 0}}

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

runTest {test data-1.100 {SQLiteLog forced initialize (enabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""

} -constraints {eagle command.object SQLite System.Data.SQLite} -result \
{20000 20000 0}}

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

runTest {test data-1.101 {SQLiteLog forced initialize (disabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""

} -constraints {eagle command.object SQLite System.Data.SQLite} -result \
{20000 0 0}}

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

runTest {test data-1.102 {Target Framework Abbreviations} -body {
  set targetFrameworkNames [list \
      null "" bad 1.0 2.0 3.0 X.X \







|
|







 







>
|







 







>
|







 







>
|







 







>
|







1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
....
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
....
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
....
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
....
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461

  catch {object removecallback threadStart}

  unset -nocomplain t found i db fileName result directory

  rename threadStart ""
} -constraints {eagle command.object windows monoBug28 command.sql compile.DATA\
compile.THREADING SQLite System.Data.SQLite sqlite3_win32_set_directory} \
-result {Ok Ok True True}}

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

runTest {test data-1.38 {serialization of SQLiteException} -body {
  set serializer [object create -alias \
      System.Runtime.Serialization.Formatters.Binary.BinaryFormatter]

................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""
} -constraints \
{eagle command.object SQLite System.Data.SQLite compile.THREADING} -result \
{20000 20000 1}}

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

runTest {test data-1.99 {SQLiteLog initialize (disabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""
} -constraints \
{eagle command.object SQLite System.Data.SQLite compile.THREADING} -result \
{20000 0 0}}

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

runTest {test data-1.100 {SQLiteLog forced initialize (enabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""
} -constraints \
{eagle command.object SQLite System.Data.SQLite compile.THREADING} -result \
{20000 20000 0}}

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

runTest {test data-1.101 {SQLiteLog forced initialize (disabled)} -setup {
  #
  # NOTE: Make sure that SQLite core library is completely shutdown prior to
................................................................................
  }

  catch {object removecallback threadStart}

  unset -nocomplain thread i count

  rename threadStart ""
} -constraints \
{eagle command.object SQLite System.Data.SQLite compile.THREADING} -result \
{20000 0 0}}

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

runTest {test data-1.102 {Target Framework Abbreviations} -body {
  set targetFrameworkNames [list \
      null "" bad 1.0 2.0 3.0 X.X \

Changes to Tests/stress.eagle.

1850
1851
1852
1853
1854
1855
1856
1857

1858
1859
1860
1861
1862
1863
1864
  unset -nocomplain result thread index workload priority journalMode \
      pageSize noWorkload priorities srcDb db fileName compiled options \
      count times logFileName logListener event timeout connection \
      indicators iterations exitOnFail coTaskMem noTrace beginTransaction \
      endTransaction errorTransaction failures status workloadNames \
      workloadCallbacks
} -time true -constraints {eagle command.object monoBug40 command.sql\
compile.DATA SQLite System.Data.SQLite compileCSharp} -result {0}}


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

#
# NOTE: Report after test.
#
checkForSQLiteDirectories $test_channel







|
>







1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
  unset -nocomplain result thread index workload priority journalMode \
      pageSize noWorkload priorities srcDb db fileName compiled options \
      count times logFileName logListener event timeout connection \
      indicators iterations exitOnFail coTaskMem noTrace beginTransaction \
      endTransaction errorTransaction failures status workloadNames \
      workloadCallbacks
} -time true -constraints {eagle command.object monoBug40 command.sql\
compile.DATA compile.THREADING SQLite System.Data.SQLite compileCSharp} \
-result {0}}

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

#
# NOTE: Report after test.
#
checkForSQLiteDirectories $test_channel

Changes to Tests/tkt-84718e79fa.eagle.

62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
78
79
  }

  catch {object removecallback threadStart}

  unset -nocomplain results t i c db fileName

  rename threadStart ""
} -constraints {eagle command.object dotNetCoreOrShell monoBug28 command.sql\
compile.DATA SQLite System.Data.SQLite} -result [lrepeat $c 1]}


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

unset -nocomplain c

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

runSQLiteTestEpilogue
runTestEpilogue







|
|
>









62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
  }

  catch {object removecallback threadStart}

  unset -nocomplain results t i c db fileName

  rename threadStart ""
} -constraints {eagle command.object dotNetCoreOrShell monoBug28\
command.sql compile.DATA compile.THREADING SQLite System.Data.SQLite} -result \
[lrepeat $c 1]}

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

unset -nocomplain c

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

runSQLiteTestEpilogue
runTestEpilogue