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

Cannot use fest-assert for POJO Unit tests in an Android project #168

Open
cperry-gpsw opened this issue Jul 20, 2015 · 2 comments
Open

Comments

@cperry-gpsw
Copy link

Since there is no java.awt included in Android when we try to do a test compile we see the following:

Error:(22, 5) Gradle: error: cannot access BufferedImage
class file for java.awt.image.BufferedImage not found

Can we get a module that is stripped of java.awt and is NOT targeting Android classes but will work with Android?

@cperry-gpsw
Copy link
Author

Hmmm... looks like 2.0M8 fixes this? Just looked at the release notes.

Should I be using fest-assert or fest-assert-core?

@joel-costigliola
Copy link
Contributor

you could try assertj-core 1.x, it's android compatible or even better https://github.com/square/assertj-android.

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

No branches or pull requests

2 participants