lucasfang opened a new pull request, #123:
URL: https://github.com/apache/paimon-cpp/pull/123
### Purpose
Linked issue: No linked issue
This change adds testing utilities for data generation, row conversion, and
result validation.
Included changes:
- Testing utilities (`src/paimon/testing/utils/`):
- Adds `test_helper.h` with comprehensive test assertion helpers and
fixture support
- Adds `data_generator.h/.cpp` for generating test data with configurable
schemas
- Adds `data_generator_test.cpp` with unit tests for data generation logic
- Adds `binary_row_generator.h` for constructing binary rows in tests
- Adds `dict_array_converter.h` for dictionary-encoded array conversions
- Adds `read_result_collector.h` for collecting and validating read results
- Adds `key_value_checker.h` for key-value pair validation in tests
- Adds `io_exception_helper.h` for IO exception testing utilities
- Updates `timezone_guard.h` with improved timezone handling for tests
### Tests
Test coverage included in this change:
- `data_generator_test.cpp`
### API and Format
No public API, storage format, or protocol changes.
### Documentation
No documentation changes required.
### Generative AI tooling
Migrate-by: Aone Copilot (Qwen3.7-Max)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]