[TIMOB-3647] Database drillbit test fails on Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-04-22T09:25:06.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Release 1.7.0, Sprint 2011-16 |
Components | Android |
Labels | android, database |
Reporter | Jacob Relkin |
Assignee | Don Thorp |
Created | 2011-04-21T15:30:36.000+0000 |
Updated | 2012-02-09T14:07:01.000+0000 |
Description
When running the Database drillbit test on an Android emulator, the testTypedGettersAndSetters test fails on line 292 with the following message:
Line 292 in testTypedGettersAndSetters: should be: "0", was: "0.5555"
valueOf(resultSet.fieldByName('f', Ti.Database.FIELD_TYPE_INT)).shouldBe(parseInt(counter * float_factor))
This appears to be an issue with Android's implementation of fieldByName
because it is returning a float
(0.555
) when we're asking for an int
(0
).
Triaging.
The tests run clean on 2.1 and 2.2 emulators. I tried it on OSX and Opie tried it on Windows with a 2.1 emulator. I use this command line to launch drillbit for this test.
closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)