From 1efc2bdc961ced1f84f96fcf8274c51bdfbcfe40 Mon Sep 17 00:00:00 2001 From: Sascha Kuehl Date: Wed, 22 Nov 2023 22:22:32 +0100 Subject: [PATCH] renamed all tests --- ...nd_provider.cpp => BackendProviderTest.cpp} | 0 test/CMakeLists.txt | 18 +++++++++--------- ...n_generator.cpp => ColumnGeneratorTest.cpp} | 0 ...nerator.cpp => ColumnNameGeneratorTest.cpp} | 0 ...nection_pool.cpp => ConnectionPoolTest.cpp} | 0 test/{connection.cpp => ConnectionTest.cpp} | 0 test/{builder.cpp => QueryBuilderTest.cpp} | 0 test/{record.cpp => RecordTest.cpp} | 0 test/{session.cpp => SessionTest.cpp} | 0 ...ue_generator.cpp => ValueGeneratorTest.cpp} | 0 10 files changed, 9 insertions(+), 9 deletions(-) rename test/{backend_provider.cpp => BackendProviderTest.cpp} (100%) rename test/{column_generator.cpp => ColumnGeneratorTest.cpp} (100%) rename test/{column_name_generator.cpp => ColumnNameGeneratorTest.cpp} (100%) rename test/{connection_pool.cpp => ConnectionPoolTest.cpp} (100%) rename test/{connection.cpp => ConnectionTest.cpp} (100%) rename test/{builder.cpp => QueryBuilderTest.cpp} (100%) rename test/{record.cpp => RecordTest.cpp} (100%) rename test/{session.cpp => SessionTest.cpp} (100%) rename test/{value_generator.cpp => ValueGeneratorTest.cpp} (100%) diff --git a/test/backend_provider.cpp b/test/BackendProviderTest.cpp similarity index 100% rename from test/backend_provider.cpp rename to test/BackendProviderTest.cpp diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e789382..f41f178 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -8,17 +8,17 @@ FetchContent_Declare( FetchContent_MakeAvailable(Catch2) -add_executable(tests builder.cpp - session.cpp - record.cpp - connection_pool.cpp +add_executable(tests QueryBuilderTest.cpp + SessionTest.cpp + RecordTest.cpp + ConnectionPoolTest.cpp query.cpp - backend_provider.cpp - connection.cpp + BackendProviderTest.cpp + ConnectionTest.cpp models/product.hpp - column_generator.cpp - column_name_generator.cpp - value_generator.cpp + ColumnGeneratorTest.cpp + ColumnNameGeneratorTest.cpp + ValueGeneratorTest.cpp models/category.hpp models/supplier.hpp models/airplane.hpp diff --git a/test/column_generator.cpp b/test/ColumnGeneratorTest.cpp similarity index 100% rename from test/column_generator.cpp rename to test/ColumnGeneratorTest.cpp diff --git a/test/column_name_generator.cpp b/test/ColumnNameGeneratorTest.cpp similarity index 100% rename from test/column_name_generator.cpp rename to test/ColumnNameGeneratorTest.cpp diff --git a/test/connection_pool.cpp b/test/ConnectionPoolTest.cpp similarity index 100% rename from test/connection_pool.cpp rename to test/ConnectionPoolTest.cpp diff --git a/test/connection.cpp b/test/ConnectionTest.cpp similarity index 100% rename from test/connection.cpp rename to test/ConnectionTest.cpp diff --git a/test/builder.cpp b/test/QueryBuilderTest.cpp similarity index 100% rename from test/builder.cpp rename to test/QueryBuilderTest.cpp diff --git a/test/record.cpp b/test/RecordTest.cpp similarity index 100% rename from test/record.cpp rename to test/RecordTest.cpp diff --git a/test/session.cpp b/test/SessionTest.cpp similarity index 100% rename from test/session.cpp rename to test/SessionTest.cpp diff --git a/test/value_generator.cpp b/test/ValueGeneratorTest.cpp similarity index 100% rename from test/value_generator.cpp rename to test/ValueGeneratorTest.cpp