Skip to content

Conversation

@LI123456mo
Copy link
Contributor

Created DateUtilsTest.java to provide coverage for legacy date parsing and formatting logic.

Added test cases for standard string-to-date parsing (yyyy-MM-dd HH:mm:ss).

Verified object-to-date casting (handling Long timestamps and Calendar objects).

Confirmed GMT/UTC formatting remains consistent.

Applied spotless formatting to ensure compliance with Apache Dubbo coding standards.

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.80%. Comparing base (ef8c0ee) to head (4a2a581).

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #16013      +/-   ##
============================================
+ Coverage     60.74%   60.80%   +0.05%     
+ Complexity    11735       15   -11720     
============================================
  Files          1949     1949              
  Lines         88799    88799              
  Branches      13391    13392       +1     
============================================
+ Hits          53939    53992      +53     
+ Misses        29319    29263      -56     
- Partials       5541     5544       +3     
Flag Coverage Δ
integration-tests-java21 32.23% <ø> (+<0.01%) ⬆️
integration-tests-java8 32.35% <ø> (+0.05%) ⬆️
samples-tests-java21 32.14% <ø> (-0.02%) ⬇️
samples-tests-java8 29.71% <ø> (-0.02%) ⬇️
unit-tests-java11 59.06% <ø> (+0.03%) ⬆️
unit-tests-java17 58.54% <ø> (+0.02%) ⬆️
unit-tests-java21 58.53% <ø> (+0.02%) ⬆️
unit-tests-java25 58.49% <ø> (+0.01%) ⬆️
unit-tests-java8 59.06% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@zrlw zrlw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LI123456mo
Copy link
Contributor Author

LGTM

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants