Move and port tests from EventBusTest to EventBus module#283
Move and port tests from EventBusTest to EventBus module#283greenrobot-team wants to merge 3 commits intogreenrobot:plain-javafrom greenrobot-team:plain-java
Conversation
|
There are no mirrored classes in EventBusTest project, like in essentials project. I found that it works fine without them: both Android Studio and gradle take classes from the main project and run them as they would be in EventBusTest project. Otherwise all the tests will run twice: one for original version and one for generated. Alex |
|
I leave the comment here. It is not related to the tests but is related to the Logger. |
This is the fix for #279:
50% of the tests are tests for EventBus with Subscriber Index: it makes sense to run them only with Annotation processing support. That is not yet supported in EventBus for JVM (and there is no plan for now). So these tests are remained in EventBusTest project.
The first two commits contain required changes to the core project.