This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git
from c9e01de feat(test): introduce clean and blob table integration tests
(#108)
add 29c9f20 feat(testing): introduce mock testing utilities (#109)
No new revisions were added by this update.
Summary of changes:
src/paimon/testing/mock/mock_file_batch_reader.h | 188 +++++++++++++++++++++
.../mock/mock_file_format.cpp} | 31 ++--
.../mock/mock_file_format.h} | 10 +-
.../mock/mock_file_format_factory.cpp} | 16 +-
.../mock/mock_file_format_factory.h} | 6 +-
src/paimon/testing/mock/mock_file_system.h | 138 +++++++++++++++
.../mock/mock_file_system_factory.cpp} | 10 +-
.../mock/mock_file_system_factory.h} | 10 +-
.../testing/mock/mock_format_reader_builder.h | 68 ++++++++
src/paimon/testing/mock/mock_format_writer.cpp | 63 +++++++
.../mock/mock_format_writer.h} | 40 +++--
.../mock/mock_format_writer_builder.cpp} | 32 ++--
.../mock/mock_format_writer_builder.h} | 38 +++--
src/paimon/testing/mock/mock_index_path_factory.h | 58 +++++++
.../mock/mock_key_value_data_file_record_reader.h | 54 ++++++
src/paimon/testing/mock/mock_stats_extractor.cpp | 50 ++++++
.../mock/mock_stats_extractor.h} | 28 +--
17 files changed, 740 insertions(+), 100 deletions(-)
create mode 100644 src/paimon/testing/mock/mock_file_batch_reader.h
copy src/paimon/{core/manifest/file_kind_test.cpp =>
testing/mock/mock_file_format.cpp} (53%)
copy src/paimon/{format/avro/avro_file_format.h =>
testing/mock/mock_file_format.h} (86%)
copy src/paimon/{format/blob/blob_file_format_factory.cpp =>
testing/mock/mock_file_format_factory.cpp} (70%)
copy src/paimon/{format/blob/blob_file_format_factory.h =>
testing/mock/mock_file_format_factory.h} (91%)
create mode 100644 src/paimon/testing/mock/mock_file_system.h
copy src/paimon/{fs/local/local_file_system_factory.cpp =>
testing/mock/mock_file_system_factory.cpp} (79%)
copy src/paimon/{fs/local/local_file_system_factory.h =>
testing/mock/mock_file_system_factory.h} (86%)
create mode 100644 src/paimon/testing/mock/mock_format_reader_builder.h
create mode 100644 src/paimon/testing/mock/mock_format_writer.cpp
copy src/paimon/{common/sst/block_aligned_type.h =>
testing/mock/mock_format_writer.h} (56%)
copy src/paimon/{common/utils/crc32c_test.cpp =>
testing/mock/mock_format_writer_builder.cpp} (59%)
copy src/paimon/{common/sst/block_aligned_type.h =>
testing/mock/mock_format_writer_builder.h} (57%)
create mode 100644 src/paimon/testing/mock/mock_index_path_factory.h
create mode 100644
src/paimon/testing/mock/mock_key_value_data_file_record_reader.h
create mode 100644 src/paimon/testing/mock/mock_stats_extractor.cpp
copy src/paimon/{fs/local/local_file_system_factory.h =>
testing/mock/mock_stats_extractor.h} (59%)