Skip to content

Add android test matrix for API Levels in simulator - #2052

Merged
jeromelaban merged 10 commits into
masterfrom
dev/jela/uitest-fixes
Nov 12, 2019
Merged

jeromelaban merged 10 commits into
masterfrom
dev/jela/uitest-fixes

Conversation

@jeromelaban

@jeromelaban jeromelaban commented Nov 8, 2019 •

Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Refactoring (no functional changes, no api changes)

What is the new behavior?

  • Update to latest Uno.UITest to stabilize android tests (network stream issues during app start)
  • Update all screenshot invocations to use TakeScreenshot
  • Split android tests app build and ui tests to enable matrix testing

Matrix testing for android is not working down to API level 21, as the simulator fails to start properly. Will be adjusted in a later PR.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Nov 8, 2019
@jeromelaban
jeromelaban force-pushed the dev/jela/uitest-fixes branch 6 times, most recently from 6fb57ee to 586cce2 Compare November 8, 2019 18:53
@github-actions github-actions Bot added the area/automation Categorizes an issue or PR as relevant to project automation label Nov 8, 2019
@jeromelaban
jeromelaban force-pushed the dev/jela/uitest-fixes branch from 0d66205 to ea6c8e9 Compare November 12, 2019 12:03
@gitpod-io

gitpod-io Bot commented Nov 12, 2019

Copy link
Copy Markdown

@jeromelaban
jeromelaban requested a review from dr1rrb November 12, 2019 12:07
@jeromelaban
jeromelaban marked this pull request as ready for review November 12, 2019 12:07
@jeromelaban jeromelaban added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Nov 12, 2019
@jeromelaban
jeromelaban merged commit 27da9b5 into master Nov 12, 2019
@jeromelaban
jeromelaban deleted the dev/jela/uitest-fixes branch November 12, 2019 21:10
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag that chose the
Android native popup over the managed PopupRoot. With the native
renderer dropped, managed popups (PopupRoot) are the only path.

Collapse the Android-gated call sites: drop the native-popup toggle from
the ContentDialog_TextBox sample (code-behind + android:CheckBox), the
runtime tests, and neutralize FeatureConfigurationHelper.UseNativePopups
to a no-op.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __APPLE_UIKIT__ || __ANDROID__) FeatureConfiguration
flag tuning native list scrolling. No call sites; absent from the Skia
public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Remove the native-only (#if __ANDROID__) NativeListViewBase
FeatureConfiguration class and its RemoveItemAnimator, ForceRecycleOnDrop
and UseNativeSnapHelper flags, which tuned the dropped Android
UnoRecyclerView. Neutralize FeatureConfigurationHelper.UseListViewAnimations
to a no-op and drop its now-unused MSTest using.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning Android
pointer timestamp conversion. No call sites; absent from the Skia public
surface (the empty container class is retained).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag toggling the
legacy Android hardware-keyboard InputScope validation. No call sites;
absent from the Skia public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning the
Android native scrollbar thumb fade delay. Drop the lone assignment in
the SamplesApp test bootstrap (keeping the adjacent ExtendViewIntoTitleBar
setup).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning Android
pointer timestamp conversion. No call sites; absent from the Skia public
surface (the empty container class is removed too).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag toggling the
legacy Android hardware-keyboard InputScope validation. No call sites;
absent from the Skia public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning the
Android native scrollbar thumb fade delay. Drop the lone assignment in
the SamplesApp test bootstrap (keeping the adjacent ExtendViewIntoTitleBar
setup).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Remove the native-only (#if __ANDROID__) NativeListViewBase
FeatureConfiguration class and its RemoveItemAnimator, ForceRecycleOnDrop
and UseNativeSnapHelper flags, which tuned the dropped Android
UnoRecyclerView. Neutralize FeatureConfigurationHelper.UseListViewAnimations
to a no-op and drop its now-unused MSTest using.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning Android
pointer timestamp conversion. No call sites; absent from the Skia public
surface (the empty container class is removed too).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag toggling the
legacy Android hardware-keyboard InputScope validation. No call sites;
absent from the Skia public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning the
Android native scrollbar thumb fade delay. Drop the lone assignment in
the SamplesApp test bootstrap (keeping the adjacent ExtendViewIntoTitleBar
setup).

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Native-only (#if __ANDROID__) FeatureConfiguration flag tuning the
dropped Android native renderer. No call sites; absent from the Skia
public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
Remove the native-only (#if __ANDROID__) FeatureConfiguration flags
FrameworkElement.AndroidUseManagedLoadedUnloaded and
InvalidateNativeCacheOnRemeasure, which tuned the dropped Android native
renderer. Drop the Android-only Given_Grid.When_Grid_Remeasure test that
exercised the measure-cache flag (uno#12315), and its now-unused
Uno.Disposables using.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Xiaoy312 added a commit that referenced this pull request Jun 30, 2026
…nLayoutSubViews

Native-only (#if __APPLE_UIKIT__) FeatureConfiguration flag tuning the
dropped iOS/UIKit native renderer. No call sites; absent from the Skia
public surface.

Part of #2052.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants