kerou / android-active-record

Automatically exported from code.google.com/p/android-active-record
0 stars 0 forks source link

EntityTest#testCreateEntity is broken #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Include the tests in your Android test project
2. Run the tests as an Android JUnit Test
3. See the test fail

What is the expected output? What do you see instead?
junit.framework.AssertionFailedError: expected:<2> but was:<4>
at org.kroz.activerecord.EntityTest.testCreateEntity(EntityTest.java:82)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at 
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:43
0)
at 
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)

What version of the product are you using? On what operating system?
Product Version - Trunk
Android OS - 2.1-update1

Please provide any additional information below.
Included is a patch that fixes this issue.

Original issue reported on code.google.com by c.saunde...@gmail.com on 19 Jan 2011 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Vladimir.Kroz on 29 Mar 2011 at 8:40