Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

BOOST_FIXTURE_TEST_CASE ( NulCountTest  ,
ImageLoaderFixture   
)

Definition at line 58 of file testImageLoader.h.

00058                                                           {
00059         int nulCount;
00060     for(int i=0; i < 1000; i++) {
00061                 OGLIMAGE* img = mImageLoader->GetOglImageById(i);
00062                 if(img->w == 0) nulCount ++;
00063                 mImageLoader->WaitUntilDone();
00064                 BOOST_CHECK_EQUAL(img->w, i);
00065     }
00066 #ifdef USE_BOOST_THREADPOOL
00067         BOOST_CHECK_GT(nulCount, 0);
00068 #else
00069         BOOST_CHECK_EQUAL(nulCount, 0);
00070 #endif
00071 }


Generated on Fri Mar 19 09:38:33 2010 for ImpalaSrc by  doxygen 1.5.1