ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cache_test.cc File Reference
#include "util/cache.h"
#include "util/testing.h"
Include dependency graph for cache_test.cc:

Go to the source code of this file.

Classes

struct  SizedElem
 

Macros

#define TEST_NAME   "util/cache"
 

Functions

 BOOST_AUTO_TEST_CASE (TestLRUCacheEmpty)
 
 BOOST_AUTO_TEST_CASE (TestLRUCacheGet)
 
 BOOST_AUTO_TEST_CASE (TestLRUCacheSet)
 
 BOOST_AUTO_TEST_CASE (TestLRUCachePop)
 
 BOOST_AUTO_TEST_CASE (TestLRUCacheClear)
 
 BOOST_AUTO_TEST_CASE (TestMemoryConstrainedLRUCacheEmpty)
 
 BOOST_AUTO_TEST_CASE (TestMemoryConstrainedLRUCacheGet)
 
 BOOST_AUTO_TEST_CASE (TestMemoryConstrainedLRUCacheClear)
 
 BOOST_AUTO_TEST_CASE (TestMemoryConstrainedLRUCacheUpdateNumBytes)
 

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "util/cache"

Definition at line 32 of file cache_test.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( TestLRUCacheClear  )

Definition at line 157 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( TestLRUCacheEmpty  )

Definition at line 39 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( TestLRUCacheGet  )

Definition at line 46 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( TestLRUCachePop  )

Definition at line 128 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( TestLRUCacheSet  )

Definition at line 107 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( TestMemoryConstrainedLRUCacheClear  )

Definition at line 227 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( TestMemoryConstrainedLRUCacheEmpty  )

Definition at line 181 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( TestMemoryConstrainedLRUCacheGet  )

Definition at line 190 of file cache_test.cc.

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TestMemoryConstrainedLRUCacheUpdateNumBytes  )

Definition at line 247 of file cache_test.cc.