[TIMOB-4338] iOS: Generate coverage data
| GitHub Issue | n/a |
|---|---|
| Type | Sub-task |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-07-20T16:03:42.000+0000 |
| Affected Version/s | Release 1.7.0 |
| Fix Version/s | Sprint 2011-28, Release 1.8.0 |
| Components | iOS |
| Labels | coverage |
| Reporter | Marshall Culpepper |
| Assignee | Stephen Tramer |
| Created | 2011-06-06T14:31:25.000+0000 |
| Updated | 2017-03-03T18:50:56.000+0000 |
Able to duplicate the 'Ti.Buffer' failure on iPhone: - Load drillbit with --platforms=iphone,android - Run all tests in sequence Has this interesting failure: testAutoEncode true 323 Success testAutoEncode false 258 Result of expression 'httpClient.open' [] is not a function
This bug only appears when running the full buffer.js test - if you slice down the testAutoEncode bug in any way by removing a buffer allocation, the test only runs once, and passes. The second run never occurs. This leads me to believe that it's probably a sneaky memory management bug, where garbage collection is somehow screwing with things (replacing a function with an empty array, AND not correctly shifting the test off of the tests queue).
Closing ticket due to time passed and irrelevance of the issue.