System.Data.SQLite
Check-in [d2e601c947]
Not logged in

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

Overview
Comment:Allow the various binary file delete/copy/load operations to be skipped during the test prologue (for the System.Data.SQLite related binaries).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d2e601c947206c41cf2e411194f369691c1e33ed
User & Date: mistachkin 2011-09-29 04:43:07
Context
2011-09-29
05:53
Replace most uses of the unit test infrastructure procedure 'getBuildFileName' with 'getBinaryFileName' because we almost always want to load assemblies from the application directory, not the build directory. check-in: eac43ed4b4 user: mistachkin tags: trunk
04:45
Add experimental test for ticket [343d392b51] (so far, no exception is raised). check-in: 6c53fbe92c user: mistachkin tags: tkt-343d392b51
04:43
Allow the various binary file delete/copy/load operations to be skipped during the test prologue (for the System.Data.SQLite related binaries). check-in: d2e601c947 user: mistachkin tags: trunk
00:37
Finish converting the unit test infrastructure to a full-fledged Eagle package. Also, update Eagle in externals to the latest beta 18 release candidate. check-in: b8b02007c6 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Tests/common.eagle.

347
348
349
350
351
352
353









354
355
356
357





358
359
360
361





362
363


364
365
366
367
368
369
370
    }
 
    proc runSQLiteTestPrologue {} {
      #
      # NOTE: Skip running our custom prologue if the main one has been skipped.
      #
      if {![info exists ::no(prologue.eagle)]} then {









        tryDeleteAssembly SQLite.Interop.dll
        tryDeleteAssembly System.Data.SQLite.dll
        tryDeleteAssembly System.Data.SQLite.Linq.dll






        tryCopyAssembly SQLite.Interop.dll
        tryCopyAssembly System.Data.SQLite.dll
        tryCopyAssembly System.Data.SQLite.Linq.dll






        tryLoadAssembly System.Data.SQLite.dll
        tryLoadAssembly System.Data.SQLite.Linq.dll



        catch {
          tputs $::test_channel [appendArgs \
              "---- file version of \"SQLite.Interop.dll\"... " \
              [file version [getBinaryFileName SQLite.Interop.dll]] \n]
        }








>
>
>
>
>
>
>
>
>
|
|
|
|
>
>
>
>
>
|
|
|
|
>
>
>
>
>
|
|
>
>







347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
    }
 
    proc runSQLiteTestPrologue {} {
      #
      # NOTE: Skip running our custom prologue if the main one has been skipped.
      #
      if {![info exists ::no(prologue.eagle)]} then {
        #
        # NOTE: Skip all System.Data.SQLite related file handling (deleting,
        #       copying, and loading) if we are so instructed.
        #
        if {![info exists ::no(sqliteFiles)]} then {
          #
          # NOTE: Skip trying to delete any files if we are so instructed.
          #
          if {![info exists ::no(deleteSqliteFiles)]} then {
            tryDeleteAssembly SQLite.Interop.dll
            tryDeleteAssembly System.Data.SQLite.dll
            tryDeleteAssembly System.Data.SQLite.Linq.dll
          }

          #
          # NOTE: Skip trying to copy any files if we are so instructed.
          #
          if {![info exists ::no(copySqliteFiles)]} then {
            tryCopyAssembly SQLite.Interop.dll
            tryCopyAssembly System.Data.SQLite.dll
            tryCopyAssembly System.Data.SQLite.Linq.dll
          }

          #
          # NOTE: Skip trying to load any files if we are so instructed.
          #
          if {![info exists ::no(loadSqliteFiles)]} then {
            tryLoadAssembly System.Data.SQLite.dll
            tryLoadAssembly System.Data.SQLite.Linq.dll
          }
        }

        catch {
          tputs $::test_channel [appendArgs \
              "---- file version of \"SQLite.Interop.dll\"... " \
              [file version [getBinaryFileName SQLite.Interop.dll]] \n]
        }