Home | History | Annotate | Download | only in orig

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 );
39968 ** Use a testcase() macro to make sure that malloc failure within
39972 testcase( rc!=SQLITE_OK );
40127 testcase( rc==SQLITE_NOMEM );
40657 testcase( !isSavepnt && pPg!=0 && (pPg->flags&PGHDR_NEED_SYNC)!=0 );
40917 testcase( (newSize-szPage) == currentSize );
40918 testcase( (newSize-szPage) > currentSize );
41194 testcase( rc!=SQLITE_OK );
41203 testcase( rc!=SQLITE_OK );
41210 testcase( rc!=SQLITE_OK );
41570 testcase( sqlite3PcachePagecount(pPager->pPCache)==0 );
42929 testcase( rc!=SQLITE_OK );
43490 testcase( rc==SQLITE_NOMEM );
43493 testcase( rc==SQLITE_NOMEM );
43833 testcase( rc==SQLITE_NOMEM );
46250 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
46251 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
46252 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );
46508 testcase( szPage<=32768 );
46509 testcase( szPage>=65536 );
47007 testcase( szPage<=32768 );
47008 testcase( szPage>=65536 );
47073 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL file */
47077 testcase( IS_BIG_INT(iOffset) );
47086 testcase( IS_BIG_INT(szDb) );
47268 testcase( pWal->szPage<=32768 );
47269 testcase( pWal->szPage>=65536 );
47601 testcase( (rc&0xff)==SQLITE_BUSY );
47602 testcase( (rc&0xff)==SQLITE_IOERR );
47603 testcase( rc==SQLITE_PROTOCOL );
47604 testcase( rc==SQLITE_OK );
47728 testcase( sz<=32768 );
47729 testcase( sz>=65536 );
47732 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
47962 testcase( (rc&0xff)==SQLITE_IOERR );
47963 testcase( rc==SQLITE_PROTOCOL );
47964 testcase( rc==SQLITE_OK );
48206 testcase( szPage<=32768 );
48207 testcase( szPage>=65536 );
50286 testcase( nPayload==pPage->maxLocal );
50287 testcase( nPayload==pPage->maxLocal+1 );
50312 testcase( surplus==maxLocal );
50313 testcase( surplus==maxLocal+1 );
50369 testcase( nSize==pPage->maxLocal );
50370 testcase( nSize==pPage->maxLocal+1 );
50374 testcase( nSize==pPage->maxLocal );
50375 testcase( nSize==pPage->maxLocal+1 );
50462 testcase( pc==iCellFirst );
50463 testcase( pc==iCellLast );
50485 testcase( cbrk+size==usableSize );
50486 testcase( pc+size==usableSize );
50539 testcase( gap+2==top );
50540 testcase( gap+1==top );
50541 testcase( gap==top );
50562 testcase( x==4 );
50563 testcase( x==3 );
50585 testcase( gap+2+nByte==top );
50781 testcase( pPage->nCell==MX_CELL(pBt) );
50800 testcase( pc==iCellFirst );
50801 testcase( pc==iCellLast );
50806 testcase( pc+sz==usableSize );
50985 testcase( pgno==0 );
52700 testcase( nPage==0 );
52702 testcase( pBt->nPage!=nPage );
53595 testcase( pCur->aiIdx[pCur->iPage-1] > pCur->apPage[pCur->iPage-1]->nCell );
53941 testcase( pCell+nCell+1==pPage->aDataEnd );
53949 testcase( pCell+nCell+2==pPage->aDataEnd );
54072 testcase( idx>pPage->nCell );
54210 testcase( n==mxPage-1 );
54255 testcase( iTrunk==mxPage );
54320 testcase( iNewTrunk==mxPage );
54370 testcase( iPage==mxPage );
54375 testcase( iPage==mxPage );
54853 testcase( pc==get2byte(&data[hdr+5]) );
54854 testcase( pc+sz==pPage->pBt->usableSize );
58716 testcase( pMem->z==0 );
62586 testcase( szHdr==3 );
62587 testcase( szHdr==m.n );
62595 testcase( typeRowid==1 );
62596 testcase( typeRowid==2 );
62597 testcase( typeRowid==3 );
62598 testcase( typeRowid==4 );
62599 testcase( typeRowid==5 );
62600 testcase( typeRowid==6 );
62601 testcase( typeRowid==8 );
62602 testcase( typeRowid==9 );
62607 testcase( (u32)m.n==szHdr+lenRowid );
62621 testcase( m.zMalloc!=0 );
63320 testcase( nByte<0 );
64171 testcase( zRawSql[0]==':' );
64172 testcase( zRawSql[0]=='$' );
64173 testcase( zRawSql[0]=='@' );
65706 testcase( sqlite3GlobalConfig.xLog!=0 );
65709 testcase( sqlite3GlobalConfig.xLog!=0 );
70900 testcase( u.cp.pName->enc==SQLITE_UTF8 );
70901 testcase( u.cp.pName->enc==SQLITE_UTF16BE );
70902 testcase( u.cp.pName->enc==SQLITE_UTF16LE );
71118 testcase( sqlite3GlobalConfig.xLog!=0 );
73070 testcase( ExprHasProperty(pExpr, EP_TokenOnly) );
73071 testcase( ExprHasProperty(pExpr, EP_Reduced) );
73434 testcase( iCol==31 );
73435 testcase( iCol==32 );
73438 testcase( iCol==31 );
73439 testcase( iCol==32 );
73543 testcase( n==BMS-1 );
73590 testcase( iCol==BMS );
73591 testcase( iCol==BMS-1 );
73696 testcase( pExpr->op==TK_CONST_FUNC );
73751 case TK_EXISTS: testcase( pExpr->op==TK_EXISTS );
73754 testcase( pExpr->op==TK_IN );
74959 testcase( i==0 );
74960 testcase( i==1 );
74961 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER]-1 );
74962 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] );
75476 testcase( pEList && pEList->nExpr==mx );
75477 testcase( pEList && pEList->nExpr==mx+1 );
75533 testcase( pExpr->op==TK_ID );
75534 testcase( pExpr->op==TK_COLUMN );
75535 testcase( pExpr->op==TK_AGG_FUNCTION );
75536 testcase( pExpr->op==TK_AGG_COLUMN );
75540 testcase( pExpr->op==TK_SELECT ); /* selectNodeIsConstant will disallow */
75541 testcase( pExpr->op==TK_EXISTS ); /* selectNodeIsConstant will disallow */
75748 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
75749 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
75935 testcase( pParse->nQueryLoop>(double)1 );
76147 testcase( pExpr->op==TK_EXISTS );
76148 testcase( pExpr->op==TK_SELECT );
76645 ** This routine is used within assert() and testcase() macros only
76785 testcase( to_op==OP_ToText );
76786 testcase( to_op==OP_ToBlob );
76787 testcase( to_op==OP_ToNumeric );
76788 testcase( to_op==OP_ToInt );
76789 testcase( to_op==OP_ToReal );
76795 testcase( usedAsColumnCache(pParse, inReg, inReg) );
76812 testcase( op==TK_LT );
76813 testcase( op==TK_LE );
76814 testcase( op==TK_GT );
76815 testcase( op==TK_GE );
76816 testcase( op==TK_EQ );
76817 testcase( op==TK_NE );
76822 testcase( regFree1==0 );
76823 testcase( regFree2==0 );
76828 testcase( op==TK_IS );
76829 testcase( op==TK_ISNOT );
76835 testcase( regFree1==0 );
76836 testcase( regFree2==0 );
76862 testcase( op==TK_AND );
76863 testcase( op==TK_OR );
76864 testcase( op==TK_PLUS );
76865 testcase( op==TK_MINUS );
76866 testcase( op==TK_REM );
76867 testcase( op==TK_BITAND );
76868 testcase( op==TK_BITOR );
76869 testcase( op==TK_SLASH );
76870 testcase( op==TK_LSHIFT );
76871 testcase( op==TK_RSHIFT );
76872 testcase( op==TK_CONCAT );
76876 testcase( regFree1==0 );
76877 testcase( regFree2==0 );
76895 testcase( regFree2==0 );
76904 testcase( op==TK_BITNOT );
76905 testcase( op==TK_NOT );
76907 testcase( regFree1==0 );
76917 testcase( op==TK_ISNULL );
76918 testcase( op==TK_NOTNULL );
76921 testcase( regFree1==0 );
76950 testcase( op==TK_CONST_FUNC );
76951 testcase( op==TK_FUNCTION );
77037 testcase( op==TK_EXISTS );
77038 testcase( op==TK_SELECT );
77074 testcase( regFree1==0 );
77075 testcase( regFree2==0 );
77084 testcase( regFree2==0 );
77193 testcase( pX->op==TK_COLUMN );
77194 testcase( pX->op==TK_REGISTER );
77196 testcase( regFree1==0 );
77216 testcase( pTest->op==TK_COLUMN );
77218 testcase( aListelem[i+1].pExpr->op==TK_COLUMN );
77219 testcase( aListelem[i+1].pExpr->op==TK_REGISTER );
77637 testcase( p->op==TK_BLOB );
77638 testcase( p->op==TK_VARIABLE );
77639 testcase( p->op==TK_INTEGER );
77640 testcase( p->op==TK_FLOAT );
77641 testcase( p->op==TK_NULL );
77642 testcase( p->op==TK_STRING );
77809 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1==0 );
77810 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1!=0 );
77811 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1==0 );
77812 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1!=0 );
77813 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1==0 );
77814 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1!=0 );
77815 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1==0 );
77816 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1!=0 );
77847 testcase( jumpIfNull==0 );
77856 testcase( jumpIfNull==0 );
77862 testcase( jumpIfNull==0 );
77878 testcase( op==TK_LT );
77879 testcase( op==TK_LE );
77880 testcase( op==TK_GT );
77881 testcase( op==TK_GE );
77882 testcase( op==TK_EQ );
77883 testcase( op==TK_NE );
77884 testcase( jumpIfNull==0 );
77889 testcase( regFree1==0 );
77890 testcase( regFree2==0 );
77895 testcase( op==TK_IS );
77896 testcase( op==TK_ISNOT );
77902 testcase( regFree1==0 );
77903 testcase( regFree2==0 );
77910 testcase( op==TK_ISNULL );
77911 testcase( op==TK_NOTNULL );
77914 testcase( regFree1==0 );
77918 testcase( jumpIfNull==0 );
77935 testcase( regFree1==0 );
77936 testcase( jumpIfNull==0 );
77997 testcase( jumpIfNull==0 );
78004 testcase( jumpIfNull==0 );
78013 testcase( jumpIfNull==0 );
78023 testcase( op==TK_LT );
78024 testcase( op==TK_LE );
78025 testcase( op==TK_GT );
78026 testcase( op==TK_GE );
78027 testcase( op==TK_EQ );
78028 testcase( op==TK_NE );
78029 testcase( jumpIfNull==0 );
78034 testcase( regFree1==0 );
78035 testcase( regFree2==0 );
78040 testcase( pExpr->op==TK_IS );
78041 testcase( pExpr->op==TK_ISNOT );
78047 testcase( regFree1==0 );
78048 testcase( regFree2==0 );
78053 testcase( op==TK_ISNULL );
78054 testcase( op==TK_NOTNULL );
78057 testcase( regFree1==0 );
78061 testcase( jumpIfNull==0 );
78080 testcase( regFree1==0 );
78081 testcase( jumpIfNull==0 );
78208 testcase( pExpr->op==TK_AGG_COLUMN );
78209 testcase( pExpr->op==TK_COLUMN );
81756 testcase( zTabName[0]==0 ); /* Zero-length table names are allowed */
82613 testcase( pCol->affinity==SQLITE_AFF_TEXT );
82614 testcase( pCol->affinity==SQLITE_AFF_NONE );
82615 testcase( pCol->affinity==SQLITE_AFF_NUMERIC );
82616 testcase( pCol->affinity==SQLITE_AFF_INTEGER );
82617 testcase( pCol->affinity==SQLITE_AFF_REAL );
86185 testcase( mask==0 );
86437 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH] );
86438 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
86827 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH] );
86828 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]+1 );
87088 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH] );
87089 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
87156 testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] );
87157 testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] );
94218 testcase( db->flags & SQLITE_ReadUncommitted );
94231 testcase( nBytes==mxLen );
94232 testcase( nBytes==mxLen+1 );
94661 testcase( j==0 || j==1 || j==2 || j==3 || j==4 || j==5 || j==6 );
95136 testcase( eDest==SRT_Table );
95137 testcase( eDest==SRT_EphemTab );
95206 testcase( eDest==SRT_Coroutine );
95207 testcase( eDest==SRT_Output );
95425 testcase( eDest==SRT_Table );
95426 testcase( eDest==SRT_EphemTab );
95450 testcase( eDest==SRT_Output );
95451 testcase( eDest==SRT_Coroutine );
95527 testcase( pExpr->op==TK_AGG_COLUMN );
95528 testcase( pExpr->op==TK_COLUMN );
96157 testcase( rc!=SQLITE_OK );
96181 testcase( p->op==TK_EXCEPT );
96182 testcase( p->op==TK_UNION );
96232 testcase( rc!=SQLITE_OK );
96316 testcase( rc!=SQLITE_OK );
96477 testcase( pDest->eDest==SRT_Table );
96478 testcase( pDest->eDest==SRT_EphemTab );
97322 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
97323 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
97331 testcase( pSub1->pSrc->nSrc>1 );
100882 testcase( i==31 );
100883 testcase( i==32 );
102883 testcase( wtFlags & TERM_VIRTUAL ); /* EV: R-00211-15100 */
103458 testcase( db->mallocFailed );
103544 testcase( pOrTerm->wtFlags & TERM_COPIED );
103545 testcase( pOrTerm->wtFlags & TERM_VIRTUAL );
103561 testcase( j==1 );
103619 testcase( idxNew==0 );
103734 testcase( (prereqLeft | extraRight) != prereqLeft );
103770 testcase( idxNew==0 );
103837 testcase( idxNew1==0 );
103843 testcase( idxNew2==0 );
103876 testcase( idxNew==0 );
104017 testcase( pDistinct->nExpr==BMS-1 );
104568 testcase( iCol==BMS );
104569 testcase( iCol==BMS-1 );
104589 testcase( pTable->nCol==BMS-1 );
104590 testcase( pTable->nCol==BMS-2 );
104700 testcase( pTerm->eOperator==WO_IN );
104701 testcase( pTerm->eOperator==WO_ISNULL );
104751 testcase( pTerm->eOperator==WO_IN );
104752 testcase( pTerm->eOperator==WO_ISNULL );
105565 testcase( pTerm->pWC!=pWC );
105596 testcase( wsFlags & WHERE_COLUMN_IN );
105597 testcase( wsFlags & WHERE_COLUMN_NULL );
105611 testcase( pTop->pWC!=pWC );
105617 testcase( pBtm->pWC!=pWC );
105686 testcase( pFirstTerm->eOperator==WO_EQ );
105687 testcase( pFirstTerm->eOperator==WO_ISNULL );
106142 testcase( (pTerm->wtFlags & TERM_CODED)!=0 );
106143 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106153 testcase( pTerm->eOperator & WO_ISNULL );
106154 testcase( pTerm->eOperator & WO_IN );
106315 testcase( wctrlFlags & WHERE_ORDERBY_MIN );
106444 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106485 testcase( pStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106503 testcase( pEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106647 testcase( pRangeStart && pRangeStart->eOperator & WO_LE );
106648 testcase( pRangeStart && pRangeStart->eOperator & WO_GE );
106649 testcase( pRangeEnd && pRangeEnd->eOperator & WO_LE );
106650 testcase( pRangeEnd && pRangeEnd->eOperator & WO_GE );
106675 testcase( pRangeStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106685 testcase( op==OP_Rewind );
106686 testcase( op==OP_Last );
106687 testcase( op==OP_SeekGt );
106688 testcase( op==OP_SeekGe );
106689 testcase( op==OP_SeekLe );
106690 testcase( op==OP_SeekLt );
106717 testcase( pRangeEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106727 testcase( op==OP_Noop );
106728 testcase( op==OP_IdxGE );
106729 testcase( op==OP_IdxLT );
106740 testcase( pLevel->plan.wsFlags & WHERE_BTM_LIMIT );
106741 testcase( pLevel->plan.wsFlags & WHERE_TOP_LIMIT );
106973 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
106974 testcase( pTerm->wtFlags & TERM_CODED );
106977 testcase( pWInfo->untestedTerms==0
107000 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
107001 testcase( pTerm->wtFlags & TERM_CODED );
107172 testcase( pTabList->nSrc==BMS );
107470 testcase( bestPlan.plan.wsFlags & WHERE_INDEXED );
107471 testcase( bestPlan.plan.wsFlags & WHERE_TEMP_INDEX );
107553 testcase( pTab->nCol==BMS-1 );
107554 testcase( pTab->nCol==BMS );
107624 testcase( pLevel->plan.wsFlags & WHERE_ROWID_EQ );
107625 testcase( pLevel->plan.wsFlags & WHERE_ROWID_RANGE );
107812 ** Make yytestcase() the same as testcase()
107814 #define yytestcase(X) testcase(X)
111468 testcase( i==0 ); /* REINDEX */
111469 testcase( i==1 ); /* INDEXED */
111470 testcase( i==2 ); /* INDEX */
111471 testcase( i==3 ); /* DESC */
111472 testcase( i==4 ); /* ESCAPE */
111473 testcase( i==5 ); /* EACH */
111474 testcase( i==6 ); /* CHECK */
111475 testcase( i==7 ); /* KEY */
111476 testcase( i==8 ); /* BEFORE */
111477 testcase( i==9 ); /* FOREIGN */
111478 testcase( i==10 ); /* FOR */
111479 testcase( i==11 ); /* IGNORE */
111480 testcase( i==12 ); /* REGEXP */
111481 testcase( i==13 ); /* EXPLAIN */
111482 testcase( i==14 ); /* INSTEAD */
111483 testcase( i==15 ); /* ADD */
111484 testcase( i==16 ); /* DATABASE */
111485 testcase( i==17 ); /* AS */
111486 testcase( i==18 ); /* SELECT */
111487 testcase( i==19 ); /* TABLE */
111488 testcase( i==20 ); /* LEFT */
111489 testcase( i==21 ); /* THEN */
111490 testcase( i==22 ); /* END */
111491 testcase( i==23 ); /* DEFERRABLE */
111492 testcase( i==24 ); /* ELSE */
111493 testcase( i==25 ); /* EXCEPT */
111494 testcase( i==26 ); /* TRANSACTION */
111495 testcase( i==27 ); /* ACTION */
111496 testcase( i==28 ); /* ON */
111497 testcase( i==29 ); /* NATURAL */
111498 testcase( i==30 ); /* ALTER */
111499 testcase( i==31 ); /* RAISE */
111500 testcase( i==32 ); /* EXCLUSIVE */
111501 testcase( i==33 ); /* EXISTS */
111502 testcase( i==34 ); /* SAVEPOINT */
111503 testcase( i==35 ); /* INTERSECT */
111504 testcase( i==36 ); /* TRIGGER */
111505 testcase( i==37 ); /* REFERENCES */
111506 testcase( i==38 ); /* CONSTRAINT */
111507 testcase( i==39 ); /* INTO */
111508 testcase( i==40 ); /* OFFSET */
111509 testcase( i==41 ); /* OF */
111510 testcase( i==42 ); /* SET */
111511 testcase( i==43 ); /* TEMPORARY */
111512 testcase( i==44 ); /* TEMP */
111513 testcase( i==45 ); /* OR */
111514 testcase( i==46 ); /* UNIQUE */
111515 testcase( i==47 ); /* QUERY */
111516 testcase( i==48 ); /* ATTACH */
111517 testcase( i==49 ); /* HAVING */
111518 testcase( i==50 ); /* GROUP */
111519 testcase( i==51 ); /* UPDATE */
111520 testcase( i==52 ); /* BEGIN */
111521 testcase( i==53 ); /* INNER */
111522 testcase( i==54 ); /* RELEASE */
111523 testcase( i==55 ); /* BETWEEN */
111524 testcase( i==56 ); /* NOTNULL */
111525 testcase( i==57 ); /* NOT */
111526 testcase( i==58 ); /* NO */
111527 testcase( i==59 ); /* NULL */
111528 testcase( i==60 ); /* LIKE */
111529 testcase( i==61 ); /* CASCADE */
111530 testcase( i==62 ); /* ASC */
111531 testcase( i==63 ); /* DELETE */
111532 testcase( i==64 ); /* CASE */
111533 testcase( i==65 ); /* COLLATE */
111534 testcase( i==66 ); /* CREATE */
111535 testcase( i==67 ); /* CURRENT_DATE */
111536 testcase( i==68 ); /* DETACH */
111537 testcase( i==69 ); /* IMMEDIATE */
111538 testcase( i==70 ); /* JOIN */
111539 testcase( i==71 ); /* INSERT */
111540 testcase( i==72 ); /* MATCH */
111541 testcase( i==73 ); /* PLAN */
111542 testcase( i==74 ); /* ANALYZE */
111543 testcase( i==75 ); /* PRAGMA */
111544 testcase( i==76 ); /* ABORT */
111545 testcase( i==77 ); /* VALUES */
111546 testcase( i==78 ); /* VIRTUAL */
111547 testcase( i==79 ); /* LIMIT */
111548 testcase( i==80 ); /* WHEN */
111549 testcase( i==81 ); /* WHERE */
111550 testcase( i==82 ); /* RENAME */
111551 testcase( i==83 ); /* AFTER */
111552 testcase( i==84 ); /* REPLACE */
111553 testcase( i==85 ); /* AND */
111554 testcase( i==86 ); /* DEFAULT */
111555 testcase( i==87 ); /* AUTOINCREMENT */
111556 testcase( i==88 ); /* TO */
111557 testcase( i==89 ); /* IN */
111558 testcase( i==90 ); /* CAST */
111559 testcase( i==91 ); /* COLUMN */
111560 testcase( i==92 ); /* COMMIT */
111561 testcase( i==93 ); /* CONFLICT */
111562 testcase( i==94 ); /* CROSS */
111563 testcase( i==95 ); /* CURRENT_TIMESTAMP */
111564 testcase( i==96 ); /* CURRENT_TIME */
111565 testcase( i==97 ); /* PRIMARY */
111566 testcase( i==98 ); /* DEFERRED */
111567 testcase( i==99 ); /* DISTINCT */
111568 testcase( i==100 ); /* IS */
111569 testcase( i==101 ); /* DROP */
111570 testcase( i==102 ); /* FAIL */
111571 testcase( i==103 ); /* FROM */
111572 testcase( i==104 ); /* FULL */
111573 testcase( i==105 ); /* GLOB */
111574 testcase( i==106 ); /* BY */
111575 testcase( i==107 ); /* IF */
111576 testcase( i==108 ); /* ISNULL */
111577 testcase( i==109 ); /* ORDER */
111578 testcase( i==110 ); /* RESTRICT */
111579 testcase( i==111 ); /* OUTER */
111580 testcase( i==112 ); /* RIGHT */
111581 testcase( i==113 ); /* ROLLBACK */
111582 testcase( i==114 ); /* ROW */
111583 testcase( i==115 ); /* UNION */
111584 testcase( i==116 ); /* USING */
111585 testcase( i==117 ); /* VACUUM */
111586 testcase( i==118 ); /* VIEW */
111587 testcase( i==119 ); /* INITIALLY */
111588 testcase( i==120 ); /* ALL */
111650 testcase( z[0]==' ' );
111651 testcase( z[0]=='\t' );
111652 testcase( z[0]=='\n' );
111653 testcase( z[0]=='\f' );
111654 testcase( z[0]=='\r' );
111769 testcase( delim=='`' );
111770 testcase( delim=='\'' );
111771 testcase( delim=='"' );
111805 testcase( z[0]=='0' ); testcase( z[0]=='1' ); testcase( z[0]=='2' );
111806 testcase( z[0]=='3' ); testcase( z[0]=='4' ); testcase( z[0]=='5' );
111807 testcase( z[0]=='6' ); testcase( z[0]=='7' ); testcase( z[0]=='8' );
111808 testcase( z[0]=='9' );
111860 testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
111888 testcase( z[0]=='x' ); testcase( z[0]=='X' );
114127 testcase( enc2==SQLITE_UTF16 );
114128 testcase( enc2==SQLITE_UTF16_ALIGNED );
114548 testcase( (1<<(flags&7))==0x02 ); /* READONLY */
114549 testcase( (1<<(flags&7))==0x04 ); /* READWRITE */
114550 testcase( (1<<(flags&7))==0x40 ); /* READWRITE | CREATE */
114965 testcase( sqlite3GlobalConfig.xLog!=0 );
114972 testcase( sqlite3GlobalConfig.xLog!=0 );
114979 testcase( sqlite3GlobalConfig.xLog!=0 );
116491 ** The testcase() macro is only used by the amalgamation. If undefined,
116494 #ifndef testcase
116495 # define testcase(X)
116545 ** within testcase() and assert() macros.
118427 testcase( c!=0 && (*pEnd)==0 );
118467 testcase( c!=0 && ((*pEnd)&0xfe)==0 );
122165 testcase(pCsr->filter.zTerm);