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

| TEST_F | ( | PostgreSQLBackendTest | , |
| BeginTransactionFailsWithoutInit | ) |
Definition at line 98 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| CommitTransactionFailsWithoutInit | ) |
Definition at line 104 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| ConnectionInfoBeforeInit | ) |
Definition at line 156 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| CreateReturnsValidBackend | ) |
Definition at line 144 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| DoubleInitializationRejected | ) |
Definition at line 126 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| ExecuteQueryFailsWithoutInit | ) |
Definition at line 92 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| InitiallyNotInitialized | ) |
Definition at line 72 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| InitiallyNotInTransaction | ) |
Definition at line 77 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| LastErrorBeforeInit | ) |
Definition at line 164 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| RollbackTransactionFailsWithoutInit | ) |
Definition at line 110 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| SelectQueryFailsWithoutInit | ) |
Definition at line 86 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| ShutdownWithoutInitIsNoOp | ) |
Definition at line 120 of file postgresql_backend_test.cpp.
| TEST_F | ( | PostgreSQLBackendTest | , |
| TypeReturnsPostgres | ) |
Definition at line 58 of file postgresql_backend_test.cpp.