[ https://issues.apache.org/jira/browse/CB-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-1793. ------------------------------- Resolution: Cannot Reproduce I ran these recently and only the Contact ones failed (they are TODO:implement me tests) > Fix Objective-C unit tests > -------------------------- > > Key: CB-1793 > URL: https://issues.apache.org/jira/browse/CB-1793 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.2.0 > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Fix For: 2.4.0 > > > 2 suites failed (CDVLocalStorage, FileTransfer). ContactTests failures are > expected. > 4 CDVLocalStorageTests failed: > Test Suite 'CDVLocalStorageTests' started at 2012-10-31 22:37:53 +0000 > Test Case '-[CDVLocalStorageTests testBackupAndRestore]' started. > 2012-10-31 15:37:53.833 CordovaLibApp[17467:c07] Multi-tasking -> Device: > YES, App: YES > 2012-10-31 15:37:53.837 CordovaLibApp[17467:c07] Deprecated: BackupWebStorage > boolean property is a string property now (none, local, cloud). A boolean > value of 'true' will be mapped to 'cloud'. Consult the docs: > http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS > 2012-10-31 15:37:53.992 CordovaLibApp[17467:c07] -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Unknown.m:0: error: -[CDVLocalStorageTests testBackupAndRestore] : > -[__NSCFBoolean isEqualToString:]: unrecognized selector sent to instance > 0x288a95c > Test Case '-[CDVLocalStorageTests testBackupAndRestore]' failed (0.164 > seconds). > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired1]' started. > 2012-10-31 15:37:53.995 CordovaLibApp[17467:c07] Multi-tasking -> Device: > YES, App: YES > 2012-10-31 15:37:53.996 CordovaLibApp[17467:c07] Deprecated: BackupWebStorage > boolean property is a string property now (none, local, cloud). A boolean > value of 'true' will be mapped to 'cloud'. Consult the docs: > http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS > 2012-10-31 15:37:53.999 CordovaLibApp[17467:c07] -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Unknown.m:0: error: -[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired1] : -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired1]' failed (0.017 seconds). > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired2]' started. > 2012-10-31 15:37:54.012 CordovaLibApp[17467:c07] Multi-tasking -> Device: > YES, App: YES > 2012-10-31 15:37:54.015 CordovaLibApp[17467:c07] Deprecated: BackupWebStorage > boolean property is a string property now (none, local, cloud). A boolean > value of 'true' will be mapped to 'cloud'. Consult the docs: > http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS > 2012-10-31 15:37:54.018 CordovaLibApp[17467:c07] -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Unknown.m:0: error: -[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired2] : -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_changeRequired2]' failed (0.007 seconds). > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_noChangeRequired]' started. > 2012-10-31 15:37:54.033 CordovaLibApp[17467:c07] Multi-tasking -> Device: > YES, App: YES > 2012-10-31 15:37:54.034 CordovaLibApp[17467:c07] Deprecated: BackupWebStorage > boolean property is a string property now (none, local, cloud). A boolean > value of 'true' will be mapped to 'cloud'. Consult the docs: > http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%20Settings%20for%20iOS > 2012-10-31 15:37:54.037 CordovaLibApp[17467:c07] -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Unknown.m:0: error: -[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_noChangeRequired] : -[__NSCFBoolean > isEqualToString:]: unrecognized selector sent to instance 0x288a95c > Test Case '-[CDVLocalStorageTests > testVerifyAndFixDatabaseLocations_noChangeRequired]' failed (0.005 seconds). > Test Suite 'CDVLocalStorageTests' finished at 2012-10-31 22:37:54 +0000. > Executed 4 tests, with 4 failures (4 unexpected) in 0.193 (0.208) seconds > FileTransfer failed in test_upload_chunked. Actually it hangs since we are > trying to upload to Apache.org (which we can't upload to of course) - ideally > it should timeout quickly and fail, and not hang. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira