Skip to content

Conversation

big-andy-coates
Copy link
Contributor

@big-andy-coates big-andy-coates commented Dec 27, 2022

fixes: #2839

The task was incorrectly defining inputs and outputs, resulting in the task being marked 'UP-TO-DATE' and not re-running when the input changed or the output was removed.

The task now copies the 'raw' file into a new output directory and includes that directory in the jar.

This corrects the task inputs and outputs, while also avoiding warnings about shared output directories.

The task was incorrectly defining inputs and outputs, resulting in the task being marked 'UP-TO-DATE' and not re-running when the input changed or the output was removed.

The task now copies the 'raw' file into a new output directory and includes that directory in the jar.

This corrects the task inputs and outputs, while also avoiding warnings about shared output directories.
@big-andy-coates big-andy-coates marked this pull request as ready for review December 27, 2022 05:52
@big-andy-coates
Copy link
Contributor Author

@TimvdLippe I believe you changed this code recently. When you have a moment, I'd appreciate a review :)

@TimvdLippe
Copy link
Contributor

The changes lgtm, but the build fails on it I think. Not sure what is wrong with it though

@big-andy-coates
Copy link
Contributor Author

Ill take a look in a bit

@big-andy-coates
Copy link
Contributor Author

@TimvdLippe, green build now...

@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2022

Codecov Report

Base: 84.84% // Head: 84.92% // Increases project coverage by +0.07% 🎉

Coverage data is based on head (4071ce5) compared to base (aa6c339).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2840      +/-   ##
============================================
+ Coverage     84.84%   84.92%   +0.07%     
- Complexity     2874     2875       +1     
============================================
  Files           327      327              
  Lines          8769     8769              
  Branches       1062     1062              
============================================
+ Hits           7440     7447       +7     
+ Misses         1052     1046       -6     
+ Partials        277      276       -1     
Impacted Files Coverage Δ
...on/bytebuddy/InlineDelegateByteBuddyMockMaker.java 69.78% <0.00%> (+1.92%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

Awesome thank you!

@TimvdLippe TimvdLippe merged commit bd9947f into mockito:main Dec 27, 2022
@big-andy-coates big-andy-coates deleted the mock-inline-rawe branch December 29, 2022 05:00
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.

Broken build: MockMethodDispatcher.raw not being built
3 participants