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

void IsValidTableDataSourceTest ( TableDataSource src  ) 

Definition at line 86 of file testTableDataSource.h.

References Impala::Application::MediaTable::TableDataSource::GetColumns(), and Impala::Application::MediaTable::TableDataSource::GetTotalRows().

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().

00086                                                       {
00087     BOOST_REQUIRE(src);
00088     BOOST_CHECK_GT(src->GetTotalRows(), 0);
00089 
00090     BOOST_CHECK_EQUAL(src->GetColumns(false, false).size(), 0);
00091     BOOST_WARN_GT(src->GetColumns(true, false).size(), 0);
00092     BOOST_WARN_GT (src->GetColumns(true, true).size(), 0);
00093     BOOST_CHECK_GE(src->GetColumns(true, true).size(), src->GetColumns(true, false).size());
00094 }

Here is the call graph for this function:


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