/ Check-in [16cb00ad]
Login

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

Overview
Comment:Fix typos in test naming (was using 'e' instead of 'f'). (CVS 3655)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 16cb00adeb3b68220ba2567b86b230bbbf2a0330
User & Date: shess 2007-02-23 00:14:06
Context
2007-02-23
03:00
Clarify the documentation on how comparisons occur in an IN operator. Fix the comparison operators when both sides of an IN operator are expressions (ticket #2248). Changes to main.mk for adding FTS2 into the standard build also got mixed in with this check-in by mistake. (CVS 3656) check-in: da81725c user: drh tags: trunk
00:14
Fix typos in test naming (was using 'e' instead of 'f'). (CVS 3655) check-in: 16cb00ad user: shess tags: trunk
2007-02-22
23:06
Make the depth of the pushdown automaton stack generated by lemon changable at compile-time using -DYYSTACKDEPTH=<number>. (CVS 3654) check-in: d8845ac1 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/fts1f.test.

     2      2   #
     3      3   # The author disclaims copyright to this source code.
     4      4   #
     5      5   #*************************************************************************
     6      6   # This file implements regression tests for SQLite library.  The
     7      7   # focus of this script is testing updates in the FTS1 module.
     8      8   #
     9         -# $Id: fts1f.test,v 1.1 2006/10/19 23:28:35 shess Exp $
            9  +# $Id: fts1f.test,v 1.2 2007/02/23 00:14:06 shess Exp $
    10     10   #
    11     11   
    12     12   set testdir [file dirname $argv0]
    13     13   source $testdir/tester.tcl
    14     14   
    15     15   # If SQLITE_ENABLE_FTS1 is defined, omit this file.
    16     16   ifcapable !fts1 {
................................................................................
    59     59     UPDATE t1 SET content = 'update' WHERE rowid = 15;
    60     60   }
    61     61   
    62     62   do_test fts1f-1.1 {
    63     63     execsql {SELECT COUNT(*) FROM t1}
    64     64   } {16}
    65     65   
    66         -do_test fts1e-2.0 {
           66  +do_test fts1f-2.0 {
    67     67     execsql {SELECT rowid FROM t1 WHERE content MATCH 'update'}
    68     68   } {1 8 15}
    69     69   
    70         -do_test fts1e-2.1 {
           70  +do_test fts1f-2.1 {
    71     71     execsql {SELECT rowid FROM t1 WHERE content MATCH 'one'}
    72     72   } {1 3 5 9 11 17 21}
    73     73   
    74         -do_test fts1e-2.2 {
           74  +do_test fts1f-2.2 {
    75     75     execsql {SELECT rowid FROM t1 WHERE content MATCH 'two'}
    76     76   } {2 3 6 8 11 14 18 22}
    77     77   
    78         -do_test fts1e-2.3 {
           78  +do_test fts1f-2.3 {
    79     79     execsql {SELECT rowid FROM t1 WHERE content MATCH 'three'}
    80     80   } {1 5 6 12 14 20 21 22}
    81     81   
    82         -do_test fts1e-2.4 {
           82  +do_test fts1f-2.4 {
    83     83     execsql {SELECT rowid FROM t1 WHERE content MATCH 'four'}
    84     84   } {9 11 12 14}
    85     85   
    86         -do_test fts1e-2.5 {
           86  +do_test fts1f-2.5 {
    87     87     execsql {SELECT rowid FROM t1 WHERE content MATCH 'five'}
    88     88   } {8 17 18 20 21 22}
    89     89   
    90     90   finish_test

Changes to test/fts2f.test.

     2      2   #
     3      3   # The author disclaims copyright to this source code.
     4      4   #
     5      5   #*************************************************************************
     6      6   # This file implements regression tests for SQLite library.  The
     7      7   # focus of this script is testing updates in the FTS2 module.
     8      8   #
     9         -# $Id: fts2f.test,v 1.1 2006/10/19 23:36:26 shess Exp $
            9  +# $Id: fts2f.test,v 1.2 2007/02/23 00:14:06 shess Exp $
    10     10   #
    11     11   
    12     12   set testdir [file dirname $argv0]
    13     13   source $testdir/tester.tcl
    14     14   
    15     15   # If SQLITE_ENABLE_FTS2 is defined, omit this file.
    16     16   ifcapable !fts2 {
................................................................................
    59     59     UPDATE t1 SET content = 'update' WHERE rowid = 15;
    60     60   }
    61     61   
    62     62   do_test fts2f-1.1 {
    63     63     execsql {SELECT COUNT(*) FROM t1}
    64     64   } {16}
    65     65   
    66         -do_test fts2e-2.0 {
           66  +do_test fts2f-2.0 {
    67     67     execsql {SELECT rowid FROM t1 WHERE content MATCH 'update'}
    68     68   } {1 8 15}
    69     69   
    70         -do_test fts2e-2.1 {
           70  +do_test fts2f-2.1 {
    71     71     execsql {SELECT rowid FROM t1 WHERE content MATCH 'one'}
    72     72   } {1 3 5 9 11 17 21}
    73     73   
    74         -do_test fts2e-2.2 {
           74  +do_test fts2f-2.2 {
    75     75     execsql {SELECT rowid FROM t1 WHERE content MATCH 'two'}
    76     76   } {2 3 6 8 11 14 18 22}
    77     77   
    78         -do_test fts2e-2.3 {
           78  +do_test fts2f-2.3 {
    79     79     execsql {SELECT rowid FROM t1 WHERE content MATCH 'three'}
    80     80   } {1 5 6 12 14 20 21 22}
    81     81   
    82         -do_test fts2e-2.4 {
           82  +do_test fts2f-2.4 {
    83     83     execsql {SELECT rowid FROM t1 WHERE content MATCH 'four'}
    84     84   } {9 11 12 14}
    85     85   
    86         -do_test fts2e-2.5 {
           86  +do_test fts2f-2.5 {
    87     87     execsql {SELECT rowid FROM t1 WHERE content MATCH 'five'}
    88     88   } {8 17 18 20 21 22}
    89     89   
    90     90   finish_test