Definition at line 22 of file testTableDataSourceImageDir.h. References Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetString(), Impala::Application::MediaTable::TableDataSource::GetTotalRows(), and IsValidTableDataSourceTest(). 00022 { 00023 Impala::CmdOptions& options = Impala::CmdOptions::GetInstance(); 00024 if(options.GetString("directory") == "") { 00025 BOOST_TEST_MESSAGE("Test case TableDataSourceImageDirTest is skipped because no directory is given."); 00026 return; 00027 } 00028 00029 TableDataSource* imgsrc = new TableDataSourceImageDir(options.GetString("directory")); 00030 BOOST_REQUIRE(imgsrc); 00031 00032 BOOST_CHECK_GT(imgsrc->GetTotalRows(), 0); 00033 00034 TableDataSourceTests::IsValidTableDataSourceTest(imgsrc); 00035 00036 // TODO: Test ImageDir specific stuff. 00037 }
Here is the call graph for this function:
|