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 );
39979 ** Use a testcase() macro to make sure that malloc failure within
39983 testcase( rc!=SQLITE_OK );
40138 testcase( rc==SQLITE_NOMEM );
40668 testcase( !isSavepnt && pPg!=0 && (pPg->flags&PGHDR_NEED_SYNC)!=0 );
40928 testcase( (newSize-szPage) == currentSize );
40929 testcase( (newSize-szPage) > currentSize );
41205 testcase( rc!=SQLITE_OK );
41214 testcase( rc!=SQLITE_OK );
41221 testcase( rc!=SQLITE_OK );
41581 testcase( sqlite3PcachePagecount(pPager->pPCache)==0 );
42940 testcase( rc!=SQLITE_OK );
43501 testcase( rc==SQLITE_NOMEM );
43504 testcase( rc==SQLITE_NOMEM );
43844 testcase( rc==SQLITE_NOMEM );
46261 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
46262 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
46263 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );
46519 testcase( szPage<=32768 );
46520 testcase( szPage>=65536 );
47018 testcase( szPage<=32768 );
47019 testcase( szPage>=65536 );
47084 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL file */
47088 testcase( IS_BIG_INT(iOffset) );
47097 testcase( IS_BIG_INT(szDb) );
47279 testcase( pWal->szPage<=32768 );
47280 testcase( pWal->szPage>=65536 );
47612 testcase( (rc&0xff)==SQLITE_BUSY );
47613 testcase( (rc&0xff)==SQLITE_IOERR );
47614 testcase( rc==SQLITE_PROTOCOL );
47615 testcase( rc==SQLITE_OK );
47739 testcase( sz<=32768 );
47740 testcase( sz>=65536 );
47743 /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
47973 testcase( (rc&0xff)==SQLITE_IOERR );
47974 testcase( rc==SQLITE_PROTOCOL );
47975 testcase( rc==SQLITE_OK );
48217 testcase( szPage<=32768 );
48218 testcase( szPage>=65536 );
50297 testcase( nPayload==pPage->maxLocal );
50298 testcase( nPayload==pPage->maxLocal+1 );
50323 testcase( surplus==maxLocal );
50324 testcase( surplus==maxLocal+1 );
50380 testcase( nSize==pPage->maxLocal );
50381 testcase( nSize==pPage->maxLocal+1 );
50385 testcase( nSize==pPage->maxLocal );
50386 testcase( nSize==pPage->maxLocal+1 );
50473 testcase( pc==iCellFirst );
50474 testcase( pc==iCellLast );
50496 testcase( cbrk+size==usableSize );
50497 testcase( pc+size==usableSize );
50550 testcase( gap+2==top );
50551 testcase( gap+1==top );
50552 testcase( gap==top );
50573 testcase( x==4 );
50574 testcase( x==3 );
50596 testcase( gap+2+nByte==top );
50792 testcase( pPage->nCell==MX_CELL(pBt) );
50811 testcase( pc==iCellFirst );
50812 testcase( pc==iCellLast );
50817 testcase( pc+sz==usableSize );
50996 testcase( pgno==0 );
52711 testcase( nPage==0 );
52713 testcase( pBt->nPage!=nPage );
53606 testcase( pCur->aiIdx[pCur->iPage-1] > pCur->apPage[pCur->iPage-1]->nCell );
53952 testcase( pCell+nCell+1==pPage->aDataEnd );
53960 testcase( pCell+nCell+2==pPage->aDataEnd );
54083 testcase( idx>pPage->nCell );
54221 testcase( n==mxPage-1 );
54266 testcase( iTrunk==mxPage );
54331 testcase( iNewTrunk==mxPage );
54381 testcase( iPage==mxPage );
54386 testcase( iPage==mxPage );
54864 testcase( pc==get2byte(&data[hdr+5]) );
54865 testcase( pc+sz==pPage->pBt->usableSize );
58727 testcase( pMem->z==0 );
62597 testcase( szHdr==3 );
62598 testcase( szHdr==m.n );
62606 testcase( typeRowid==1 );
62607 testcase( typeRowid==2 );
62608 testcase( typeRowid==3 );
62609 testcase( typeRowid==4 );
62610 testcase( typeRowid==5 );
62611 testcase( typeRowid==6 );
62612 testcase( typeRowid==8 );
62613 testcase( typeRowid==9 );
62618 testcase( (u32)m.n==szHdr+lenRowid );
62632 testcase( m.zMalloc!=0 );
63331 testcase( nByte<0 );
64182 testcase( zRawSql[0]==':' );
64183 testcase( zRawSql[0]=='$' );
64184 testcase( zRawSql[0]=='@' );
65717 testcase( sqlite3GlobalConfig.xLog!=0 );
65720 testcase( sqlite3GlobalConfig.xLog!=0 );
70911 testcase( u.cp.pName->enc==SQLITE_UTF8 );
70912 testcase( u.cp.pName->enc==SQLITE_UTF16BE );
70913 testcase( u.cp.pName->enc==SQLITE_UTF16LE );
71129 testcase( sqlite3GlobalConfig.xLog!=0 );
73081 testcase( ExprHasProperty(pExpr, EP_TokenOnly) );
73082 testcase( ExprHasProperty(pExpr, EP_Reduced) );
73445 testcase( iCol==31 );
73446 testcase( iCol==32 );
73449 testcase( iCol==31 );
73450 testcase( iCol==32 );
73554 testcase( n==BMS-1 );
73601 testcase( iCol==BMS );
73602 testcase( iCol==BMS-1 );
73707 testcase( pExpr->op==TK_CONST_FUNC );
73762 case TK_EXISTS: testcase( pExpr->op==TK_EXISTS );
73765 testcase( pExpr->op==TK_IN );
74970 testcase( i==0 );
74971 testcase( i==1 );
74972 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER]-1 );
74973 testcase( i==db->aLimit[SQLITE_LIMIT_VARIABLE_NUMBER] );
75487 testcase( pEList && pEList->nExpr==mx );
75488 testcase( pEList && pEList->nExpr==mx+1 );
75544 testcase( pExpr->op==TK_ID );
75545 testcase( pExpr->op==TK_COLUMN );
75546 testcase( pExpr->op==TK_AGG_FUNCTION );
75547 testcase( pExpr->op==TK_AGG_COLUMN );
75551 testcase( pExpr->op==TK_SELECT ); /* selectNodeIsConstant will disallow */
75552 testcase( pExpr->op==TK_EXISTS ); /* selectNodeIsConstant will disallow */
75759 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
75760 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
75946 testcase( pParse->nQueryLoop>(double)1 );
76158 testcase( pExpr->op==TK_EXISTS );
76159 testcase( pExpr->op==TK_SELECT );
76656 ** This routine is used within assert() and testcase() macros only
76796 testcase( to_op==OP_ToText );
76797 testcase( to_op==OP_ToBlob );
76798 testcase( to_op==OP_ToNumeric );
76799 testcase( to_op==OP_ToInt );
76800 testcase( to_op==OP_ToReal );
76806 testcase( usedAsColumnCache(pParse, inReg, inReg) );
76823 testcase( op==TK_LT );
76824 testcase( op==TK_LE );
76825 testcase( op==TK_GT );
76826 testcase( op==TK_GE );
76827 testcase( op==TK_EQ );
76828 testcase( op==TK_NE );
76833 testcase( regFree1==0 );
76834 testcase( regFree2==0 );
76839 testcase( op==TK_IS );
76840 testcase( op==TK_ISNOT );
76846 testcase( regFree1==0 );
76847 testcase( regFree2==0 );
76873 testcase( op==TK_AND );
76874 testcase( op==TK_OR );
76875 testcase( op==TK_PLUS );
76876 testcase( op==TK_MINUS );
76877 testcase( op==TK_REM );
76878 testcase( op==TK_BITAND );
76879 testcase( op==TK_BITOR );
76880 testcase( op==TK_SLASH );
76881 testcase( op==TK_LSHIFT );
76882 testcase( op==TK_RSHIFT );
76883 testcase( op==TK_CONCAT );
76887 testcase( regFree1==0 );
76888 testcase( regFree2==0 );
76906 testcase( regFree2==0 );
76915 testcase( op==TK_BITNOT );
76916 testcase( op==TK_NOT );
76918 testcase( regFree1==0 );
76928 testcase( op==TK_ISNULL );
76929 testcase( op==TK_NOTNULL );
76932 testcase( regFree1==0 );
76961 testcase( op==TK_CONST_FUNC );
76962 testcase( op==TK_FUNCTION );
77048 testcase( op==TK_EXISTS );
77049 testcase( op==TK_SELECT );
77085 testcase( regFree1==0 );
77086 testcase( regFree2==0 );
77095 testcase( regFree2==0 );
77204 testcase( pX->op==TK_COLUMN );
77205 testcase( pX->op==TK_REGISTER );
77207 testcase( regFree1==0 );
77227 testcase( pTest->op==TK_COLUMN );
77229 testcase( aListelem[i+1].pExpr->op==TK_COLUMN );
77230 testcase( aListelem[i+1].pExpr->op==TK_REGISTER );
77648 testcase( p->op==TK_BLOB );
77649 testcase( p->op==TK_VARIABLE );
77650 testcase( p->op==TK_INTEGER );
77651 testcase( p->op==TK_FLOAT );
77652 testcase( p->op==TK_NULL );
77653 testcase( p->op==TK_STRING );
77820 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1==0 );
77821 testcase( jumpIfTrue==0 && jumpIfNull==0 && regFree1!=0 );
77822 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1==0 );
77823 testcase( jumpIfTrue==0 && jumpIfNull!=0 && regFree1!=0 );
77824 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1==0 );
77825 testcase( jumpIfTrue!=0 && jumpIfNull==0 && regFree1!=0 );
77826 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1==0 );
77827 testcase( jumpIfTrue!=0 && jumpIfNull!=0 && regFree1!=0 );
77858 testcase( jumpIfNull==0 );
77867 testcase( jumpIfNull==0 );
77873 testcase( jumpIfNull==0 );
77889 testcase( op==TK_LT );
77890 testcase( op==TK_LE );
77891 testcase( op==TK_GT );
77892 testcase( op==TK_GE );
77893 testcase( op==TK_EQ );
77894 testcase( op==TK_NE );
77895 testcase( jumpIfNull==0 );
77900 testcase( regFree1==0 );
77901 testcase( regFree2==0 );
77906 testcase( op==TK_IS );
77907 testcase( op==TK_ISNOT );
77913 testcase( regFree1==0 );
77914 testcase( regFree2==0 );
77921 testcase( op==TK_ISNULL );
77922 testcase( op==TK_NOTNULL );
77925 testcase( regFree1==0 );
77929 testcase( jumpIfNull==0 );
77946 testcase( regFree1==0 );
77947 testcase( jumpIfNull==0 );
78008 testcase( jumpIfNull==0 );
78015 testcase( jumpIfNull==0 );
78024 testcase( jumpIfNull==0 );
78034 testcase( op==TK_LT );
78035 testcase( op==TK_LE );
78036 testcase( op==TK_GT );
78037 testcase( op==TK_GE );
78038 testcase( op==TK_EQ );
78039 testcase( op==TK_NE );
78040 testcase( jumpIfNull==0 );
78045 testcase( regFree1==0 );
78046 testcase( regFree2==0 );
78051 testcase( pExpr->op==TK_IS );
78052 testcase( pExpr->op==TK_ISNOT );
78058 testcase( regFree1==0 );
78059 testcase( regFree2==0 );
78064 testcase( op==TK_ISNULL );
78065 testcase( op==TK_NOTNULL );
78068 testcase( regFree1==0 );
78072 testcase( jumpIfNull==0 );
78091 testcase( regFree1==0 );
78092 testcase( jumpIfNull==0 );
78219 testcase( pExpr->op==TK_AGG_COLUMN );
78220 testcase( pExpr->op==TK_COLUMN );
81767 testcase( zTabName[0]==0 ); /* Zero-length table names are allowed */
82624 testcase( pCol->affinity==SQLITE_AFF_TEXT );
82625 testcase( pCol->affinity==SQLITE_AFF_NONE );
82626 testcase( pCol->affinity==SQLITE_AFF_NUMERIC );
82627 testcase( pCol->affinity==SQLITE_AFF_INTEGER );
82628 testcase( pCol->affinity==SQLITE_AFF_REAL );
86196 testcase( mask==0 );
86448 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH] );
86449 testcase( nByte==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
86838 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH] );
86839 testcase( nPat==db->aLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]+1 );
87099 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH] );
87100 testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH]+1 );
87167 testcase( nOut-1==db->aLimit[SQLITE_LIMIT_LENGTH] );
87168 testcase( nOut-2==db->aLimit[SQLITE_LIMIT_LENGTH] );
94229 testcase( db->flags & SQLITE_ReadUncommitted );
94242 testcase( nBytes==mxLen );
94243 testcase( nBytes==mxLen+1 );
94672 testcase( j==0 || j==1 || j==2 || j==3 || j==4 || j==5 || j==6 );
95147 testcase( eDest==SRT_Table );
95148 testcase( eDest==SRT_EphemTab );
95217 testcase( eDest==SRT_Coroutine );
95218 testcase( eDest==SRT_Output );
95436 testcase( eDest==SRT_Table );
95437 testcase( eDest==SRT_EphemTab );
95461 testcase( eDest==SRT_Output );
95462 testcase( eDest==SRT_Coroutine );
95538 testcase( pExpr->op==TK_AGG_COLUMN );
95539 testcase( pExpr->op==TK_COLUMN );
96168 testcase( rc!=SQLITE_OK );
96192 testcase( p->op==TK_EXCEPT );
96193 testcase( p->op==TK_UNION );
96243 testcase( rc!=SQLITE_OK );
96327 testcase( rc!=SQLITE_OK );
96488 testcase( pDest->eDest==SRT_Table );
96489 testcase( pDest->eDest==SRT_EphemTab );
97333 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
97334 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
97342 testcase( pSub1->pSrc->nSrc>1 );
100893 testcase( i==31 );
100894 testcase( i==32 );
102894 testcase( wtFlags & TERM_VIRTUAL ); /* EV: R-00211-15100 */
103469 testcase( db->mallocFailed );
103555 testcase( pOrTerm->wtFlags & TERM_COPIED );
103556 testcase( pOrTerm->wtFlags & TERM_VIRTUAL );
103572 testcase( j==1 );
103630 testcase( idxNew==0 );
103745 testcase( (prereqLeft | extraRight) != prereqLeft );
103781 testcase( idxNew==0 );
103848 testcase( idxNew1==0 );
103854 testcase( idxNew2==0 );
103887 testcase( idxNew==0 );
104028 testcase( pDistinct->nExpr==BMS-1 );
104579 testcase( iCol==BMS );
104580 testcase( iCol==BMS-1 );
104600 testcase( pTable->nCol==BMS-1 );
104601 testcase( pTable->nCol==BMS-2 );
104711 testcase( pTerm->eOperator==WO_IN );
104712 testcase( pTerm->eOperator==WO_ISNULL );
104762 testcase( pTerm->eOperator==WO_IN );
104763 testcase( pTerm->eOperator==WO_ISNULL );
105576 testcase( pTerm->pWC!=pWC );
105607 testcase( wsFlags & WHERE_COLUMN_IN );
105608 testcase( wsFlags & WHERE_COLUMN_NULL );
105622 testcase( pTop->pWC!=pWC );
105628 testcase( pBtm->pWC!=pWC );
105697 testcase( pFirstTerm->eOperator==WO_EQ );
105698 testcase( pFirstTerm->eOperator==WO_ISNULL );
106153 testcase( (pTerm->wtFlags & TERM_CODED)!=0 );
106154 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106164 testcase( pTerm->eOperator & WO_ISNULL );
106165 testcase( pTerm->eOperator & WO_IN );
106326 testcase( wctrlFlags & WHERE_ORDERBY_MIN );
106455 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106496 testcase( pStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106514 testcase( pEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106658 testcase
106659 testcase( pRangeStart && pRangeStart->eOperator & WO_GE );
106660 testcase( pRangeEnd && pRangeEnd->eOperator & WO_LE );
106661 testcase( pRangeEnd && pRangeEnd->eOperator & WO_GE );
106686 testcase( pRangeStart->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106696 testcase( op==OP_Rewind );
106697 testcase( op==OP_Last );
106698 testcase( op==OP_SeekGt );
106699 testcase( op==OP_SeekGe );
106700 testcase( op==OP_SeekLe );
106701 testcase( op==OP_SeekLt );
106728 testcase( pRangeEnd->wtFlags & TERM_VIRTUAL ); /* EV: R-30575-11662 */
106738 testcase( op==OP_Noop );
106739 testcase( op==OP_IdxGE );
106740 testcase( op==OP_IdxLT );
106751 testcase( pLevel->plan.wsFlags & WHERE_BTM_LIMIT );
106752 testcase( pLevel->plan.wsFlags & WHERE_TOP_LIMIT );
106984 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
106985 testcase( pTerm->wtFlags & TERM_CODED );
106988 testcase( pWInfo->untestedTerms==0
107011 testcase( pTerm->wtFlags & TERM_VIRTUAL ); /* IMP: R-30575-11662 */
107012 testcase( pTerm->wtFlags & TERM_CODED );
107183 testcase( pTabList->nSrc==BMS );
107481 testcase( bestPlan.plan.wsFlags & WHERE_INDEXED );
107482 testcase( bestPlan.plan.wsFlags & WHERE_TEMP_INDEX );
107564 testcase( pTab->nCol==BMS-1 );
107565 testcase( pTab->nCol==BMS );
107635 testcase( pLevel->plan.wsFlags & WHERE_ROWID_EQ );
107636 testcase( pLevel->plan.wsFlags & WHERE_ROWID_RANGE );
107823 ** Make yytestcase() the same as testcase()
107825 #define yytestcase(X) testcase(X)
111479 testcase( i==0 ); /* REINDEX */
111480 testcase( i==1 ); /* INDEXED */
111481 testcase( i==2 ); /* INDEX */
111482 testcase( i==3 ); /* DESC */
111483 testcase( i==4 ); /* ESCAPE */
111484 testcase( i==5 ); /* EACH */
111485 testcase( i==6 ); /* CHECK */
111486 testcase( i==7 ); /* KEY */
111487 testcase( i==8 ); /* BEFORE */
111488 testcase( i==9 ); /* FOREIGN */
111489 testcase( i==10 ); /* FOR */
111490 testcase( i==11 ); /* IGNORE */
111491 testcase( i==12 ); /* REGEXP */
111492 testcase( i==13 ); /* EXPLAIN */
111493 testcase( i==14 ); /* INSTEAD */
111494 testcase( i==15 ); /* ADD */
111495 testcase( i==16 ); /* DATABASE */
111496 testcase( i==17 ); /* AS */
111497 testcase( i==18 ); /* SELECT */
111498 testcase( i==19 ); /* TABLE */
111499 testcase( i==20 ); /* LEFT */
111500 testcase( i==21 ); /* THEN */
111501 testcase( i==22 ); /* END */
111502 testcase( i==23 ); /* DEFERRABLE */
111503 testcase( i==24 ); /* ELSE */
111504 testcase( i==25 ); /* EXCEPT */
111505 testcase( i==26 ); /* TRANSACTION */
111506 testcase( i==27 ); /* ACTION */
111507 testcase( i==28 ); /* ON */
111508 testcase( i==29 ); /* NATURAL */
111509 testcase( i==30 ); /* ALTER */
111510 testcase( i==31 ); /* RAISE */
111511 testcase( i==32 ); /* EXCLUSIVE */
111512 testcase( i==33 ); /* EXISTS */
111513 testcase( i==34 ); /* SAVEPOINT */
111514 testcase( i==35 ); /* INTERSECT */
111515 testcase( i==36 ); /* TRIGGER */
111516 testcase( i==37 ); /* REFERENCES */
111517 testcase( i==38 ); /* CONSTRAINT */
111518 testcase( i==39 ); /* INTO */
111519 testcase( i==40 ); /* OFFSET */
111520 testcase( i==41 ); /* OF */
111521 testcase( i==42 ); /* SET */
111522 testcase( i==43 ); /* TEMPORARY */
111523 testcase( i==44 ); /* TEMP */
111524 testcase( i==45 ); /* OR */
111525 testcase( i==46 ); /* UNIQUE */
111526 testcase( i==47 ); /* QUERY */
111527 testcase( i==48 ); /* ATTACH */
111528 testcase( i==49 ); /* HAVING */
111529 testcase( i==50 ); /* GROUP */
111530 testcase( i==51 ); /* UPDATE */
111531 testcase( i==52 ); /* BEGIN */
111532 testcase( i==53 ); /* INNER */
111533 testcase( i==54 ); /* RELEASE */
111534 testcase( i==55 ); /* BETWEEN */
111535 testcase( i==56 ); /* NOTNULL */
111536 testcase( i==57 ); /* NOT */
111537 testcase( i==58 ); /* NO */
111538 testcase( i==59 ); /* NULL */
111539 testcase( i==60 ); /* LIKE */
111540 testcase( i==61 ); /* CASCADE */
111541 testcase( i==62 ); /* ASC */
111542 testcase( i==63 ); /* DELETE */
111543 testcase( i==64 ); /* CASE */
111544 testcase( i==65 ); /* COLLATE */
111545 testcase( i==66 ); /* CREATE */
111546 testcase( i==67 ); /* CURRENT_DATE */
111547 testcase( i==68 ); /* DETACH */
111548 testcase( i==69 ); /* IMMEDIATE */
111549 testcase( i==70 ); /* JOIN */
111550 testcase( i==71 ); /* INSERT */
111551 testcase( i==72 ); /* MATCH */
111552 testcase( i==73 ); /* PLAN */
111553 testcase( i==74 ); /* ANALYZE */
111554 testcase( i==75 ); /* PRAGMA */
111555 testcase( i==76 ); /* ABORT */
111556 testcase( i==77 ); /* VALUES */
111557 testcase( i==78 ); /* VIRTUAL */
111558 testcase( i==79 ); /* LIMIT */
111559 testcase( i==80 ); /* WHEN */
111560 testcase( i==81 ); /* WHERE */
111561 testcase( i==82 ); /* RENAME */
111562 testcase( i==83 ); /* AFTER */
111563 testcase( i==84 ); /* REPLACE */
111564 testcase( i==85 ); /* AND */
111565 testcase( i==86 ); /* DEFAULT */
111566 testcase( i==87 ); /* AUTOINCREMENT */
111567 testcase( i==88 ); /* TO */
111568 testcase( i==89 ); /* IN */
111569 testcase( i==90 ); /* CAST */
111570 testcase( i==91 ); /* COLUMN */
111571 testcase( i==92 ); /* COMMIT */
111572 testcase( i==93 ); /* CONFLICT */
111573 testcase( i==94 ); /* CROSS */
111574 testcase( i==95 ); /* CURRENT_TIMESTAMP */
111575 testcase( i==96 ); /* CURRENT_TIME */
111576 testcase( i==97 ); /* PRIMARY */
111577 testcase( i==98 ); /* DEFERRED */
111578 testcase( i==99 ); /* DISTINCT */
111579 testcase( i==100 ); /* IS */
111580 testcase( i==101 ); /* DROP */
111581 testcase( i==102 ); /* FAIL */
111582 testcase( i==103 ); /* FROM */
111583 testcase( i==104 ); /* FULL */
111584 testcase( i==105 ); /* GLOB */
111585 testcase( i==106 ); /* BY */
111586 testcase( i==107 ); /* IF */
111587 testcase( i==108 ); /* ISNULL */
111588 testcase( i==109 ); /* ORDER */
111589 testcase( i==110 ); /* RESTRICT */
111590 testcase( i==111 ); /* OUTER */
111591 testcase( i==112 ); /* RIGHT */
111592 testcase( i==113 ); /* ROLLBACK */
111593 testcase( i==114 ); /* ROW */
111594 testcase( i==115 ); /* UNION */
111595 testcase( i==116 ); /* USING */
111596 testcase( i==117 ); /* VACUUM */
111597 testcase( i==118 ); /* VIEW */
111598 testcase( i==119 ); /* INITIALLY */
111599 testcase( i==120 ); /* ALL */
111661 testcase( z[0]==' ' );
111662 testcase( z[0]=='\t' );
111663 testcase( z[0]=='\n' );
111664 testcase( z[0]=='\f' );
111665 testcase( z[0]=='\r' );
111780 testcase( delim=='`' );
111781 testcase( delim=='\'' );
111782 testcase( delim=='"' );
111816 testcase( z[0]=='0' ); testcase( z[0]=='1' ); testcase( z[0]=='2' );
111817 testcase( z[0]=='3' ); testcase( z[0]=='4' ); testcase( z[0]=='5' );
111818 testcase( z[0]=='6' ); testcase( z[0]=='7' ); testcase( z[0]=='8' );
111819 testcase( z[0]=='9' );
111871 testcase( z[0]=='$' ); testcase( z[0]=='@' ); testcase( z[0]==':' );
111899 testcase( z[0]=='x' ); testcase( z[0]=='X' );
114138 testcase( enc2==SQLITE_UTF16 );
114139 testcase( enc2==SQLITE_UTF16_ALIGNED );
114559 testcase( (1<<(flags&7))==0x02 ); /* READONLY */
114560 testcase( (1<<(flags&7))==0x04 ); /* READWRITE */
114561 testcase( (1<<(flags&7))==0x40 ); /* READWRITE | CREATE */
114991 testcase( sqlite3GlobalConfig.xLog!=0 );
114998 testcase( sqlite3GlobalConfig.xLog!=0 );
115005 testcase( sqlite3GlobalConfig.xLog!=0 );
116517 ** The testcase() macro is only used by the amalgamation. If undefined,
116520 #ifndef testcase
116521 # define testcase(X)
116571 ** within testcase() and assert() macros.
118453 testcase( c!=0 && (*pEnd)==0 );
118493 testcase( c!=0 && ((*pEnd)&0xfe)==0 );
122194 testcase(pCsr->filter.zTerm);