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

BOOST_FIXTURE_TEST_CASE ( OglImageCacheStoreTest  ,
OglImageCacheStoreFixture   
)

Definition at line 38 of file testOglImageCacheStore.h.

00038                                                                            {
00039     BOOST_REQUIRE(store);
00040 
00041         OGLIMAGE* img = oglSys.OglImage(GL_RGB, 0, 0);
00042     BOOST_CHECK(!store->GetImage(1));
00043     BOOST_REQUIRE(img);
00044     store->Add(img, 1);
00045     BOOST_CHECK_EQUAL(store->GetImage(1), img);
00046 
00047     for(int i=2; i < 100; i++) {
00048         store->Add(oglSys.OglImage(GL_RGB, 0, 0), i);
00049     }
00050     BOOST_CHECK_EQUAL(store->GetImage(1), img);
00051 }


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