Skip to content

Commit fb22743

Browse files
committed
1
1 parent e2af006 commit fb22743

File tree

10 files changed

+16
-13
lines changed

10 files changed

+16
-13
lines changed

src/iceberg/test/in_memory_catalog_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "iceberg/table_metadata.h"
3232
#include "iceberg/test/matchers.h"
3333
#include "iceberg/test/mock_catalog.h"
34-
#include "iceberg/test/util/test_common.h"
34+
#include "iceberg/test/util/common_util.h"
3535

3636
namespace iceberg {
3737

src/iceberg/test/manifest_list_reader_writer_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "iceberg/manifest_writer.h"
2929
#include "iceberg/test/matchers.h"
3030
#include "iceberg/test/temp_file_test_base.h"
31-
#include "iceberg/test/util/test_common.h"
31+
#include "iceberg/test/util/common_util.h"
3232

3333
namespace iceberg {
3434

src/iceberg/test/manifest_reader_writer_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "iceberg/schema.h"
3333
#include "iceberg/test/matchers.h"
3434
#include "iceberg/test/temp_file_test_base.h"
35-
#include "iceberg/test/util/test_common.h"
35+
#include "iceberg/test/util/common_util.h"
3636
#include "iceberg/transform.h"
3737
#include "iceberg/type.h"
3838

src/iceberg/test/metadata_serde_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "iceberg/statistics_file.h"
3333
#include "iceberg/table_metadata.h"
3434
#include "iceberg/test/matchers.h"
35-
#include "iceberg/test/util/test_common.h"
35+
#include "iceberg/test/util/common_util.h"
3636
#include "iceberg/transform.h"
3737
#include "iceberg/type.h"
3838

src/iceberg/test/rest_catalog_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class RestCatalogIntegrationTest : public ::testing::Test {
9090
std::filesystem::path(__FILE__).parent_path() / "resources";
9191

9292
// Create and start DockerCompose
93-
docker_compose_ = std::make_unique<test::DockerCompose>(project_name, resources_dir);
93+
docker_compose_ = std::make_unique<DockerCompose>(project_name, resources_dir);
9494
docker_compose_->Up();
9595

9696
// Wait for REST catalog to be ready on localhost
@@ -127,7 +127,7 @@ class RestCatalogIntegrationTest : public ::testing::Test {
127127
return RestCatalog::Make(*config_);
128128
}
129129

130-
static inline std::unique_ptr<test::DockerCompose> docker_compose_;
130+
static inline std::unique_ptr<DockerCompose> docker_compose_;
131131
std::unique_ptr<RestCatalogProperties> config_;
132132
};
133133

src/iceberg/test/table_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "iceberg/schema.h"
3333
#include "iceberg/snapshot.h"
3434
#include "iceberg/table_metadata.h"
35-
#include "iceberg/test/util/test_common.h"
35+
#include "iceberg/test/util/common_util.h"
3636

3737
namespace iceberg {
3838

src/iceberg/test/util/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
set(ICEBERG_TEST_UTIL_SOURCES test_common.cc)
19-
set(ICEBERG_TEST_UTIL_HEADERS test_common.h)
18+
set(ICEBERG_TEST_UTIL_SOURCES common_util.cc)
19+
set(ICEBERG_TEST_UTIL_HEADERS common_util.h)
2020

2121
# Platform-specific integration test utilities (Linux-specific)
2222
if(ICEBERG_BUILD_REST_INTEGRATION_TESTS)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
#include "iceberg/test/util/test_common.h"
20+
#include "iceberg/test/util/common_util.h"
2121

2222
#include <filesystem>
2323
#include <fstream>

src/iceberg/test/util/meson.build

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
iceberg_test_util_sources = files('test_common.cc')
18+
iceberg_test_util_sources = files('common_util.cc')
1919

2020
# Platform-specific integration test utilities (Linux-specific)
2121
if get_option('rest_integration_test').enabled()
@@ -26,10 +26,13 @@ if get_option('rest_integration_test').enabled()
2626
)
2727
endif
2828

29+
gtest_dep = dependency('gtest')
30+
nlohmann_json_dep = dependency('nlohmann_json')
31+
2932
iceberg_test_util_lib = static_library(
3033
'iceberg_test_util',
3134
sources: iceberg_test_util_sources,
32-
dependencies: [iceberg_dep],
35+
dependencies: [iceberg_dep, gtest_dep, nlohmann_json_dep],
3336
include_directories: include_directories('../..'),
3437
)
3538

@@ -38,4 +41,4 @@ iceberg_test_util_dep = declare_dependency(
3841
include_directories: include_directories('.'),
3942
)
4043

41-
install_headers(['test_common.h'], subdir: 'iceberg/test/util')
44+
install_headers(['common_util.h'], subdir: 'iceberg/test/util')

0 commit comments

Comments
 (0)