Commit graph

1608 commits

Author SHA1 Message Date
Andrew Brogdon 5400323648
Updates CORS origin for snippets. (#39780) 2019-09-05 16:08:48 -07:00
Devon Carew 57e6042f68
update to the latest package:dwds (#39834) 2019-09-05 09:50:10 -07:00
Tong Wu b9d9156fa6
These Catalina tests are no longer flaky. (#39772) 2019-09-04 12:49:10 -07:00
Emmanuel Garcia d230234d67
Revert Maven dependencies (#39747) (39157) (#39784) 2019-09-03 17:49:10 -07:00
Harry Terkelsen d33cf11556
Automatically generated registrants for web plugins (#39628)
* WIP on web plugin registry

* WIP on registering plugins

* WIP on web plugin registration

* Only generate `package:flutter_web_plugins` imports if plugins are
defined

* Add parsing test

* Add documentation

* Fix analyzer warnings

* add license headers

* Add tests for package:flutter_web_plugins

* Run `flutter update-packages --force-upgrade`

* Fix analyzer errors

* Fix analyzer error in test

* Update copyright and remove flutter SDK constraints

* Enable tests since engine has rolled

* add flutter_web_plugins tests to bots

* Create an empty .packages file for WebFs test
2019-09-03 10:37:34 -07:00
Jenn Magder 0b93c96f52
Remove bitcode=NO from add-to-app flows (#39503) 2019-09-03 10:28:19 -07:00
liyuqian 6e555a9c34
Mark flutter_gallery__transition_perf as non-flaky (#39580)
One of our linux/android Moto G4 has alerts (emergency, amber, etc.)
turned on. That's probably the cause of the flakiness. I've turned it
off.

Let's mark this as non-flaky and see if it's fixed. If not, I'll move it
to mac/android and see if that fixes the flakiness.

I think the most important thing to do right now is to mark it as
non-flaky so those who really break the test could get a notification.
2019-09-03 09:36:24 -07:00
Keerti Parthasarathy 0ed3242a63
Update dartdoc to 0.28.5 (#39581) 2019-09-03 09:26:14 -06:00
Emmanuel Garcia b63cb44105
Use new Maven artifacts from Gradle (#39157) 2019-09-02 10:35:17 -07:00
Jonah Williams 43e7c55900
disable low value windows tests (#39626) 2019-09-02 01:17:26 -07:00
Jonah Williams ad2c3522f3
disable low value linux tests (#39598) 2019-08-30 20:22:09 -07:00
Christopher Fujino 413475acd6
Revert "Revert "fix recursiveCopy to preserve executable bit (#39505)" (#39588)" (#39594)
This reverts commit 61eab16c37.
2019-08-30 16:56:13 -07:00
Christopher Fujino 61eab16c37
Revert "fix recursiveCopy to preserve executable bit (#39505)" (#39588)
This reverts commit 8ec2c5828d.
2019-08-30 15:03:12 -07:00
Christopher Fujino 8ec2c5828d
fix recursiveCopy to preserve executable bit (#39505) 2019-08-30 14:13:36 -07:00
Phil Quitslund 37846b032f
migrate from slow async io calls (#39515)
* migrate from slow async io calls
2019-08-29 16:47:10 -07:00
Jonah Williams d2f70a6d20
kill leaked chrome processes (#39514) 2019-08-29 14:28:37 -07:00
Jonah Williams 4984d1a33d
update packages (#39429) 2019-08-28 17:04:07 -07:00
keyonghan 18293802bd
Update README.md (#39448)
fix type: bin/tests -> bin/tasks
2019-08-28 16:59:45 -07:00
Michael Goderbauer 0b23634fb3
Do not hide .git in zip for Windows (#39432) 2019-08-28 15:20:47 -07:00
liyuqian c1cb68004a
Move ios tests to the right section (#39363) 2019-08-28 10:33:43 -07:00
Andrew Brogdon aff16348e7
Adding header rule to FB hosting for API docs. (#39345) 2019-08-28 10:21:15 -07:00
Tong Wu a690b0b8e2
[devicelab] Reland adding smoke tests for Catalina/Android testing (#39361) 2019-08-27 17:47:32 -07:00
Tong Wu 2f58d08678
Revert "Add smoke tests for Catalina/Android testing. (#39300)" (#39347)
This reverts commit b38302b0c2.
2019-08-27 12:27:12 -07:00
Tong Wu b38302b0c2
Add smoke tests for Catalina/Android testing. (#39300) 2019-08-27 11:22:54 -07:00
Collin Jackson a1c185f37a
Fix plugin template app's tests (#39080)
* Fix plugin template

* Add test of plugin template working
2019-08-26 14:57:16 -07:00
Yegor 190698d0d2
run web tests in batches; enable foundation tests (#37268)
* shard tests

* make foundation tests pass
2019-08-23 13:23:48 -07:00
Chris Bracken ffa3785411
Update package versions to latest (#39013)
This fixes a breakage in fuchsia where package_config version 1.1.0 is
required but flutter_tools is currently locked to 1.05.
2019-08-21 19:15:33 -07:00
adazh 93c32c4ff6
Moved the default BinaryMessenger instance to ServicesBinding (#38464)
* Moved the default BinaryMessenger instance to ServicesBinding

This reverts commit 821602aef3.

* Added assertion in defaultBinaryMessenger. Also fixed the devicelab tests.
2019-08-21 16:47:42 -07:00
Jenn Magder 2ba3054d90
Mark smoke_catalina_start_up not flaky (#38999) 2019-08-21 15:24:52 -07:00
∂ω∂ 4277f364ff flutter_tools/version: git log.showSignature=false (#38576) 2019-08-21 13:55:57 -07:00
Ian Hickson e0a31de61b
Clean up bots output (#36864) 2019-08-20 14:53:39 -07:00
Christopher Fujino 65f8f9c0b8
add --exit and --match-host-platform defaults to devicelab runner (#37832) 2019-08-20 14:37:42 -07:00
liyuqian bbcfdea101
Add iOS backdrop filter benchmarks (#38814)
For https://github.com/flutter/flutter/issues/36064

That performance regression is iOS-only so we'd better get the
benchmarks running on iOS.
2019-08-20 10:39:29 -07:00
James D. Lin b2f8d3a668
Instrument pending timers in tests (#37646)
Flutter widget tests assert if a test completes with timers still
pending.  However, it can be hard to diagnose where a pending timer
came from.  For example, a widget might consume a third-party library
that internally uses a timer.

I added a FakeAsync.pendingTimersDebugInfo getter to quiver
(https://github.com/google/quiver-dart/pull/500).  Make flutter_test
use it.

Additionally modify Flutter's debugPrintStack to take an optional
StackTrace argument instead of always printing StackTrace.current.

Fixes #4237.
2019-08-20 10:28:49 -07:00
Jenn Magder 4d81b0c970
Remove xcconfigs from template Copy Bundle Resources build phases (#38724) 2019-08-19 16:23:45 -07:00
Kate Lovett 6ff212b328
Comparing pixels instead of bytes with GoldenFileComparator (#38473) 2019-08-19 09:06:22 -07:00
Todd Volkert 083022b471
Fix stages of some iOS devicelab tests (#38719) 2019-08-16 15:34:56 -07:00
Greg Spencer d6938c56d9
Adds canRequestFocus toggle to FocusNode (#38704)
* Add an 'unfocusable' focus node to allow developers to indicate when they don't want a Focus widget to be active

* more unfocusable changes. not working.

* Switch to focusable attribute

* Rename to canRequestFocus

* Turn off debug output

* Update docs

* Removed unused import
2019-08-16 15:27:49 -07:00
Tong Wu b7bab3c2f0
Fix Catalina hot reload test by specifying the platform is iOS. (#38708) 2019-08-16 12:30:30 -07:00
James Lin 9823b3dbd4 Update with more review feedback from jonahwilliams
* Remove the identity() function.
* Make _flattenMap private.
* Don't bother with ungrowable lists.
2019-08-15 16:47:20 -07:00
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