-
Notifications
You must be signed in to change notification settings - Fork 5
test: upgrade testbench-rpc to 1.4.0-SNAPSHOT #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdates project build (pom.xml): dependency and repository adjustments for Vaadin 25.0.0 and test tooling; adds ASM test dependency and updates testbench-rpc. Adds test instrumentation: an InstrumentedRoute on IntegrationView, a ViewInitializerImpl that registers the instrumented route, and ServiceLoader registration. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
pom.xml(3 hunks)src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/IntegrationView.java(2 hunks)src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/ViewInitializerImpl.java(1 hunks)src/test/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build-vaadin24
🔇 Additional comments (5)
src/test/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener (1)
1-1: LGTM!The service registration follows the standard Java ServiceLoader pattern correctly, enabling the ViewInitializerImpl to be discovered at runtime.
src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/ViewInitializerImpl.java (1)
26-31: LGTM!The ViewInitializerImpl correctly extends InstrumentationViewInitializer and registers the IntegrationView for route instrumentation, enabling the testbench-rpc functionality.
src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/IntegrationView.java (2)
23-23: LGTM!The transition from @route to @InstrumentedRoute enables the testbench-rpc instrumentation framework, working in conjunction with the ViewInitializerImpl registration. This change is consistent with the library upgrade.
Also applies to: 33-33
169-169: The method callJsonArrayList.fromStrings(lastValueChange)is correct for testbench-rpc 1.4.0-SNAPSHOT. No action needed.pom.xml (1)
515-515: Upgrade to Vaadin 25.0.0 stable is appropriate.Vaadin 25 is the latest stable version, so upgrading from 25.0.0-beta2 to 25.0.0 is correct. This moves the dependency to a production-ready release.
b78f7ac to
0e264e0
Compare
|



Summary by CodeRabbit
Chores
Tests
✏️ Tip: You can customize this high-level summary in your review settings.