[ALOY-1158] Alloy Model/Collection tests need to be updated for supporting also Backbone 1.1.2
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-10-24T14:56:28.000+0000 |
Affected Version/s | Alloy 1.6.0 |
Fix Version/s | Alloy 1.6.0 |
Components | Testing |
Labels | n/a |
Reporter | Federico Casali |
Assignee | Federico Casali |
Created | 2014-10-08T19:05:55.000+0000 |
Updated | 2015-03-25T18:57:39.000+0000 |
PR: https://github.com/appcelerator/alloy/pull/590 I've updated the following projects, adding the commented-out collection-extension code as originally included in test/apps/models/todo. samples/todo test/apps/models/binding_dashboard test/apps/models/binding_destroy test/apps/models/binding_scrollableview test/apps/models/binding_tableview test/apps/models/journal test/apps/models/login test/apps/models/properties test/apps/models/sql_idAttribute test/apps/models/sql_keywords test/apps/models/sql_no_migrations test/apps/models/sql_preload test/apps/models/sql_queries test/apps/models/sql_queries test/apps/testing/ALOY\-1000 test/apps/testing/ALOY\-1033 test/apps/testing/ALOY\-1080 test/apps/testing/ALOY\-1127 test/apps/testing/ALOY\-440 test/apps/testing/ALOY\-440c test/apps/testing/ALOY\-443 test/apps/testing/ALOY\-503 test/apps/testing/ALOY\-594 test/apps/testing/ALOY\-609 test/apps/testing/ALOY\-644 test/apps/testing/ALOY\-691 test/apps/testing/ALOY\-753 test/apps/testing/ALOY\-817 test/apps/testing/ALOY\-829 test/apps/testing/ALOY\-874 test/apps/testing/ALOY\-895 test/apps/testing/ALOY\-900 test/apps/testing/ALOY\-913 test/apps/testing/ALOY\-932 test/apps/widgets/models/widgets/alloy.datatable Functional test would be to run any of those projects. All should run as-is with Backbone 0.9.2. Then, edit the model definition of the selected test app(s) and edit the config.json file to add the key "backbone":"1.1.2" and run the test app(s) again. They should run with Backbone 1.1.2.
PR merged.
Reopen to backport to 1_6_X branch
1_6_X: https://github.com/appcelerator/alloy/pull/603
PR merged
Verified fixed using: Titanium SDK 4.0.0.v20150323131014 Studio 4.0.0.201503231407 Appc NPM: 0.3.34 Appc CLI 0.2.187 Alloy 1.6.0-alpha Samples/tests run as expected with
"backbone":"1.1.2"
set inconfig.js
.