/ Check-in [c4436a93]
Login

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

Overview
Comment:Move session1.test from test/ to ext/session/.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sessions
Files: files | file ages | folders
SHA1: c4436a936ab302aec3b7f41a4552f69ad5815744
User & Date: dan 2011-03-19 17:07:58
Context
2011-03-19
18:46
Fix a bug in changeset generation code. check-in: 825df75b user: dan tags: sessions
17:07
Move session1.test from test/ to ext/session/. check-in: c4436a93 user: dan tags: sessions
16:26
Fix a problem with resizing a hash table in sqlite3session.c. check-in: 6e5907e1 user: dan tags: sessions
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Name change from test/session1.test to ext/session/session1.test.

7
8
9
10
11
12
13

14


15

16
17
18
19
20
21
22
23
#    May you find forgiveness for yourself and forgive others.
#    May you share freely, never taking more than you give.
#
#***********************************************************************
# This file implements regression tests for SQLite library.
#


set testdir [file dirname $argv0]


source $testdir/tester.tcl

set ::testprefix session1

proc do_changeset_test {tn session res} {
  set r [list]
  foreach x $res {lappend r $x}
  uplevel do_test $tn [list [subst -nocommands {
    set x [list]
    sqlite3session_foreach c [$session changeset] { lappend x [set c] }







>
|
>
>

>
|







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#    May you find forgiveness for yourself and forgive others.
#    May you share freely, never taking more than you give.
#
#***********************************************************************
# This file implements regression tests for SQLite library.
#

if {![info exists testdir]} {
  set testdir [file join [file dirname [info script]] .. .. test]
} 
source [file join [file dirname [info script]] session_common.tcl]
source $testdir/tester.tcl

set testprefix session1

proc do_changeset_test {tn session res} {
  set r [list]
  foreach x $res {lappend r $x}
  uplevel do_test $tn [list [subst -nocommands {
    set x [list]
    sqlite3session_foreach c [$session changeset] { lappend x [set c] }