libmoost
/home/mhx/git/github/libmoost/test/kvds/kvds.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/lexical_cast.hpp>
#include <stdexcept>
#include <set>
#include <boost/cstdint.hpp>
#include "../../include/moost/testing/test_directory_creator.hpp"
#include "../../include/moost/utils/foreach.hpp"
#include "../../include/moost/kvds.hpp"
#include "testdata.h"
Include dependency graph for kvds.cpp:

Go to the source code of this file.

Classes

struct  Fixture
class  KvdsTester< kvdsT >

Functions

 BOOST_FIXTURE_TEST_CASE (test_kvds_bbt, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_bht, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_nonintrinsic_key, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_intrinsic_key, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_shared_nonintrinsic_key, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_shared_intrinsic_key, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_tch, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_kch, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_mem_map, Fixture)
template<typename kvdsT >
void TestSaveLoad (kvdsT &kvds, std::string const &sPath, bool saveTest, unsigned int const maxcnt)
template<typename kvdsT >
void TestSaveLoad (std::string const &sPath, bool saveTest)
 BOOST_FIXTURE_TEST_CASE (test_kvds_bbt_save, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_bbt_close_load, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_bht_save, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_bht_close_load, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_save_intrinsic_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_close_load_intrinsic_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_save_nonintrinsic_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_close_load_nonintrinsic_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_save_intrinsic_shared_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_close_load_intrinsic_shared_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_save_nonintrinsic_shared_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_page_store_close_load_nonintrinsic_shared_pagemap, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_tch_save, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_tch_close_load, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_kch_save, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_kch_close_load, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_mem_map_save, Fixture)
 BOOST_FIXTURE_TEST_CASE (test_kvds_mem_map_close_load, Fixture)

Function Documentation

BOOST_FIXTURE_TEST_CASE ( test_kvds_bbt  ,
Fixture   
)

Definition at line 346 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_bht  ,
Fixture   
)

Definition at line 354 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_nonintrinsic_key  ,
Fixture   
)

Definition at line 362 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_intrinsic_key  ,
Fixture   
)

Definition at line 372 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_shared_nonintrinsic_key  ,
Fixture   
)

Definition at line 382 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_shared_intrinsic_key  ,
Fixture   
)

Definition at line 392 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_tch  ,
Fixture   
)

Definition at line 402 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_kch  ,
Fixture   
)

Definition at line 410 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_mem_map  ,
Fixture   
)

Definition at line 418 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_bbt_save  ,
Fixture   
)

Definition at line 486 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_bbt_close_load  ,
Fixture   
)

Definition at line 491 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_bht_save  ,
Fixture   
)

Definition at line 497 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_bht_close_load  ,
Fixture   
)

Definition at line 502 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_save_intrinsic_pagemap  ,
Fixture   
)

Definition at line 508 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_close_load_intrinsic_pagemap  ,
Fixture   
)

Definition at line 513 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_save_nonintrinsic_pagemap  ,
Fixture   
)

Definition at line 519 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_close_load_nonintrinsic_pagemap  ,
Fixture   
)

Definition at line 524 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_save_intrinsic_shared_pagemap  ,
Fixture   
)

Definition at line 531 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_close_load_intrinsic_shared_pagemap  ,
Fixture   
)

Definition at line 536 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_save_nonintrinsic_shared_pagemap  ,
Fixture   
)

Definition at line 542 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_page_store_close_load_nonintrinsic_shared_pagemap  ,
Fixture   
)

Definition at line 547 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_tch_save  ,
Fixture   
)

Definition at line 554 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_tch_close_load  ,
Fixture   
)

Definition at line 559 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_kch_save  ,
Fixture   
)

Definition at line 565 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_kch_close_load  ,
Fixture   
)

Definition at line 570 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_mem_map_save  ,
Fixture   
)

Definition at line 577 of file kvds.cpp.

BOOST_FIXTURE_TEST_CASE ( test_kvds_mem_map_close_load  ,
Fixture   
)

Definition at line 582 of file kvds.cpp.

template<typename kvdsT >
void TestSaveLoad ( kvdsT &  kvds,
std::string const &  sPath,
bool  saveTest,
unsigned int const  maxcnt 
)

Definition at line 426 of file kvds.cpp.

Here is the caller graph for this function:

template<typename kvdsT >
void TestSaveLoad ( std::string const &  sPath,
bool  saveTest 
)

Definition at line 475 of file kvds.cpp.

Here is the call graph for this function: