This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch calcite-schema-ddl in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 7b22d6eac8b787f3732bde5ad4630c9848865de4 Author: Bertil Chapuis <[email protected]> AuthorDate: Mon Apr 14 15:44:50 2025 +0200 Refactor testing directories --- .../baremaps/integration/GeoParquetToPostgresTest.java | 2 +- baremaps-testing/data/{samples => }/README.md | 0 .../data/{samples => geopackage}/countries.gpkg | Bin baremaps-testing/data/{samples => geopackage}/data.gpkg | Bin .../data/{samples => geoparquet}/example.parquet | Bin .../main/java/org/apache/baremaps/testing/TestFiles.java | 4 ++-- 6 files changed, 3 insertions(+), 3 deletions(-) diff --git a/baremaps-core/src/test/java/org/apache/baremaps/integration/GeoParquetToPostgresTest.java b/baremaps-core/src/test/java/org/apache/baremaps/integration/GeoParquetToPostgresTest.java index ef9952155..c9a6bfb14 100644 --- a/baremaps-core/src/test/java/org/apache/baremaps/integration/GeoParquetToPostgresTest.java +++ b/baremaps-core/src/test/java/org/apache/baremaps/integration/GeoParquetToPostgresTest.java @@ -41,7 +41,7 @@ class GeoParquetToPostgresTest extends PostgresContainerTest { @Tag("integration") void copyGeoParquetToPostgres() throws Exception { // Open the GeoParquet - var uri = TestFiles.resolve("baremaps-testing/data/samples/example.parquet").toUri(); + var uri = TestFiles.GEOPARQUET.toUri(); // Set ThreadLocal DataSource for PostgresDdlExecutor to use PostgresDdlExecutor.setThreadLocalDataSource(dataSource()); diff --git a/baremaps-testing/data/samples/README.md b/baremaps-testing/data/README.md similarity index 100% rename from baremaps-testing/data/samples/README.md rename to baremaps-testing/data/README.md diff --git a/baremaps-testing/data/samples/countries.gpkg b/baremaps-testing/data/geopackage/countries.gpkg similarity index 100% rename from baremaps-testing/data/samples/countries.gpkg rename to baremaps-testing/data/geopackage/countries.gpkg diff --git a/baremaps-testing/data/samples/data.gpkg b/baremaps-testing/data/geopackage/data.gpkg similarity index 100% rename from baremaps-testing/data/samples/data.gpkg rename to baremaps-testing/data/geopackage/data.gpkg diff --git a/baremaps-testing/data/samples/example.parquet b/baremaps-testing/data/geoparquet/example.parquet similarity index 100% rename from baremaps-testing/data/samples/example.parquet rename to baremaps-testing/data/geoparquet/example.parquet diff --git a/baremaps-testing/src/main/java/org/apache/baremaps/testing/TestFiles.java b/baremaps-testing/src/main/java/org/apache/baremaps/testing/TestFiles.java index 445bcbced..921cd1319 100644 --- a/baremaps-testing/src/main/java/org/apache/baremaps/testing/TestFiles.java +++ b/baremaps-testing/src/main/java/org/apache/baremaps/testing/TestFiles.java @@ -68,10 +68,10 @@ public class TestFiles { resolve("baremaps-testing/data/archives/file.zip"); public static final Path GEOPARQUET = - resolve("baremaps-testing/data/samples/example.parquet"); + resolve("baremaps-testing/data/geoparquet/example.parquet"); public static final Path GEOPACKAGE = - resolve("baremaps-testing/data/samples/countries.gpkg"); + resolve("baremaps-testing/data/geopackage/countries.gpkg"); public static final Path TILESET_JSON = resolve("baremaps-testing/data/tilesets/tileset.json");
