Skip to content

Aviation provider: added #uldType and #uldCode#1795

Merged
kingthorin merged 1 commit intodatafaker-net:mainfrom
L-Evg:feature/AviationProvider_Containers
Apr 15, 2026
Merged

Aviation provider: added #uldType and #uldCode#1795
kingthorin merged 1 commit intodatafaker-net:mainfrom
L-Evg:feature/AviationProvider_Containers

Conversation

@L-Evg
Copy link
Copy Markdown
Contributor

@L-Evg L-Evg commented Apr 15, 2026

Aviation provider: added #uldType() and #uldCode().
ULD - Unit load device (pallets and containers).
Data source:
CargoPalletsContainers
Unit_load_device

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Apr 15, 2026

PR Summary

  • Introduction of New Methods in Aviation.java

    • A new method by the name of uldType() has been introduced. This one is programmed to randomly pick a ULD (Unit Load Device) type.
    • Another method titled uldCode() has also been added. Its main function is to output a randomly chosen ULD IATA (International Air Transport Association) code.
  • Modifications to aviation.yml

    • The file now contains a comprehensive list of ULD types.
    • In addition, there's a list of ULD codes included in the file.
  • Updates to AviationTest.java

    • New test conditions have been inserted for checking the functionality of the newly added methods uldType() and uldCode(). This is to ensure that the two new methods function properly and as expected.

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.25%. Comparing base (a6b142c) to head (6f28af1).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1795      +/-   ##
============================================
- Coverage     92.27%   92.25%   -0.03%     
- Complexity     3460     3461       +1     
============================================
  Files           339      339              
  Lines          6813     6815       +2     
  Branches        670      670              
============================================
  Hits           6287     6287              
- Misses          360      361       +1     
- Partials        166      167       +1     

☔ 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.

@kingthorin
Copy link
Copy Markdown
Collaborator

Thanks

@kingthorin kingthorin merged commit 46c5170 into datafaker-net:main Apr 15, 2026
13 checks passed
@asolntsev asolntsev added this to the 2.6.0 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants