ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
database_test.cc File Reference
#include "util/testing.h"
#include <thread>
#include "base/database.h"
#include "base/pose.h"
Include dependency graph for database_test.cc:

Go to the source code of this file.

Macros

#define TEST_NAME   "base/database"
 

Functions

 BOOST_AUTO_TEST_CASE (TestOpenCloseConstructorDestructor)
 
 BOOST_AUTO_TEST_CASE (TestOpenClose)
 
 BOOST_AUTO_TEST_CASE (TestTransaction)
 
 BOOST_AUTO_TEST_CASE (TestTransactionMultiThreaded)
 
 BOOST_AUTO_TEST_CASE (TestEmpty)
 
 BOOST_AUTO_TEST_CASE (TestImagePairToPairId)
 
 BOOST_AUTO_TEST_CASE (TestSwapImagePair)
 
 BOOST_AUTO_TEST_CASE (TestCamera)
 
 BOOST_AUTO_TEST_CASE (TestImage)
 
 BOOST_AUTO_TEST_CASE (TestKeypoints)
 
 BOOST_AUTO_TEST_CASE (TestDescriptors)
 
 BOOST_AUTO_TEST_CASE (TestMatches)
 
 BOOST_AUTO_TEST_CASE (TestTwoViewGeometry)
 
 BOOST_AUTO_TEST_CASE (TestMerge)
 

Variables

static const std::string kMemoryDatabasePath = ":memory:"
 

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "base/database"

Definition at line 32 of file database_test.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/14]

◆ BOOST_AUTO_TEST_CASE() [2/14]

◆ BOOST_AUTO_TEST_CASE() [3/14]

◆ BOOST_AUTO_TEST_CASE() [4/14]

◆ BOOST_AUTO_TEST_CASE() [5/14]

BOOST_AUTO_TEST_CASE ( TestImagePairToPairId  )

◆ BOOST_AUTO_TEST_CASE() [6/14]

◆ BOOST_AUTO_TEST_CASE() [7/14]

◆ BOOST_AUTO_TEST_CASE() [8/14]

◆ BOOST_AUTO_TEST_CASE() [9/14]

BOOST_AUTO_TEST_CASE ( TestOpenClose  )

Definition at line 48 of file database_test.cc.

References colmap::Database::Close(), and kMemoryDatabasePath.

◆ BOOST_AUTO_TEST_CASE() [10/14]

BOOST_AUTO_TEST_CASE ( TestOpenCloseConstructorDestructor  )

Definition at line 44 of file database_test.cc.

References kMemoryDatabasePath.

◆ BOOST_AUTO_TEST_CASE() [11/14]

BOOST_AUTO_TEST_CASE ( TestSwapImagePair  )

Definition at line 112 of file database_test.cc.

References colmap::Database::SwapImagePair().

◆ BOOST_AUTO_TEST_CASE() [12/14]

BOOST_AUTO_TEST_CASE ( TestTransaction  )

Definition at line 53 of file database_test.cc.

References kMemoryDatabasePath.

◆ BOOST_AUTO_TEST_CASE() [13/14]

BOOST_AUTO_TEST_CASE ( TestTransactionMultiThreaded  )

Definition at line 58 of file database_test.cc.

References kMemoryDatabasePath.

◆ BOOST_AUTO_TEST_CASE() [14/14]

Variable Documentation

◆ kMemoryDatabasePath

const std::string kMemoryDatabasePath = ":memory:"
static

Definition at line 42 of file database_test.cc.

Referenced by BOOST_AUTO_TEST_CASE().