Skip to content
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

Fix databinding wrong import #294

Merged
merged 1 commit into from
Sep 23, 2017
Merged

Fix databinding wrong import #294

merged 1 commit into from
Sep 23, 2017

Conversation

elihart
Copy link
Contributor

@elihart elihart commented Sep 23, 2017

Fix for #290

The issue was that the javapoet class name for the epoxy model was static final ClassName

ClassName.get(PKG_EPOXY,"DataBindingEpoxyModel.DataBindingHolder");

Fix was to split the simple names into separate parameters so javapoet could properly import it

get(PKG_EPOXY,"DataBindingEpoxyModel","DataBindingHolder");

Subtle, tricky bug.

Tests did not catch this because everything was in the main epoxy package, so the import wasn't needed.

most of this pr is moving all the integration test classes to a new package so we are more likely to catch other bugs like this.

@elihart elihart merged commit dcf37e5 into master Sep 23, 2017
@elihart elihart deleted the eli-databinding_import_fix branch September 23, 2017 21:40
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.

1 participant