Prevent DebugLog logs messages when running code under JUnit. #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi.
I've been getting the next exception when running a JUnit test which calls methods annotated with
@RxLogObservable
I've been able to fix the error by adding the next configuration test to gradle:
This pull request tries to fix that. I've been able to compile the project and run successfully the unit tests of "frodo-runtime" module. But it seems that DebugLog class isn't covered by any of them (probably not need for that until now).
Also, I don't know how can I test this new functionality from the android sample app. I couldn't connect the "frodo-plugin" gradle locally with the sample app. Indeed, I don't even know if that's possible (I have a very limited knowledge about gradle plugins).