Lines Matching refs:Fetch
538 suite->addTest( new TC("BQuery::Fetch Test", &QueryTest::FetchTest) );
832 // SetPredicate(), Push*() fail after Fetch()
841 CPPUNIT_ASSERT( query.Fetch() == B_OK );
954 // SetVolume/Target() fail after Fetch()
963 CPPUNIT_ASSERT( query.Fetch() == B_OK );
970 // Fetch() fails without a valid volume set
976 CPPUNIT_ASSERT( query.Fetch() == B_NO_INIT );
992 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1114 // * Clear()/Fetch()
1117 // Fetch()
1122 CPPUNIT_ASSERT( query.Fetch() == B_NO_INIT );
1131 CPPUNIT_ASSERT( query.Fetch() == B_NO_INIT );
1139 CPPUNIT_ASSERT( query.Fetch() == B_NO_INIT );
1150 CPPUNIT_ASSERT( query.Fetch() == B_BAD_VALUE );
1152 // initialized BQuery, Fetch() twice
1161 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1162 CPPUNIT_ASSERT( query.Fetch() == B_NOT_ALLOWED );
1164 // initialized BQuery, successful Fetch(), different predicates
1209 // initialized BQuery, Fetch(), Clear(), Fetch()
1218 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1220 CPPUNIT_ASSERT( query.Fetch() == B_NO_INIT );
1222 // initialized BQuery, Fetch(), Clear(), re-init, Fetch()
1231 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1237 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1250 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1283 CPPUNIT_ASSERT( query.Fetch() == B_OK );
1406 CPPUNIT_ASSERT( query.Fetch() == B_OK );