Home | History | Annotate | Download | only in dist

Lines Matching refs:testcase

457 ** The testcase() macro is used to aid in coverage testing.  When 
459 ** testcase() must be evaluated both true and false in order to
460 ** get full branch coverage. The testcase() macro is inserted
462 ** condition/decision coverage is inadequate. For example, testcase()
464 ** bitmask tests, testcase() can be used to make sure each bit
466 testcase()
472 # define testcase(X) if( X ){ sqlite3Coverage(__LINE__); }
474 # define testcase(X)
480 ** within testcase() and assert() macros.
530 ** to fit in 32-bits. This macro is used inside of various testcase()
13409 testcase( op==SQLITE_DBSTATUS_LOOKASIDE_HIT );
13410 testcase( op==SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE );
13411 testcase( op==SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL );
14464 testcase( n==sizeof(zBuf)-1 );
14465 testcase( n==sizeof(zBuf) );
14466 testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
14467 testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH] );
15290 testcase( sqlite3GlobalConfig.xLog!=0 );
15303 testcase( sqlite3GlobalConfig.xLog!=0 );
15359 testcase( sqlite3GlobalConfig.xLog!=0 );
15375 testcase( sqlite3GlobalConfig.xLog!=0 );
16948 testcase( sqlite3GlobalConfig.xLog!=0 );
20055 testcase(p->tooBig);
20056 testcase(p->mallocFailed);
21070 ** Routine needed to support the testcase() macro.
21121 testcase( rc );
21486 testcase( c==(-1) );
21487 testcase( c==0 );
21488 testcase( c==(+1) );
21541 testcase( i==18 );
21542 testcase( i==19 );
21543 testcase( i==20 );
21600 testcase( i==10 );
21604 testcase( v-neg==2147483647 );
22111 testcase( sqlite3GlobalConfig.xLog!=0 );
22125 testcase( sqlite3GlobalConfig.xLog!=0 );
22141 testcase( iA==0 ); testcase( iA==1 );
22142 testcase( iB==-1 ); testcase( iB==0 );
22144 testcase( iA>0 && LARGEST_INT64 - iA == iB );
22145 testcase( iA>0 && LARGEST_INT64 - iA == iB - 1 );
22149 testcase( iA<0 && -(iA + LARGEST_INT64) == iB + 1 );
22150 testcase( iA<0 && -(iA + LARGEST_INT64) == iB + 2 );
22157 testcase( iB==SMALLEST_INT64+1 );
22159 testcase( (*pA)==(-1) ); testcase( (*pA)==0 );
22180 testcase( r==(-TWOPOWER31)-1 );
22181 testcase( r==(-TWOPOWER31) );
22182 testcase( r==TWOPOWER31 );
22183 testcase( r==TWOPOWER31-1 );
39996 ** Use a testcase() macro to make sure that malloc failure within
40000 testcase( rc!=SQLITE_OK );
40155 testcase( rc==SQLITE_NOMEM );
40685 testcase( !isSavepnt && pPg!=0 && (pPg->flags&PGHDR_NEED_SYNC)!=0 );
40945 testcase( (newSize-szPage) == currentSize );
40946 testcase( (newSize-szPage) > currentSize );
41222 testcase( rc!=SQLITE_OK );
41231 testcase( rc!=SQLITE_OK );
41238 testcase( rc!=SQLITE_OK );
41598 testcase( sqlite3PcachePagecount(pPager->pPCache)==0 );
42957 testcase( rc!=SQLITE_OK );
43518 testcase( rc==SQLITE_NOMEM );
43521 testcase( rc==SQLITE_NOMEM );
43861 testcase( rc==SQLITE_NOMEM );
46278 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
46279 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
46280 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );
46536 testcase( szPage<=32768 );
46537 testcase( szPage>=65536 );
47035 testcase( szPage<=32768 );
47036 testcase( szPage>=65536 );
47101 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL file */
47105 testcase( IS_BIG_INT(iOffset) );
47114 testcase( IS_BIG_INT(szDb) );
47296 testcase( pWal->szPage<=32768 );
47297 testcase( pWal->szPage>=65536 );
47629 testcase( (rc&0xff)==SQLITE_BUSY );
47630 testcase( (rc&0xff)==SQLITE_IOERR );
47631 testcase( rc==SQLITE_PROTOCOL );
47632 testcase( rc==SQLITE_OK );
47756 testcase( sz<=32768 );
47757 testcase( sz>=65536 );
47760 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
47990 testcase( (rc&0xff)==SQLITE_IOERR );
47991 testcase( rc==SQLITE_PROTOCOL );
47992 testcase( rc==SQLITE_OK );
48234 testcase( szPage<=32768 );
48235 testcase( szPage>=65536 );
50314 testcase( nPayload==pPage->maxLocal );
50315 testcase( nPayload==pPage->maxLocal+1 );
50340 testcase( surplus==maxLocal );
50341 testcase( surplus==maxLocal+1 );
50397 testcase( nSize==pPage->maxLocal );
50398 testcase( nSize==pPage->maxLocal+1 );
50402 testcase( nSize==pPage->maxLocal );
50403 testcase( nSize==pPage->maxLocal+1 );
50490 testcase( pc==iCellFirst );
50491 testcase( pc==iCellLast );
50513 testcase( cbrk+size==usableSize );
50514 testcase( pc+size==usableSize );
50567 testcase( gap+2==top );
50568 testcase( gap+1==top );
50569 testcase( gap==top );
50590 testcase( x==4 );
50591 testcase( x==3 );
50613 testcase( gap+2+nByte==top );
50809 testcase( pPage->nCell==MX_CELL(pBt) );
50828 testcase( pc==iCellFirst );
50829 testcase( pc==iCellLast );
50834 testcase( pc+sz==usableSize );
51013 testcase( pgno==0 );
52728 testcase( nPage==0 );
52730 testcase( pBt->nPage!=nPage );
53623 testcase( pCur->aiIdx[pCur->iPage-1] > pCur->apPage[pCur->iPage-1]->nCell );
53969 testcase( pCell+nCell+1==pPage->aDataEnd );
53977 testcase( pCell+nCell+2==pPage->aDataEnd );
54100 testcase( idx>pPage->nCell );
54238 testcase( n==mxPage-1 );
54283 testcase( iTrunk==mxPage );
54348 testcase( iNewTrunk==mxPage );
54398 testcase( iPage==mxPage );
54403 testcase( iPage==mxPage );
54881 testcase( pc==get2byte(&data[hdr+5]) );
54882 testcase( pc+sz==pPage->pBt->usableSize );
58744 testcase( pMem->z==0 );
62614 testcase( szHdr==3 );
62615 testcase( szHdr==m.n );
62623 testcase( typeRowid==1 );
62624 testcase( typeRowid==2 );
62625 testcase( typeRowid==3 );
62626 testcase( typeRowid==4 );
62627 testcase( typeRowid==5 );
62628 testcase( typeRowid==6 );
62629 testcase( typeRowid==8 );
62630 testcase( typeRowid==9 );
62635 testcase( (u32)m.n==szHdr+lenRowid );
62649 testcase( m.zMalloc!=0 );
63348 testcase( nByte<0 );
64199 testcase( zRawSql[0]==':' );
64200 testcase( zRawSql[0]=='$' );
64201 testcase( zRawSql[0]=='@' );
65734 testcase( sqlite3GlobalConfig.xLog!=0 );
65737 testcase( sqlite3GlobalConfig.xLog!=0 );
70928 testcase( u.cp.pName->enc==SQLITE_UTF8 );
70929 testcase( u.cp.pName->enc==SQLITE_UTF16BE );
70930 testcase( u.cp.pName->enc==SQLITE_UTF16LE );
71146 testcase( sqlite3GlobalConfig.xLog!=0 );
73106 testcase( ExprHasProperty(pExpr, EP_TokenOnly) );
73107 testcase( ExprHasProperty(pExpr, EP_Reduced) );
73470 testcase( iCol==31 );
73471 testcase( iCol==32 );
73474 testcase( iCol==31 );
73475 testcase( iCol==32 );
73579 testcase( n==BMS-1 );
73626 testcase( iCol==BMS );
73627 testcase( iCol==BMS-1 );
73732 testcase( pExpr->op==TK_CONST_FUNC );
73787 case TK_EXISTS: testcase( pExpr->op==TK_EXISTS );
73790 testcase( pExpr->op==TK_IN );
74995 testcase( i==0 );
74996 testcase( i==1 );
74997 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER]-1 );
74998 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] );
75512 testcase( pEList && pEList->nExpr==mx );
75513 testcase( pEList && pEList->nExpr==mx+1 );
75569 testcase( pExpr->op==TK_ID );
75570 testcase( pExpr->op==TK_COLUMN );
75571 testcase( pExpr->op==TK_AGG_FUNCTION );
75572 testcase( pExpr->op==TK_AGG_COLUMN );
75576 testcase( pExpr->op==TK_SELECT ); /* selectNodeIsConstant will disallow */
75577 testcase( pExpr->op==TK_EXISTS ); /* selectNodeIsConstant will disallow */
75784 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
75785 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
75971 testcase( pParse->nQueryLoop>(double)1 );
76183 testcase( pExpr->op==TK_EXISTS );
76184 testcase( pExpr->op==TK_SELECT );
76681 ** This routine is used within assert() and testcase() macros only
76821 testcase( to_op==OP_ToText );
76822 testcase( to_op==OP_ToBlob );
76823 testcase( to_op==OP_ToNumeric );
76824 testcase( to_op==OP_ToInt );
76825 testcase( to_op==OP_ToReal );
76831 testcase( usedAsColumnCache(pParse, inReg, inReg) );
76848 testcase( op==TK_LT );
76849 testcase( op==TK_LE );
76850 testcase( op==TK_GT );
76851 testcase( op==TK_GE );
76852 testcase( op==TK_EQ );
76853 testcase( op==TK_NE );
76858 testcase( regFree1==0 );
76859 testcase( regFree2==0 );
76864 testcase( op==TK_IS );
76865 testcase( op==TK_ISNOT );
76871 testcase( regFree1==0 );
76872 testcase( regFree2==0 );
76898 testcase( op==TK_AND );
76899 testcase( op==TK_OR );
76900 testcase( op==TK_PLUS );
76901 testcase( op==TK_MINUS );
76902 testcase( op==TK_REM );
76903 testcase( op==TK_BITAND );
76904 testcase( op==TK_BITOR );
76905 testcase( op==TK_SLASH );
76906 testcase( op==TK_LSHIFT );
76907 testcase( op==TK_RSHIFT );
76908 testcase( op==TK_CONCAT );
76912 testcase( regFree1==0 );
76913 testcase( regFree2==0 );
76931 testcase( regFree2==0 );
76940 testcase( op==TK_BITNOT );
76941 testcase( op==TK_NOT );
76943 testcase( regFree1==0 );
76953 testcase( op==TK_ISNULL );
76954 testcase( op==TK_NOTNULL );
76957 testcase( regFree1==0 );
76986 testcase( op==TK_CONST_FUNC );
76987 testcase( op==TK_FUNCTION );
77073 testcase( op==TK_EXISTS );
77074 testcase( op==TK_SELECT );
77110 testcase( regFree1==0 );
77111 testcase( regFree2==0 );
77120 testcase( regFree2==0 );
77229 testcase( pX->op==TK_COLUMN );
77230 testcase( pX->op==TK_REGISTER );
77232 testcase( regFree1==0 );
77252 testcase( pTest->op==TK_COLUMN );
77254 testcase( aListelem[i+1].pExpr->op==TK_COLUMN );
77255 testcase( aListelem[i+1].pExpr->op==TK_REGISTER );
77673 testcase( p->op==TK_BLOB );
77674 testcase( p->op==TK_VARIABLE );
77675 testcase( p->op==TK_INTEGER );
77676 testcase( p->op==TK_FLOAT );
77677 testcase( p->op==TK_NULL );
77678 testcase( p->op==TK_STRING );
77845 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1==0 );
77846 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1!=0 );
77847 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1==0 );
77848 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1!=0 );
77849 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1==0 );
77850 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1!=0 );
77851 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1==0 );
77852 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1!=0 );
77883 testcase( jumpIfNull==0 );
77892 testcase( jumpIfNull==0 );
77898 testcase( jumpIfNull==0 );
77914 testcase( op==TK_LT );
77915 testcase( op==TK_LE );
77916 testcase( op==TK_GT );
77917 testcase( op==TK_GE );
77918 testcase( op==TK_EQ );
77919 testcase( op==TK_NE );
77920 testcase( jumpIfNull==0 );
77925 testcase( regFree1==0 );
77926 testcase( regFree2==0 );
77931 testcase( op==TK_IS );
77932 testcase( op==TK_ISNOT );
77938 testcase( regFree1==0 );
77939 testcase( regFree2==0 );
77946 testcase( op==TK_ISNULL );
77947 testcase( op==TK_NOTNULL );
77950 testcase( regFree1==0 );
77954 testcase( jumpIfNull==0 );
77971 testcase( regFree1==0 );
77972 testcase( jumpIfNull==0 );
78033 testcase( jumpIfNull==0 );
78040 testcase( jumpIfNull==0 );
78049 testcase( jumpIfNull==0 );
78059 testcase( op==TK_LT );
78060 testcase( op==TK_LE );
78061 testcase( op==TK_GT );
78062 testcase( op==TK_GE );
78063 testcase( op==TK_EQ );
78064 testcase( op==TK_NE );
78065 testcase( jumpIfNull==0 );
78070 testcase( regFree1==0 );
78071 testcase( regFree2==0 );
78076 testcase( pExpr->op==TK_IS );
78077 testcase( pExpr->op==TK_ISNOT );
78083 testcase( regFree1==0 );
78084 testcase( regFree2==0 );
78089 testcase( op==TK_ISNULL );
78090 testcase( op==TK_NOTNULL );
78093 testcase( regFree1==0 );
78097 testcase( jumpIfNull==0 );
78116 testcase( regFree1==0 );
78117 testcase( jumpIfNull==0 );
78244 testcase( pExpr->op==TK_AGG_COLUMN );
78245 testcase( pExpr->op==TK_COLUMN );
81792 testcase( zTabName[0]==0 ); /* Zero-length table names are allowed */
82649 testcase( pCol->affinity==SQLITE_AFF_TEXT );
82650 testcase( pCol->affinity==SQLITE_AFF_NONE );
82651 testcase( pCol->affinity==SQLITE_AFF_NUMERIC );
82652 testcase( pCol->affinity==SQLITE_AFF_INTEGER );
82653 testcase( pCol->affinity==SQLITE_AFF_REAL );
86221 testcase( mask==0 );
86473 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH] );
86474 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
86863 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH] );
86864 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]+1 );
87124 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH] );
87125 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
87192 testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] );
87193 testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] );
94254 testcase( db->flags & SQLITE_ReadUncommitted );
94267 testcase( nBytes==mxLen );
94268 testcase( nBytes==mxLen+1 );
94697 testcase( j==0 || j==1 || j==2 || j==3 || j==4 || j==5 || j==6 );
95172 testcase( eDest==SRT_Table );
95173 testcase( eDest==SRT_EphemTab );
95242 testcase( eDest==SRT_Coroutine );
95243 testcase( eDest==SRT_Output );
95461 testcase( eDest==SRT_Table );
95462 testcase( eDest==SRT_EphemTab );
95486 testcase( eDest==SRT_Output );
95487 testcase( eDest==SRT_Coroutine );
95563 testcase( pExpr->op==TK_AGG_COLUMN );
95564 testcase( pExpr->op==TK_COLUMN );
96193 testcase( rc!=SQLITE_OK );
96217 testcase( p->op==TK_EXCEPT );
96218 testcase( p->op==TK_UNION );
96268 testcase( rc!=SQLITE_OK );
96352 testcase( rc!=SQLITE_OK );
96513 testcase( pDest->eDest==SRT_Table );
96514 testcase( pDest->eDest==SRT_EphemTab );
97358 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
97359 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
97367 testcase( pSub1->pSrc->nSrc>1 );
100918 testcase( i==31 );
100919 testcase( i==32 );
102919 testcase( wtFlags & TERM_VIRTUAL ); /* EV: R-00211-15100 */
103494 testcase( db->mallocFailed );
103580 testcase( pOrTerm->wtFlags & TERM_COPIED );
103581 testcase( pOrTerm->wtFlags & TERM_VIRTUAL );
103597 testcase( j==1 );
103655 testcase( idxNew==0 );
103770 testcase( (prereqLeft | extraRight) != prereqLeft );
103806 testcase( idxNew==0 );
103873 testcase( idxNew1==0 );
103879 testcase( idxNew2==0 );
103912 testcase( idxNew==0 );
104053 testcase( pDistinct->nExpr==BMS-1 );
104604 testcase( iCol==BMS );
104605 testcase( iCol==BMS-1 );
104625 testcase( pTable->nCol==BMS-1 );
104626 testcase( pTable->nCol==BMS-2 );
104736 testcase( pTerm->eOperator==WO_IN );
104737 testcase( pTerm->eOperator==WO_ISNULL );
104787 testcase( pTerm->eOperator==WO_IN );
104788 testcase( pTerm->eOperator==WO_ISNULL );
105601 testcase( pTerm->pWC!=pWC );
105632 testcase( wsFlags & WHERE_COLUMN_IN );
105633 testcase( wsFlags & WHERE_COLUMN_NULL );
105647 testcase( pTop->pWC!=pWC );
105653 testcase( pBtm->pWC!=pWC );
105722 testcase( pFirstTerm->eOperator==WO_EQ );
105723 testcase( pFirstTerm->eOperator==WO_ISNULL );
106178 testcase( (pTerm->wtFlags & TERM_CODED)!=0 );
106179 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106189 testcase( pTerm->eOperator & WO_ISNULL );
106190 testcase( pTerm->eOperator & WO_IN );
106351 testcase( wctrlFlags & WHERE_ORDERBY_MIN );
106480 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106521 testcase( pStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106539 testcase( pEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106683 testcase( pRangeStart && pRangeStart->eOperator & WO_LE );
106684 testcase( pRangeStart && pRangeStart->eOperator & WO_GE );
106685 testcase( pRangeEnd && pRangeEnd->eOperator & WO_LE );
106686 testcase( pRangeEnd && pRangeEnd->eOperator & WO_GE );
106711 testcase( pRangeStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106721 testcase( op==OP_Rewind );
106722 testcase( op==OP_Last );
106723 testcase( op==OP_SeekGt );
106724 testcase( op==OP_SeekGe );
106725 testcase( op==OP_SeekLe );
106726 testcase( op==OP_SeekLt );
106753 testcase( pRangeEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106763 testcase( op==OP_Noop );
106764 testcase( op==OP_IdxGE );
106765 testcase( op==OP_IdxLT );
106776 testcase( pLevel->plan.wsFlags & WHERE_BTM_LIMIT );
106777 testcase( pLevel->plan.wsFlags & WHERE_TOP_LIMIT );
107009 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
107010 testcase( pTerm->wtFlags & TERM_CODED );
107013 testcase( pWInfo->untestedTerms==0
107036 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
107037 testcase( pTerm->wtFlags & TERM_CODED );
107208 testcase( pTabList->nSrc==BMS );
107506 testcase( bestPlan.plan.wsFlags & WHERE_INDEXED );
107507 testcase( bestPlan.plan.wsFlags & WHERE_TEMP_INDEX );
107589 testcase( pTab->nCol==BMS-1 );
107590 testcase( pTab->nCol==BMS );
107660 testcase( pLevel->plan.wsFlags & WHERE_ROWID_EQ );
107661 testcase( pLevel->plan.wsFlags & WHERE_ROWID_RANGE );
107848 ** Make yytestcase() the same as testcase()
107850 #define yytestcase(X) testcase(X)
111504 testcase( i==0 ); /* REINDEX */
111505 testcase( i==1 ); /* INDEXED */
111506 testcase( i==2 ); /* INDEX */
111507 testcase( i==3 ); /* DESC */
111508 testcase( i==4 ); /* ESCAPE */
111509 testcase( i==5 ); /* EACH */
111510 testcase( i==6 ); /* CHECK */
111511 testcase( i==7 ); /* KEY */
111512 testcase( i==8 ); /* BEFORE */
111513 testcase( i==9 ); /* FOREIGN */
111514 testcase( i==10 ); /* FOR */
111515 testcase( i==11 ); /* IGNORE */
111516 testcase( i==12 ); /* REGEXP */
111517 testcase( i==13 ); /* EXPLAIN */
111518 testcase( i==14 ); /* INSTEAD */
111519 testcase( i==15 ); /* ADD */
111520 testcase( i==16 ); /* DATABASE */
111521 testcase( i==17 ); /* AS */
111522 testcase( i==18 ); /* SELECT */
111523 testcase( i==19 ); /* TABLE */
111524 testcase( i==20 ); /* LEFT */
111525 testcase( i==21 ); /* THEN */
111526 testcase( i==22 ); /* END */
111527 testcase( i==23 ); /* DEFERRABLE */
111528 testcase( i==24 ); /* ELSE */
111529 testcase( i==25 ); /* EXCEPT */
111530 testcase( i==26 ); /* TRANSACTION */
111531 testcase( i==27 ); /* ACTION */
111532 testcase( i==28 ); /* ON */
111533 testcase( i==29 ); /* NATURAL */
111534 testcase( i==30 ); /* ALTER */
111535 testcase( i==31 ); /* RAISE */
111536 testcase( i==32 ); /* EXCLUSIVE */
111537 testcase( i==33 ); /* EXISTS */
111538 testcase( i==34 ); /* SAVEPOINT */
111539 testcase( i==35 ); /* INTERSECT */
111540 testcase( i==36 ); /* TRIGGER */
111541 testcase( i==37 ); /* REFERENCES */
111542 testcase( i==38 ); /* CONSTRAINT */
111543 testcase( i==39 ); /* INTO */
111544 testcase( i==40 ); /* OFFSET */
111545 testcase( i==41 ); /* OF */
111546 testcase( i==42 ); /* SET */
111547 testcase( i==43 ); /* TEMPORARY */
111548 testcase( i==44 ); /* TEMP */
111549 testcase( i==45 ); /* OR */
111550 testcase( i==46 ); /* UNIQUE */
111551 testcase( i==47 ); /* QUERY */
111552 testcase( i==48 ); /* ATTACH */
111553 testcase( i==49 ); /* HAVING */
111554 testcase( i==50 ); /* GROUP */
111555 testcase( i==51 ); /* UPDATE */
111556 testcase( i==52 ); /* BEGIN */
111557 testcase( i==53 ); /* INNER */
111558 testcase( i==54 ); /* RELEASE */
111559 testcase( i==55 ); /* BETWEEN */
111560 testcase( i==56 ); /* NOTNULL */
111561 testcase( i==57 ); /* NOT */
111562 testcase( i==58 ); /* NO */
111563 testcase( i==59 ); /* NULL */
111564 testcase( i==60 ); /* LIKE */
111565 testcase( i==61 ); /* CASCADE */
111566 testcase( i==62 ); /* ASC */
111567 testcase( i==63 ); /* DELETE */
111568 testcase( i==64 ); /* CASE */
111569 testcase( i==65 ); /* COLLATE */
111570 testcase( i==66 ); /* CREATE */
111571 testcase( i==67 ); /* CURRENT_DATE */
111572 testcase( i==68 ); /* DETACH */
111573 testcase( i==69 ); /* IMMEDIATE */
111574 testcase( i==70 ); /* JOIN */
111575 testcase( i==71 ); /* INSERT */
111576 testcase( i==72 ); /* MATCH */
111577 testcase( i==73 ); /* PLAN */
111578 testcase( i==74 ); /* ANALYZE */
111579 testcase( i==75 ); /* PRAGMA */
111580 testcase( i==76 ); /* ABORT */
111581 testcase( i==77 ); /* VALUES */
111582 testcase( i==78 ); /* VIRTUAL */
111583 testcase( i==79 ); /* LIMIT */
111584 testcase( i==80 ); /* WHEN */
111585 testcase( i==81 ); /* WHERE */
111586 testcase( i==82 ); /* RENAME */
111587 testcase( i==83 ); /* AFTER */
111588 testcase( i==84 ); /* REPLACE */
111589 testcase( i==85 ); /* AND */
111590 testcase( i==86 ); /* DEFAULT */
111591 testcase( i==87 ); /* AUTOINCREMENT */
111592 testcase( i==88 ); /* TO */
111593 testcase( i==89 ); /* IN */
111594 testcase( i==90 ); /* CAST */
111595 testcase( i==91 ); /* COLUMN */
111596 testcase( i==92 ); /* COMMIT */
111597 testcase( i==93 ); /* CONFLICT */
111598 testcase( i==94 ); /* CROSS */
111599 testcase( i==95 ); /* CURRENT_TIMESTAMP */
111600 testcase( i==96 ); /* CURRENT_TIME */
111601 testcase( i==97 ); /* PRIMARY */
111602 testcase( i==98 ); /* DEFERRED */
111603 testcase( i==99 ); /* DISTINCT */
111604 testcase( i==100 ); /* IS */
111605 testcase( i==101 ); /* DROP */
111606 testcase( i==102 ); /* FAIL */
111607 testcase( i==103 ); /* FROM */
111608 testcase( i==104 ); /* FULL */
111609 testcase( i==105 ); /* GLOB */
111610 testcase( i==106 ); /* BY */
111611 testcase( i==107 ); /* IF */
111612 testcase( i==108 ); /* ISNULL */
111613 testcase( i==109 ); /* ORDER */
111614 testcase( i==110 ); /* RESTRICT */
111615 testcase( i==111 ); /* OUTER */
111616 testcase( i==112 ); /* RIGHT */
111617 testcase( i==113 ); /* ROLLBACK */
111618 testcase( i==114 ); /* ROW */
111619 testcase( i==115 ); /* UNION */
111620 testcase( i==116 ); /* USING */
111621 testcase( i==117 ); /* VACUUM */
111622 testcase( i==118 ); /* VIEW */
111623 testcase( i==119 ); /* INITIALLY */
111624 testcase( i==120 ); /* ALL */
111686 testcase( z[0]==' ' );
111687 testcase( z[0]=='\t' );
111688 testcase( z[0]=='\n' );
111689 testcase( z[0]=='\f' );
111690 testcase( z[0]=='\r' );
111805 testcase( delim=='`' );
111806 testcase( delim=='\'' );
111807 testcase( delim=='"' );
111841 testcase( z[0]=='0' ); testcase( z[0]=='1' ); testcase( z[0]=='2' );
111842 testcase( z[0]=='3' ); testcase( z[0]=='4' ); testcase( z[0]=='5' );
111843 testcase( z[0]=='6' ); testcase( z[0]=='7' ); testcase( z[0]=='8' );
111844 testcase( z[0]=='9' );
111896 testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
111924 testcase( z[0]=='x' ); testcase( z[0]=='X' );
114163 testcase( enc2==SQLITE_UTF16 );
114164 testcase( enc2==SQLITE_UTF16_ALIGNED );
114584 testcase( (1<<(flags&7))==0x02 ); /* READONLY */
114585 testcase( (1<<(flags&7))==0x04 ); /* READWRITE */
114586 testcase( (1<<(flags&7))==0x40 ); /* READWRITE | CREATE */
115001 testcase( sqlite3GlobalConfig.xLog!=0 );
115008 testcase( sqlite3GlobalConfig.xLog!=0 );
115015 testcase( sqlite3GlobalConfig.xLog!=0 );
116527 ** The testcase() macro is only used by the amalgamation. If undefined,
116530 #ifndef testcase
116531 # define testcase(X)
116581 ** within testcase() and assert() macros.
118463 testcase( c!=0 && (*pEnd)==0 );
118503 testcase( c!=0 && ((*pEnd)&0xfe)==0 );
122211 testcase(pCsr->filter.zTerm);