Commit Graph

1568 Commits

Author SHA1 Message Date
James Lin
4f3b70671c Add assert messages 2019-08-15 16:47:20 -07:00
James Lin
e3ffa7689a Update with review feedback from dnfield and jonahwilliams 2019-08-15 16:47:20 -07:00
James Lin
c02b805cdc Give _runFlutterTest the ability to validate command output
In another change (#37646), I want to test that a test fails and
prints expected output.  I didn't see an existing way to do that, so
I modified `_runFlutterTest` and `runCommand` to allow capturing the
output.  Currently capturing and printing output are mutually
exclusive since we don't need both.

Some awkward bits:
* There already exists a `runAndGetStdout` function that is very
  similar to `runCommand`, and this change makes the conceptual
  distinction more confusing.

* `runFlutterTest` has multiple code paths for different
  configurations.  I don't understand what the different paths are
  for, and I added output checking only along one of them.
2019-08-15 16:47:20 -07:00
Dan Field
2a6f1b7342 Fix up iOS Add to App tests (#38603) 2019-08-14 23:01:17 -07:00
Tong Wu
d067059399 Fix a smoke test. (#38579) 2019-08-14 15:29:50 -07:00
Tong Wu
066738324e Add smoke tests to test every commit on a Catalina host. (#38567)
* Add a smoke test to test every commit on a Catalina host.
* Also add a hot-reload test.

Related issue: #36290.
2019-08-14 15:09:35 -07:00
Francisco Magdaleno
760635e6db [linux] Receives the unmodified characters obtained from GLFW (#34752) 2019-08-13 18:14:36 -07:00
David Shuckerow
9615eb99aa Tests for flutter test [some_directory] (#36866)
* Add a test for a directory instead of a single test.

* Add test data to a child directory to test the command.

* Add test data to a child directory to test the command.

* Add test data to a child directory to test the command.

* Correct test.
2019-08-13 14:57:43 -07:00
James Lin
6f7630a94f Fix some typos in flutter/dev/bots/README.md 2019-08-12 10:02:02 -07:00
Emmanuel Garcia
83a8a575ee Update dependencies (#37971) 2019-08-10 12:38:20 -07:00
jmagman
78cca6250a Always install the ephemeral engine copy instead of fetching from CocoaPods specs (#37906) 2019-08-09 17:37:11 -07:00
Michael Klimushyn
821602aef3 Revert "Moved the default BinaryMessenger instance to ServicesBinding (#37489)" (#37983)
This reverts commit 92ef2b9ce1.

This requires either runApp() or
WidgetsFlutterBinding.ensureInitialized() to have been called before
using any MethodChannels. Plugins broadly rely on MethodChannels and
right now there's no general requirements that they be constructed
within the runApp call, so the ecosystem breakages from this are broader
than originally thought. Reverting for now.
2019-08-09 16:30:30 -07:00
Michael Goderbauer
52fb11ec23 Unmark devicelab tests as flaky that are no longer flaky (#37872) 2019-08-09 10:53:37 -07:00
adazh
92ef2b9ce1 Moved the default BinaryMessenger instance to ServicesBinding (#37489) 2019-08-09 10:13:40 -07:00
Yegor
9bc298deb6 update dependencies; add a Web smoke test (#37816)
update dependencies; add a Web smoke test
2019-08-09 09:58:49 -07:00
Christopher Fujino
771c843f56 have android_semantics_testing use adb from ENV provided android sdk (#37828) 2019-08-08 13:58:51 -07:00
Dan Field
2adb042cb8 Remove no-longer-needed scripts (#37881) 2019-08-08 13:45:49 -07:00
jmagman
5ed3b418a1 Add COMPILER_INDEX_STORE_ENABLE=NO to macOS build and tests (#37806) 2019-08-07 18:02:06 -07:00
sjindel-google
abe240982f Don't mark system_debug_ios as flaky. (#37760) 2019-08-07 10:39:45 +02:00
Emmanuel Garcia
c08a3c7a0a Add metadata to indicate if the host app contains a Flutter module (#37731) 2019-08-06 22:38:09 -07:00
Dan Field
aeccd20697 Revert "remove unused script (#37714)" (#37730)
This reverts commit aa2c93f8c4.
2019-08-06 16:17:56 -07:00
Dan Field
aa2c93f8c4 remove unused script (#37714) 2019-08-06 15:58:07 -07:00
walsha2
107f36548a Closes #37593 Add flutter_export_environment.sh to gitignore (#37595) 2019-08-06 13:18:41 -07:00
sjindel-google
0564f0a812 Tests for Engine ensuring debug-mode apps are attached on iOS. (#37043)
This PR contains the tests for flutter/engine#10186.
2019-08-06 20:08:09 +02:00
Emmanuel Garcia
f3690d153b Update packages 2019-08-06 06:19:42 -07:00
Jonah Williams
a785db78fb Reland "Integrate dwds into flutter tool for web support (#34252)" (#37649)" (#37650) 2019-08-05 16:51:57 -07:00
Jonah Williams
433436e1ee Revert "Integrate dwds into flutter tool for web support (#34252)" (#37649) 2019-08-05 15:58:04 -07:00
Jonah Williams
4ccd81199f Integrate dwds into flutter tool for web support (#34252) 2019-08-05 12:41:58 -07:00
Emmanuel Garcia
40c5cc9708 Find the app bundle when the flavor contains underscores (#37457) 2019-08-02 16:02:46 -07:00
Jenn Magder
975156e91c If xcode_backend.sh script fails or substitute variables are missing, fail the host Xcode build (#37449) 2019-08-02 13:01:25 -07:00
Jenn Magder
af1bbc4374 Disable flaky test (#37442) 2019-08-01 17:22:17 -07:00
chunhtai
eddcc6bb25 reland Enable selection by default for password text field and expose api to turn on and off context menu options (#37324) 2019-08-01 14:19:04 -07:00
Tong Mu
5bb8d8fcde Split Mouse from Listener (#36217)
- Splits on{Enter,Hover,Exit} from Listener to MouseRegion. Deprecated API is kept for compatibility.
- Splits on{Enter,Hover,Exit} from RenderPointerListener to RenderMouseRegion.
2019-08-01 11:06:50 -07:00
Keerti Parthasarathy
f3674ccfd7 Update dartdoc to 28.4 (#37314) 2019-07-31 13:41:27 -07:00
Jenn Magder
1bcaa15018 Make podhelper.rb a template to avoid passing in the module name (#37276) 2019-07-31 11:34:22 -07:00
liyuqian
e77237d6d3 Reland "Fix the first frame logic in tracing and driver (#35297)" (#37192)
This relands https://github.com/flutter/flutter/pull/35297

The followings have been done to fix the broken tests:
  1. Add `didSendFirstFrameRasterizedEvent` extension and its tests
  2. Wait for `didSendFirstFrameRasterizedEvent` instead of
     `didSendFirstFrameEvent` during start up tests
  3. Mark missed (probably newly added) start up tests as flaky
2019-07-31 11:01:52 -07:00
Michael Goderbauer
9a01ed2a55 Revert "reland Enable selection by default for password text field and expose api to turn on and off context menu options (#34676) (#37183)" (#37295)
This reverts commit 7eb09a842e.
2019-07-31 15:34:22 +02:00
chunhtai
7eb09a842e reland Enable selection by default for password text field and expose api to turn on and off context menu options (#34676) (#37183)
This reverts commit 48c7090f3c.
2019-07-30 14:19:10 -07:00
Emmanuel Garcia
bd02e4f573 Test that modules built as AAR contain the right assets and artifacts (#37206) 2019-07-30 13:38:06 -07:00
xster
dfad03952f do not strip symbols when building profile (#37210) 2019-07-30 13:09:40 -07:00
Jenn Magder
bd47a31e32 Vend Flutter module App.framework as a local CocoaPod pod to be installed by a host app (#36793) 2019-07-30 09:58:39 -07:00
Dan Field
47eeaac1a0 Update complex_layout.cmx (#37207)
These fields aren't needed - flutter_runner registers for these on behalf of the mod.
2019-07-30 08:30:12 -07:00
liyuqian
a0b69f3070 Mark backdrop_filter_perf test nonflaky (#37030) 2019-07-29 21:36:42 -07:00
Dan Field
78c6dfd29d add cmx for complex_layout (#37205) 2019-07-29 17:00:57 -07:00
Hans Muller
82f8ded8d2 Add support for the Kannada (kn) locale (#37026) 2019-07-29 16:21:19 -07:00
Emmanuel Garcia
9f39cad4ed Allow flavors and custom build types in host app (#36805)
Fixes these issues:
#30916
#34089
#36479
#29648
2019-07-29 09:26:41 -07:00
Kate Lovett
616794fca7 Re-land "Part 1: Skia Gold Testing" (#36103) 2019-07-28 12:26:06 -07:00
Matt Carroll
d003aa3573 Added missing png's to demo splash screen project (was caused by global gitignore). (#36997) 2019-07-26 22:11:24 -07:00
Jonah Williams
3068fc4f7c Revert "Fix the first frame logic in tracing and driver (#35297)" (#37027)
This reverts commit 68fc7231b3.
2019-07-26 13:08:36 -07:00
Jason Simmons
a3a350df1c devicelab: replace the FLUTTER_ENGINE environment variable with the new local engine flags (#36969) 2019-07-26 10:06:56 -07:00