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

add windows embedding test #12423

Merged
merged 1 commit into from
Oct 3, 2019
Merged

add windows embedding test #12423

merged 1 commit into from
Oct 3, 2019

Conversation

chunhtai
Copy link
Contributor


namespace flutter {
namespace testing {
void Win32FlutterWindowTest::OnFontChange() {
Copy link
Member

Choose a reason for hiding this comment

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

OnFontChanged or OnFontsDidChange sound more descriptive.

Copy link
Contributor Author

@chunhtai chunhtai Sep 26, 2019

Choose a reason for hiding this comment

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

I was following the pattern in


I think most of the pattern is On'message name'. The message for font changes is WM_FONTCHANGE.
If you think this is not a good pattern, i can update all of them

@chinmaygarde
Copy link
Member

Also, please amend the commit message to correct the typo.

@chunhtai chunhtai changed the title add wundows embedding test add windows embedding test Sep 26, 2019
"win32_flutter_window.h",
"win32_window.cc",
"win32_window.h",
"window_state.h",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this duplicating everything instead of depending on flutter_windows_source?

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

1 similar comment
@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

compile_host_script: |
cd %ENGINE_PATH%/src
python flutter/tools/gn --runtime-mode debug --unoptimized
ninja -C out/host_debug_unopt
test_host_script: |
cd $ENGINE_PATH/src
python flutter/testing/run_tests.py --type=engine --engine-filter=flutter_windows_unittests,client_wrapper_windows_unittests
Copy link
Contributor Author

@chunhtai chunhtai Sep 27, 2019

Choose a reason for hiding this comment

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

some of the unit tests fail on windows platform, I think only run relevant tests should be enough

@chunhtai chunhtai added the Work in progress (WIP) Not ready (yet) for review! label Sep 27, 2019
@chunhtai chunhtai force-pushed the issues/41004 branch 2 times, most recently from f1d95dd to 9f17c44 Compare September 27, 2019 21:48
@@ -90,7 +90,7 @@ task:
task:
gce_instance:
image_project: flutter-cirrus
image_name: flutter-engine-windows-server-2016-core
image_name: flutter-engine-windows-server-2016
Copy link
Contributor Author

@chunhtai chunhtai Oct 2, 2019

Choose a reason for hiding this comment

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

The windows unit test requires opengl to run, I updated it to use a gui version of image

@chunhtai chunhtai removed the Work in progress (WIP) Not ready (yet) for review! label Oct 3, 2019
@chunhtai
Copy link
Contributor Author

chunhtai commented Oct 3, 2019

This is ready for re review

@chunhtai chunhtai merged commit daf1eb9 into flutter:master Oct 3, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 3, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Oct 4, 2019
[email protected]:flutter/engine.git/compare/7d67e275ff82...8aa4732

git log 7d67e27..8aa4732 --no-merges --oneline
2019-10-03 [email protected] Fix Metal builds. (flutter/engine#12777)
2019-10-03 [email protected] Revert "Manage resource and onscreen contexts using separate IOSGLContext objects (#12277)" (flutter/engine#12773)
2019-10-03 [email protected] Roll src/third_party/dart afac6a3714..07a63a17a4 (6 commits)
2019-10-03 [email protected] roll buildroot to 01e9235 (flutter/engine#12771)
2019-10-03 [email protected] Create a package-able incremental compiler (flutter/engine#12681)
2019-10-03 [email protected] add windows embedding test (flutter/engine#12423)
2019-10-03 [email protected] Roll fuchsia/sdk/core/mac-amd64 from g-PD1... to wYLiQ... (flutter/engine#12770)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Nov 26, 2019
[email protected]:flutter/engine.git/compare/7d67e275ff82...8aa4732

git log 7d67e27..8aa4732 --no-merges --oneline
2019-10-03 [email protected] Fix Metal builds. (flutter/engine#12777)
2019-10-03 [email protected] Revert "Manage resource and onscreen contexts using separate IOSGLContext objects (flutter#12277)" (flutter/engine#12773)
2019-10-03 [email protected] Roll src/third_party/dart afac6a3714..07a63a17a4 (6 commits)
2019-10-03 [email protected] roll buildroot to 01e9235 (flutter/engine#12771)
2019-10-03 [email protected] Create a package-able incremental compiler (flutter/engine#12681)
2019-10-03 [email protected] add windows embedding test (flutter/engine#12423)
2019-10-03 [email protected] Roll fuchsia/sdk/core/mac-amd64 from g-PD1... to wYLiQ... (flutter/engine#12770)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
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.

4 participants