Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-27164 iOS: Implement async Ti.Database.DB methods (8_1_X) #11034

Merged
merged 13 commits into from Jul 12, 2019

Conversation

sgtcoolguy
Copy link
Contributor

JIRA: https://jira.appcelerator.org/browse/TIMOB-27164

Description:
Backport of CR'd #11022

@build
Copy link
Contributor

build commented Jul 8, 2019

Fails
🚫 Tests have failed, see below for more information.
Messages
📖

💾 Here's the generated SDK zipfile.

📖 ❌ 4 tests have failed There are 4 tests failing and 455 skipped out of 3288 total tests.

Tests:

ClassnameNameTimeError
android.emulator.Titanium.Geolocation#reverseGeocoder()0.181
Error: expected false to equal true
at Assertion.fail (/node_modules/should/cjs/should.js:275:17)
      at Assertion.value (/node_modules/should/cjs/should.js:356:19)
      at Geolocation.<anonymous> (/ti.geolocation.test.js:277:33)
android.emulator.Titanium.Geolocation#forwardGeocoder()0.151
Error: expected false to equal true
at Assertion.fail (/node_modules/should/cjs/should.js:275:17)
      at Assertion.value (/node_modules/should/cjs/should.js:356:19)
      at Geolocation.<anonymous> (/ti.geolocation.test.js:257:33)
ios.Titanium.Geolocation#reverseGeocoder()0.118
Error: expected false to equal true
fail@file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/node_modules/should/cjs/should.js:275:23
value@file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/node_modules/should/cjs/should.js:356:23
file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/ti.geolocation.test.js:277:36
ios.Titanium.Geolocation#forwardGeocoder()0.154
Error: expected false to equal true
fail@file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/node_modules/should/cjs/should.js:275:23
value@file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/node_modules/should/cjs/should.js:356:23
file:///Users/build/Library/Developer/CoreSimulator/Devices/199A2DE6-3D76-4D30-9922-548438F207C9/data/Containers/Bundle/Application/DCA3B8A1-0B3F-4AF4-815F-20F58CE9B34B/mocha.app/ti.geolocation.test.js:257:36

Generated by 🚫 dangerJS against 061de98

Copy link
Contributor

@ssjsamir ssjsamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FR Passed, able to use the new DB implemented methods without any issues on iOS:

Ti.Database.DB.executeAsync(callback, query, parameters...);
Ti.Database.DB.executeAll(queries);
Ti.Database.DB.executeAllAsync(callback, queries);

Test Environment
MacOS Mojave version 10.14.4
Xcode 10.2.1
Node.js ^8.12.0
iPhone 6s Sim (12.1).
"NPM":"4.2.13","CLI":"7.1.0-master.24"

@sgtcoolguy sgtcoolguy merged commit 6484a18 into tidev:8_1_X Jul 12, 2019
@sgtcoolguy sgtcoolguy deleted the TIMOB-27164-8_1_X branch July 12, 2019 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants