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

refactor(android)(8_3_X): ProgressIndicator dialog handling #11143

Merged
merged 4 commits into from Aug 22, 2019

Conversation

- [TIMOB-27104] ProgressIndicator logs "WindowLeaked" exception when hiding dialog and closing window at same time as of 8.0.2
- [TIMOB-27308] Determinant ProgressIndicator ignores "value" property before shown
- [TIMOB-27309] Cannot re-show ProgressIndicator dialog if auto-closed by previous window
- Removed dialog's handleMessage() related code. No longer needed since JS runs on main UI thread.
@jquick-axway jquick-axway added this to the 8.3.0 milestone Aug 13, 2019
@build build requested a review from a team August 13, 2019 01:16
* Please see the LICENSE included with this distribution for details.
*/
/* eslint-env mocha */
/* global Titanium */
Copy link
Contributor

Choose a reason for hiding this comment

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

  • 🚫 tests/Resources/ti.ui.android.progressindicator.addontest.js line 8 – 'Titanium' is already defined as a built-in global variable. (no-redeclare)
  • ⚠️ tests/Resources/ti.ui.android.progressindicator.addontest.js line 8 – 'Titanium' is defined but never used. (no-unused-vars)

@build
Copy link
Contributor

build commented Aug 13, 2019

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

💾 Here's the generated SDK zipfile.

📖 ❌ 1 tests have failed There are 1 tests failing and 472 skipped out of 4336 total tests.
📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.

Tests:

ClassnameNameTimeError
ios.Titanium.Database#executeAllAsync() does not allow DB to be GC'd120.006
Error: timeout of 120000ms exceeded
file:///Users/build/Library/Developer/CoreSimulator/Devices/29E1514E-93D8-4A4B-A306-F232955340BA/data/Containers/Bundle/Application/F1E08D27-1B4C-47CA-BAB1-3FD8CEE19BA8/mocha.app/ti-mocha.js:4290:32

Generated by 🚫 dangerJS against 6a4d0f8

Copy link
Contributor

@garymathews garymathews left a comment

Choose a reason for hiding this comment

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

CR: PASS

@ssekhri
Copy link

ssekhri commented Aug 14, 2019

FR Passed. The progress indicator works as expected.
The value set before the show() is shown on the progress indicator. Also the progress dialog is successfully re-shown and no error is shown in logs.
Verified on:
Mac OS 10.14.6
Ti SDK: 8.3.0.v20190814155403
Appc CLI: 7.1.0
Node: 10.5.0
JDK: 10.0.2
Xcode: 10.3
Studio: 5.1.3.201907112159

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

5 participants