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

Errors in tests #3

Closed
RichardGuion opened this issue May 7, 2014 · 4 comments
Closed

Errors in tests #3

RichardGuion opened this issue May 7, 2014 · 4 comments
Labels

Comments

@RichardGuion
Copy link
Contributor

Just curious, I see some errors when I run the tests currently. Is that intentional, to show us how errors will look in the reports?

Example:
gradlew :UnitTestsRobolectric:testDebug

:UnitTestsRobolectric:testDebug

com.example.activities.DatabaseActivityTest > test_shouldResetAllInputFields FAILED
java.lang.UnsupportedClassVersionError at DatabaseActivityTest.java:64

@RichardGuion
Copy link
Contributor Author

./gradlew :ComponentTestsRobolectric:testDebug

:ComponentTestsRobolectric:testDebug

com.example.component.tests.MainActivitySpec > testShouldUseCorrectLayout FAILED
java.lang.UnsupportedClassVersionError at MainActivitySpec.java:26

com.example.component.tests.MainActivitySpec > testShouldShowText FAILED
java.lang.UnsupportedClassVersionError at MainActivitySpec.java:31

2 tests completed, 2 failed
:ComponentTestsRobolectric:testDebug FAILED

@nenick
Copy link
Owner

nenick commented May 7, 2014

It wasn't my intention to show how to produce error ;)

Travis buildserver says all tests are successful. So my question is: what is your operation system, which java version use you and have already searched for similar errors on pure java reported by other users

@RichardGuion
Copy link
Contributor Author

Using java version "1.6.0_65" with Mac OS X Mavericks.

Will have to investigate later. Not a big problem now!

@nenick
Copy link
Owner

nenick commented May 8, 2014

Ok try java 7 that's my used version and I also saw issues at a co worker with java 6 and robolectric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants