From 4978ff73d508ae11f21b53525bbf5f12f9b8bae5 Mon Sep 17 00:00:00 2001 From: Chizhov Anton Date: Tue, 5 Dec 2023 22:53:12 +0300 Subject: [PATCH] Rename `datasets.h` to `table_config.h` --- src/tests/all_tables_config.h | 2 +- src/tests/{datasets.h => table_config.h} | 0 src/tests/test_ac_algorithm.cpp | 2 +- src/tests/test_algo_interfaces.cpp | 2 +- src/tests/test_apriori.cpp | 2 +- src/tests/test_cfd_algos.cpp | 2 +- src/tests/test_cfd_relation_data.cpp | 2 +- src/tests/test_data_stats.cpp | 2 +- src/tests/test_fd_algorithm.cpp | 2 +- src/tests/test_fd_mine.cpp | 2 +- src/tests/test_fd_util.h | 2 +- src/tests/test_fd_verifier.cpp | 2 +- src/tests/test_metric_verifier.cpp | 2 +- src/tests/test_typed_column_data.cpp | 2 +- src/tests/test_typo_miner.cpp | 2 +- src/tests/test_ucc_algorithms.cpp | 2 +- src/tests/test_util.cpp | 2 +- 17 files changed, 16 insertions(+), 16 deletions(-) rename src/tests/{datasets.h => table_config.h} (100%) diff --git a/src/tests/all_tables_config.h b/src/tests/all_tables_config.h index 043861933c..b2155f2c8a 100644 --- a/src/tests/all_tables_config.h +++ b/src/tests/all_tables_config.h @@ -1,6 +1,6 @@ #pragma once -#include "datasets.h" +#include "table_config.h" namespace tests { extern TableConfig const kWDC_astronomical; diff --git a/src/tests/datasets.h b/src/tests/table_config.h similarity index 100% rename from src/tests/datasets.h rename to src/tests/table_config.h diff --git a/src/tests/test_ac_algorithm.cpp b/src/tests/test_ac_algorithm.cpp index 929ed50f88..62965020e5 100644 --- a/src/tests/test_ac_algorithm.cpp +++ b/src/tests/test_ac_algorithm.cpp @@ -7,7 +7,7 @@ #include "algorithms/algebraic_constraints/bin_operation_enum.h" #include "algorithms/algo_factory.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" #include "types.h" namespace { diff --git a/src/tests/test_algo_interfaces.cpp b/src/tests/test_algo_interfaces.cpp index 973ea0a973..1e542b2f4d 100644 --- a/src/tests/test_algo_interfaces.cpp +++ b/src/tests/test_algo_interfaces.cpp @@ -9,7 +9,7 @@ #include "algorithms/fd/pyro/pyro.h" #include "config/error/type.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace tests { diff --git a/src/tests/test_apriori.cpp b/src/tests/test_apriori.cpp index 145a16b93e..1b8b92f960 100644 --- a/src/tests/test_apriori.cpp +++ b/src/tests/test_apriori.cpp @@ -5,7 +5,7 @@ #include "algorithms/algo_factory.h" #include "algorithms/association_rules/apriori.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace fs = std::filesystem; diff --git a/src/tests/test_cfd_algos.cpp b/src/tests/test_cfd_algos.cpp index 056d8c81c8..2824feb738 100644 --- a/src/tests/test_cfd_algos.cpp +++ b/src/tests/test_cfd_algos.cpp @@ -9,7 +9,7 @@ #include "algorithms/cfd/enums.h" #include "algorithms/cfd/fd_first_algorithm.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace tests { namespace fs = std::filesystem; diff --git a/src/tests/test_cfd_relation_data.cpp b/src/tests/test_cfd_relation_data.cpp index a84a8d20fe..b048adf0e8 100644 --- a/src/tests/test_cfd_relation_data.cpp +++ b/src/tests/test_cfd_relation_data.cpp @@ -4,8 +4,8 @@ #include #include "algorithms/cfd/model/cfd_relation_data.h" -#include "datasets.h" #include "parser/csv_parser/csv_parser.h" +#include "table_config.h" namespace tests { diff --git a/src/tests/test_data_stats.cpp b/src/tests/test_data_stats.cpp index 5f92d06173..e25da43dfc 100644 --- a/src/tests/test_data_stats.cpp +++ b/src/tests/test_data_stats.cpp @@ -3,7 +3,7 @@ #include "algorithms/algo_factory.h" #include "algorithms/statistics/data_stats.h" -#include "datasets.h" +#include "table_config.h" namespace tests { namespace mo = model; diff --git a/src/tests/test_fd_algorithm.cpp b/src/tests/test_fd_algorithm.cpp index ab10c7f963..deeb64a031 100644 --- a/src/tests/test_fd_algorithm.cpp +++ b/src/tests/test_fd_algorithm.cpp @@ -14,8 +14,8 @@ #include "algorithms/fd/hyfd/hyfd.h" #include "algorithms/fd/pyro/pyro.h" #include "algorithms/fd/tane/tane.h" -#include "datasets.h" #include "model/table/relational_schema.h" +#include "table_config.h" #include "test_fd_util.h" using std::string, std::vector; diff --git a/src/tests/test_fd_mine.cpp b/src/tests/test_fd_mine.cpp index fddd475031..7174aa5be1 100644 --- a/src/tests/test_fd_mine.cpp +++ b/src/tests/test_fd_mine.cpp @@ -12,8 +12,8 @@ #include "algorithms/fd/tane/tane.h" #include "config/error/type.h" #include "config/names.h" -#include "datasets.h" #include "model/table/relational_schema.h" +#include "table_config.h" #include "test_fd_util.h" using ::testing::ContainerEq, ::testing::Eq; diff --git a/src/tests/test_fd_util.h b/src/tests/test_fd_util.h index 43d75f80bd..ce3d12c52b 100644 --- a/src/tests/test_fd_util.h +++ b/src/tests/test_fd_util.h @@ -9,7 +9,7 @@ #include "all_tables_config.h" #include "config/error/type.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace tests { template diff --git a/src/tests/test_fd_verifier.cpp b/src/tests/test_fd_verifier.cpp index e265a1ff5d..2976e2aaa7 100644 --- a/src/tests/test_fd_verifier.cpp +++ b/src/tests/test_fd_verifier.cpp @@ -7,9 +7,9 @@ #include "algo_factory.h" #include "builtin.h" #include "config/indices/type.h" -#include "datasets.h" #include "fd/fd_verifier/fd_verifier.h" #include "fd/fd_verifier/stats_calculator.h" +#include "table_config.h" namespace { using namespace algos::fd_verifier; diff --git a/src/tests/test_metric_verifier.cpp b/src/tests/test_metric_verifier.cpp index 17cc74fdda..510142c8e2 100644 --- a/src/tests/test_metric_verifier.cpp +++ b/src/tests/test_metric_verifier.cpp @@ -11,7 +11,7 @@ #include "algorithms/metric/enums.h" #include "algorithms/metric/metric_verifier.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace tests { namespace onam = config::names; diff --git a/src/tests/test_typed_column_data.cpp b/src/tests/test_typed_column_data.cpp index 808320d459..6dd307dda6 100644 --- a/src/tests/test_typed_column_data.cpp +++ b/src/tests/test_typed_column_data.cpp @@ -4,9 +4,9 @@ #include #include "algorithms/fd/fd_algorithm.h" -#include "datasets.h" #include "model/table/column_layout_typed_relation_data.h" #include "parser/csv_parser/csv_parser.h" +#include "table_config.h" namespace tests { diff --git a/src/tests/test_typo_miner.cpp b/src/tests/test_typo_miner.cpp index 27632bbc75..26788d3a86 100644 --- a/src/tests/test_typo_miner.cpp +++ b/src/tests/test_typo_miner.cpp @@ -7,7 +7,7 @@ #include "algorithms/algo_factory.h" #include "algorithms/pipelines/typo_miner/typo_miner.h" #include "config/names.h" -#include "datasets.h" +#include "table_config.h" namespace tests { namespace onam = config::names; diff --git a/src/tests/test_ucc_algorithms.cpp b/src/tests/test_ucc_algorithms.cpp index 21a4bcfc5e..974169c638 100644 --- a/src/tests/test_ucc_algorithms.cpp +++ b/src/tests/test_ucc_algorithms.cpp @@ -12,7 +12,7 @@ #include "algorithms/ucc/ucc_algorithm.h" #include "all_tables_config.h" #include "config/thread_number/type.h" -#include "datasets.h" +#include "table_config.h" std::ostream& operator<<(std::ostream& os, Vertical const& v) { os << v.ToString(); diff --git a/src/tests/test_util.cpp b/src/tests/test_util.cpp index 1b56ef09d4..282adeb495 100644 --- a/src/tests/test_util.cpp +++ b/src/tests/test_util.cpp @@ -4,12 +4,12 @@ #include #include -#include "datasets.h" #include "fd/pyro/model/list_agree_set_sample.h" #include "levenshtein_distance.h" #include "model/table/agree_set_factory.h" #include "model/table/column_layout_relation_data.h" #include "model/table/identifier_set.h" +#include "table_config.h" namespace tests {