Skip to content
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

chore: Fix generics use #17884

Merged
merged 5 commits into from
Feb 19, 2025
Merged

chore: Fix generics use #17884

merged 5 commits into from
Feb 19, 2025

Conversation

mxtartaglia-sl
Copy link
Contributor

Description:
Fix the use of generics on test classes related to Graphgenerator and EventSource

Fixes #17883

Signed-off-by: mxtartaglia <[email protected]>
lpetrovic05
lpetrovic05 previously approved these changes Feb 13, 2025
Copy link

codacy-production bot commented Feb 13, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.01% (target: -1.00%) 93.75%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (0515075) 99458 72533 72.93%
Head commit (bf0cc2b) 99458 (+0) 72519 (-14) 72.91% (-0.01%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#17884) 16 15 93.75%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.01%. Comparing base (0515075) to head (bf0cc2b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...rlds/platform/test/gui/GeneratorEventProvider.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #17884      +/-   ##
============================================
- Coverage     69.01%   69.01%   -0.01%     
- Complexity    23050    23055       +5     
============================================
  Files          2655     2655              
  Lines         99675    99675              
  Branches      10289    10289              
============================================
- Hits          68795    68790       -5     
- Misses        26981    26995      +14     
+ Partials       3899     3890       -9     
Files with missing lines Coverage Δ
...wirlds/platform/test/consensus/ConsensusUtils.java 94.73% <100.00%> (ø)
...lds/platform/test/consensus/GenerateConsensus.java 100.00% <100.00%> (ø)
...rm/test/consensus/framework/ConsensusTestNode.java 78.12% <100.00%> (ø)
...consensus/framework/ConsensusTestOrchestrator.java 76.47% <ø> (ø)
.../test/consensus/framework/OrchestratorBuilder.java 95.74% <100.00%> (ø)
...tform/test/event/emitter/AbstractEventEmitter.java 85.71% <100.00%> (ø)
...form/test/event/emitter/BufferingEventEmitter.java 100.00% <ø> (ø)
...orm/test/event/emitter/CollectingEventEmitter.java 85.71% <ø> (ø)
...rlds/platform/test/event/emitter/EventEmitter.java 100.00% <100.00%> (ø)
...atform/test/event/emitter/EventEmitterFactory.java 90.47% <ø> (ø)
... and 6 more

... and 27 files with indirect coverage changes

Impacted file tree graph

timo0
timo0 previously approved these changes Feb 13, 2025
@mxtartaglia-sl mxtartaglia-sl dismissed stale reviews from timo0 and lpetrovic05 via bf0cc2b February 13, 2025 15:11
@mxtartaglia-sl mxtartaglia-sl requested review from a team as code owners February 14, 2025 04:39
@edward-swirldslabs
Copy link
Contributor

spotless failing :-/

@mustafauzunn mustafauzunn merged commit cadfd5e into main Feb 19, 2025
41 checks passed
@mustafauzunn mustafauzunn deleted the 17883-fix-generics-graphgenerator branch February 19, 2025 16:56
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.

Fix generics on graph generator/ event generator
7 participants