-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[java] implement file downloads #12979
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## trunk #12979 +/- ##
=======================================
Coverage 56.49% 56.49%
=======================================
Files 86 86
Lines 5255 5255
Branches 187 187
=======================================
Hits 2969 2969
Misses 2099 2099
Partials 187 187 ☔ View full report in Codecov by Sentry. |
48720af
to
e219478
Compare
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.
I think the updated test is enough, you are testing both the bindings and the Grid.
If you wish, you could add unit tests for the bindings and then mock all the requests and responses, which I guess should go where the other RemoteWebDriver
tests are.
69a9ae4
to
9a594fb
Compare
9a594fb
to
2f39421
Compare
Hi @titusfortner, |
It works with the grid, not with the individual drivers. If you are local you can set whatever directory you want in the options. |
Status
Update: I re-implemented this because I realized it shouldn't use AutoService; no bazel changes required.
This code works, but it is in draft because:
I think I'm putting the interface and the implementation in the right directories, but bazel complains about AutoService, and I'm not sure I've added that dependency in the right placeI think the tests might need to get moved somewhere else, but to be honest, I'm not quite sure how to add this one to the test filesThe test I updated here is more of a unit test for the grid, so I think it should stay the same and I need to add this test someplace else, but I'm not sure where that someplace else needs to be. Advice appreciated.Description
getDownloadableFiles()
,downloadFile(filename)
anddeleteDownloadableFiles()
Motivation and Context
Implements #11657