Supersaiyan101 opened a new pull request, #40909: URL: https://github.com/apache/beam/pull/40909
This PR addresses #18690 by porting all remaining tests in `sdks/java/io/iceberg/` off of the deprecated `DoFnTester`: - `BundleLifterTest`: replaced `DoFnTester` with direct invocation of DoFn lifecycle methods (`startBundle`, `processElement`, `finishBundle`) along with `TestOutputReceiver` and `MultiOutputReceiver`. - `ApplyWatermarkColumnTest`: replaced `DoFnTester` with direct invocation of `fn.process(row, receiver)` to verify expected exception throwing. - `LocalResolveDoFnTest` & `ResolveChangesTest`: replaced `DoFnTester` with direct DoFn invocation collecting `ValueInSingleWindow<Row>` with timestamp and pane information. All changed tests were verified and formatted with `./gradlew :sdks:java:io:iceberg:spotlessApply`. -- 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]
