Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@blasten
Copy link

@blasten blasten commented Apr 24, 2020

Adds initial unit tests to the Android external view embedder. I created a separate package the shell/platform/android:* cannot be compiled with the host toolchain.

Fixes flutter/flutter#55269

@blasten blasten requested a review from chinmaygarde April 24, 2020 05:41
@blasten blasten marked this pull request as ready for review April 24, 2020 05:41
@blasten blasten requested a review from amirh April 24, 2020 05:42
@auto-assign auto-assign bot requested a review from liyuqian April 24, 2020 05:43
Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

Nicely done.


import("//flutter/testing/testing.gni")

source_set("external_view_embedder") {
Copy link
Member

Choose a reason for hiding this comment

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

It may be a good idea now to start thinking about unifying all the external view embedder implementations into a common utility that can be configured per the needs of specific embedders. Once fully realized, this is going to look very similar to the iOS and custom embedder implementations. And, at least the custom embedder implementation has a tests that may be useful for this effort.

Copy link
Member

Choose a reason for hiding this comment

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

This is an excellent clean start to a clean room implementation however. So feel free to bring in the other stuff later.

Copy link
Author

Choose a reason for hiding this comment

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

For sure. This change will help shape the next action items. :)

@blasten blasten merged commit eed05dd into flutter:master Apr 27, 2020
@blasten blasten deleted the add_android_unittests branch April 27, 2020 03:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android external view embedder should have unit tests

3 participants