|
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/redis_backend.h"#include "database/core/database_backend.h"
Go to the source code of this file.
Classes | |
| class | RedisBackendTest |
Functions | |
| TEST_F (RedisBackendTest, TypeReturnsRedis) | |
| TEST_F (RedisBackendTest, BackendNameIsCorrect) | |
| TEST_F (RedisBackendTest, InitiallyNotInitialized) | |
| TEST_F (RedisBackendTest, InitiallyNotInTransaction) | |
| TEST_F (RedisBackendTest, ExecuteQueryFailsWithoutInit) | |
| TEST_F (RedisBackendTest, SelectQueryFailsWithoutInit) | |
| TEST_F (RedisBackendTest, BeginTransactionFailsWithoutInit) | |
| TEST_F (RedisBackendTest, CommitTransactionFailsWithoutInit) | |
| TEST_F (RedisBackendTest, RollbackTransactionFailsWithoutInit) | |
| TEST_F (RedisBackendTest, ShutdownWithoutInitIsNoOp) | |
| TEST_F (RedisBackendTest, CreateReturnsValidBackend) | |
| TEST_F (RedisBackendTest, ConnectionInfoBeforeInit) | |
| TEST_F (RedisBackendTest, LastErrorBeforeInit) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 250 of file redis_backend_test.cpp.
| TEST_F | ( | RedisBackendTest | , |
| BackendNameIsCorrect | ) |
Definition at line 63 of file redis_backend_test.cpp.
References database::backends::redis_backend::backend_name().

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