-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Upload tests #2086
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
Upload tests #2086
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2086 +/- ##
=========================================
+ Coverage 4.02% 5.61% +1.59%
=========================================
Files 226 225 -1
Lines 11467 11371 -96
Branches 1064 1063 -1
=========================================
+ Hits 461 638 +177
+ Misses 10972 10681 -291
- Partials 34 52 +18
Continue to review full report at Codecov.
|
2a01b5e
to
d97cc37
Compare
class GPSExtractorTest { | ||
|
||
@Test | ||
fun getCoords() { |
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.
Should these empty tests be removed?
Looks good to me. Happy to merge after the empty tests for GPSExtractor are cleaned up. :) |
@misaochan Have just updated the PR addressing the comment. |
Thanks @maskaravivek ! |
Description (required)
Fixes Part of #705
What changes did you make and why?
Added unit tests.
Have added test cases for whatever code flows could be tested with no or minor refactoring. Haven't taken up major refactoring to accommodate more test cases.
FileProcessor
cannot be tested currently as it creates instances ofGPSExtractor
andFile
which makes it impossible to mock.GPSExtractor
again cannot be tested as it is creating instances ofExifInterface
Tests performed (required)
Tests pass. If both the checks for this PR pass, then it can be merged to master. No functionality has been changed.