|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
#include <gtest/gtest.h>#include <memory>#include <string>#include "database/backends/mongodb_backend.h"#include "database/core/database_backend.h"
Go to the source code of this file.
Classes | |
| class | MongoDBBackendTest |
Functions | |
| TEST_F (MongoDBBackendTest, TypeReturnsMongoDB) | |
| TEST_F (MongoDBBackendTest, BackendNameIsCorrect) | |
| TEST_F (MongoDBBackendTest, InitiallyNotInitialized) | |
| TEST_F (MongoDBBackendTest, InitiallyNotInTransaction) | |
| TEST_F (MongoDBBackendTest, ExecuteQueryFailsWithoutInit) | |
| TEST_F (MongoDBBackendTest, SelectQueryFailsWithoutInit) | |
| TEST_F (MongoDBBackendTest, BeginTransactionFailsWithoutInit) | |
| TEST_F (MongoDBBackendTest, CommitTransactionFailsWithoutInit) | |
| TEST_F (MongoDBBackendTest, RollbackTransactionFailsWithoutInit) | |
| TEST_F (MongoDBBackendTest, ShutdownWithoutInitIsNoOp) | |
| TEST_F (MongoDBBackendTest, CreateReturnsValidBackend) | |
| TEST_F (MongoDBBackendTest, ConnectionInfoBeforeInit) | |
| TEST_F (MongoDBBackendTest, LastErrorBeforeInit) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 212 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| BackendNameIsCorrect | ) |
Definition at line 63 of file mongodb_backend_test.cpp.
References database::backends::mongodb_backend::backend_name().

| TEST_F | ( | MongoDBBackendTest | , |
| BeginTransactionFailsWithoutInit | ) |
Definition at line 98 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| CommitTransactionFailsWithoutInit | ) |
Definition at line 104 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| ConnectionInfoBeforeInit | ) |
Definition at line 142 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| CreateReturnsValidBackend | ) |
Definition at line 130 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| ExecuteQueryFailsWithoutInit | ) |
Definition at line 86 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| InitiallyNotInitialized | ) |
Definition at line 72 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| InitiallyNotInTransaction | ) |
Definition at line 77 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| LastErrorBeforeInit | ) |
Definition at line 148 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| RollbackTransactionFailsWithoutInit | ) |
Definition at line 110 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| SelectQueryFailsWithoutInit | ) |
Definition at line 92 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| ShutdownWithoutInitIsNoOp | ) |
Definition at line 120 of file mongodb_backend_test.cpp.
| TEST_F | ( | MongoDBBackendTest | , |
| TypeReturnsMongoDB | ) |
Definition at line 58 of file mongodb_backend_test.cpp.