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

BOOST_FIXTURE_TEST_CASE ( TableDataStoreTest  ,
TableDataStoreFixture   
)

Definition at line 51 of file testTableDataStore.h.

References IsValidTableDataViewTest().

00051                                                                    {
00052     BOOST_REQUIRE(src);
00053 
00054     BOOST_REQUIRE(store);
00055 
00056     int mTableDataSourceCount = store->GetTableDataSourceCount();
00057     BOOST_WARN_GT(mTableDataSourceCount, 0);
00058     store->AddTableDataSource("test", src);
00059     BOOST_CHECK_GT(store->GetTableDataSourceCount(), mTableDataSourceCount);
00060 
00061     TableDataView* view = store->GetTableDataView("test", "test");
00062     BOOST_REQUIRE(view);
00063 
00064     TableDataViewTests::IsValidTableDataViewTest(view);
00065     int nrOfRows = view->GetNumberOfRows();
00066 
00067     view->SetNumberOfRows(nrOfRows-1);
00068     BOOST_CHECK_LT(view->GetNumberOfRows(), nrOfRows);
00069 
00070     TableDataView* view2 = store->GetTableDataView("test", "test2");
00071     BOOST_REQUIRE(view2);
00072     BOOST_CHECK_EQUAL(view2->GetNumberOfRows(), nrOfRows);
00073 }

Here is the call graph for this function:


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