Alexandre Ardhuin
8a88e2efca
Bump Dart SDK to 1.25.0-dev.9.0 ( #11509 )
...
* Bump Dart SDK to 1.25.0-dev.9.0
* add link to sdk bug
2017-08-09 14:45:55 +02:00
Chris Bracken
cb14eb989d
Update IntelliJ project files for latest plugin ( #11536 )
...
The most recent Flutter IntelliJ plugin replaces FLUTTER_MODULE with
WEB_MODULE and eliminates the exclusion of packages/ directories.
Use of the packages/ directory was turned off by default months ago, and
is replaced by the .packages file.
2017-08-07 12:19:25 -07:00
Ian Hickson
db88414131
Upgrade to the most recent test package. ( #11526 )
...
Also, add tests to verify that our coverage is actually being tested!
2017-08-04 16:33:38 -07:00
Devon Carew
c72381aa2d
refactor commands_test to choose a free port for the service protocol ( #11446 )
...
* refactor commands_test to choose a free port for the service protocol
* discover the service protocol port
* add a todo
2017-08-02 08:29:44 -07:00
Mikkel Nygaard Ravn
87eec719e2
Support for custom build types on Android ( #11354 )
2017-07-31 13:57:24 +02:00
Yegor
764515ec78
temporarily disable broken driver test in integration_ui ( #11440 )
2017-07-28 14:30:10 -07:00
Yegor Jbanov
31d2ee9c0c
tests for waitFor/waitForAbsent
2017-07-28 13:10:03 -07:00
Devon Carew
ba5bb57a52
Revert "fire service protocol extension events for frames ( #10966 )" ( #11430 )
...
This reverts commit 4b4cabb761
.
2017-07-27 16:14:30 -07:00
Devon Carew
4b4cabb761
fire service protocol extension events for frames ( #10966 )
...
* fire service protocol extension events for frames
* start time in micros
* introduce a profile() function; only send frame events when in profile (or debug) modes
* moved the profile() function to foundation/profile.dart
* refactor to make the change more testable; test the change
* fire service protocol events by listening to onFrameInfo
* remove the frame event stream; add a devicelab test
* remove a todo
* final
2017-07-27 15:34:53 -07:00
Devon Carew
990dae85eb
remove the flutter view cache; fix the ability to quit the app after a full restart ( #11420 )
...
* remove the flutter view cache; fix the ability to quit the app after a full restart
* improve test
* update test
2017-07-27 11:47:33 -07:00
Ian Hickson
8f56f6fdd1
Add documentation and clean up code. ( #11330 )
...
Mainly, this adds documentation to members that were previously
lacking documentation.
It also adds a big block of documentation about improving performance
of widgets.
This also removes some references to package:collection and adds
global setEquals and listEquals methods in foundation that we can use.
(setEquals in particular should be much faster than the
package:collection equivalent, though both should be faster as they
avoid allocating new objects.) All remaining references now qualify
the import so we know what our remaining dependencies are.
Also lots of code reordering in Flutter driver to make the code
consistent and apply the style guide more thoroughly.
2017-07-21 16:39:04 -07:00
Ian Hickson
e1adc525d8
Option to enable the performance overlay from 'flutter run'. ( #11288 )
2017-07-19 12:57:22 -07:00
Todd Volkert
c464dd5d2d
Mark flutter_gallery__transition_perf_with_semantics as flaky ( #11281 )
2017-07-18 14:57:01 -07:00
Todd Volkert
4196582708
Bump file,process,platform to newest versions ( #11211 )
2017-07-13 16:59:18 -07:00
Jason Simmons
803cc7bc6a
Pin package versions used by devicelab to match other Flutter components ( #11212 )
2017-07-13 15:28:34 -07:00
Yegor
832c0f1f03
unlock device and pass JAVA_HOME to instrumentation test ( #11174 )
2017-07-12 12:37:22 -07:00
Todd Volkert
77da737847
Bump intl
to 0.15.1 ( #11162 )
...
* requires bumping `process` to a version that has
relaxed version restrictions on `intl`
https://github.com/flutter/flutter/issues/10650
2017-07-11 21:11:26 -07:00
Yegor
18d9b20ffb
add Android instrumentation test ( #11063 )
...
* add Android instrumentation test
* add devicelab test
* add to manifest.yaml
* rename _smoke_test.dart to _smoketest.dart to prevent flutter test from picking it up
* volatile fields; style fixes
* use ConditionVariable; fix sh script
2017-07-10 17:20:49 -07:00
Yegor
a796438086
fix routing_test by making it less sensitive to whitespace ( #11137 )
2017-07-10 13:03:03 -07:00
Hans Muller
3045c289ea
Fix sample page generator: add the commit arg ( #11038 )
2017-06-29 11:22:22 -07:00
Hans Muller
3d6e36d056
Updates Sample Catalog v0.0 ( #11022 )
2017-06-29 10:44:45 -07:00
Ian Hickson
dbe038ef6c
Make this (working) test more verbose ( #10973 )
...
...so that we can compare it to the not-working test next to it.
2017-06-26 11:19:11 -07:00
Yegor
148565eed5
check existence of task files ( #10959 )
2017-06-23 22:12:30 -07:00
Ian Hickson
bbea0c3d1a
enable routing_test in devicelab ( #10958 )
2017-06-23 18:13:40 -07:00
Ian Hickson
d131a8df42
Fix --keep-app-running default and make devicelab verboser ( #10957 )
2017-06-23 18:09:37 -07:00
Ian Hickson
9adb4a78a6
Deep linking: automatically push the route hiearchy on load. ( #10894 )
...
The main purpose of this PR is to make it so that when you set the
initial route and it's a hierarchical route (e.g. `/a/b/c`), it
implies multiple pushes, one for each step of the route (so in that
case, `/`, `/a`, `/a/b`, and `/a/b/c`, in that order). If any of those
routes don't exist, it falls back to '/'.
As part of doing that, I:
* Changed the default for MaterialApp.initialRoute to honor the
actual initial route.
* Added a MaterialApp.onUnknownRoute for handling bad routes.
* Added a feature to flutter_driver that allows the host test script
and the device test app to communicate.
* Added a test to make sure `flutter drive --route` works.
(Hopefully that will also prove `flutter run --route` works, though
this isn't testing the `flutter` tool's side of that. My main
concern is over whether the engine side works.)
* Fixed `flutter drive` to output the right target file name.
* Changed how the stocks app represents its data, so that we can
show a page for a stock before we know if it exists.
* Made it possible to show a stock page that doesn't exist. It shows
a progress indicator if we're loading the data, or else shows a
message saying it doesn't exist.
* Changed the pathing structure of routes in stocks to work more
sanely.
* Made search in the stocks app actually work (before it only worked
if we happened to accidentally trigger a rebuild). Added a test.
* Replaced some custom code in the stocks app with a BackButton.
* Added a "color" feature to BackButton to support the stocks use case.
* Spaced out the ErrorWidget text a bit more.
* Added `RouteSettings.copyWith`, which I ended up not using.
* Improved the error messages around routing.
While I was in some files I made a few formatting fixes, fixed some
code health issues, and also removed `flaky: true` from some devicelab
tests that have been stable for a while. Also added some documentation
here and there.
2017-06-23 14:58:29 -07:00
Chris Bracken
58fe8237d2
Use Xcode instruments for devicelab device lookup ( #10840 )
...
Replace use of ideviceinfo in devicelab tests with Xcode instruments
lookup.
2017-06-19 14:44:42 -07:00
Michael Goderbauer
4b957bf028
Keep provisioning step ( #10736 )
2017-06-15 18:23:37 -07:00
Yegor
480d628635
mark Linux tasks as stable ( #10410 )
2017-06-14 16:26:52 -07:00
Hans Muller
ede575a92e
Refactor sample catalog screenshot production ( #10676 )
2017-06-14 09:05:53 -07:00
Michael Goderbauer
e2d4f9242e
Benchmark for semantic overhead during transitions ( #10678 )
...
* Benchmark for semantic overhead during transitions
* review comments
2017-06-14 08:09:05 -07:00
Yegor
fde985b37d
resurrect analyzer benchmarks ( #10668 )
...
* resurrect analyzer benchmarks
* move analyzer_benchmark to the more stable linux/android
* report average rather than best result
2017-06-13 13:14:16 -07:00
Michael Goderbauer
8bf17192f6
Adding first semantics perf test ( #10649 )
...
* Adding first semantics perf test
* review commnts and analyzer fixes
* fix analyzer warning
2017-06-13 12:49:07 -07:00
Chris Bracken
81eb140411
Mark all iOS devicelab tests flaky ( #10609 )
...
Host test runner is flaky. These should be re-enabled once the host
machine has been deflaked.
2017-06-09 17:30:04 -07:00
Phil Quitslund
95544383ef
Bump to Dart SDK 1.24.0-dev.6.7. ( #10585 )
...
* Bump to Dart SDK 1.24.0-dev.6.7.
* nits and fixes
2017-06-08 15:15:18 -07:00
Hans Muller
dfc7788c8e
update_devicelab_manifest ( #10583 )
2017-06-08 11:14:02 -07:00
Hans Muller
1b29312ad2
Upload sample catalog screenshots to cloud storage ( #10462 )
2017-06-05 12:53:27 -07:00
Yegor
1b5b929c73
mark flutter_gallery_ios__transition_perf as flaky ( #10420 )
2017-05-31 15:40:14 -07:00
Yegor
06deba25ee
move more tests to Linux hosts ( #10413 )
...
* move more tests to Linux hosts
* fix test
2017-05-31 15:13:08 -07:00
Yegor
7397bb9071
add tests to linux hosts ( #10409 )
2017-05-31 12:43:18 -07:00
yjbanov
b9d5327919
perf_tests.dart: const constructors; constructors first
2017-05-26 09:44:33 -07:00
yjbanov
f59a67707d
track debug build times; switch from --profile to --release
2017-05-26 09:44:33 -07:00
Hans Muller
77c07871b4
Updated sample app production device labs task ( #10326 )
2017-05-25 13:49:31 -07:00
Hans Muller
b4e41ff7d3
Add a devicelab task that generates sample app screenshots, etc ( #10303 )
2017-05-25 11:47:36 -07:00
Ian Hickson
d94ae089c7
Give an explicit path to the flutter tool. ( #10235 )
...
Maybe this will make the test work in the device lab...
2017-05-22 10:00:59 -07:00
Ian Hickson
a2235d910c
Switch off my new test since it broke the build ( #10231 )
2017-05-20 11:23:19 -07:00
Ian Hickson
ab8202dc5a
Track missing dartdocs ( #10213 )
...
This will help catch when we accidentally break --dartdocs.
2017-05-19 21:48:51 -07:00
Chris Bracken
7160ecfb07
Mark integration_ui, integration_ui_ios tests non-flaky ( #10013 )
2017-05-11 17:20:46 -07:00
Chris Bracken
1dc3f88f57
Add -t flag to integration_ui keyboard resize test ( #10012 )
...
Update Android package name.
2017-05-11 15:19:44 -07:00
Chris Bracken
26a712cc12
Explicitly build ios keyboard_resize test ( #10011 )
...
Since lib/main.dart does not exist, update test to explicitly build lib/keyboard_resize.dart.
2017-05-11 14:55:35 -07:00
Chris Bracken
2d437f51c3
Add end-to-end test to verify resize on keyboard dismissal ( #10005 )
...
Adds an initial integration test that:
1. captures laid-out widget size
2. focuses a text field to show the keyboard and resize the view
3. unfocuses the text field to dismiss the keyboard and resize the view
4. verify that the final widget size matches the initial size
2017-05-11 14:29:20 -07:00
Yegor
5ad06a502b
re-enable devicelab tests that are no longer flaky ( #9996 )
2017-05-11 09:59:50 -07:00
Ian Hickson
bc32847fd4
Remove the flaky tests. ( #9988 )
...
They are causing nothing but trouble. We should fix these before turning them back on.
See https://github.com/flutter/flutter/issues/9986 https://github.com/flutter/flutter/issues/9987
2017-05-11 08:59:10 -07:00
Chris Bracken
28feba043f
Update Gallery plugin integration ( #9823 )
...
Enable plugin infra for both iOS and Android post-#9791.
2017-05-04 19:02:00 -07:00
Ian Hickson
2b04e300af
Fix microbenchmarks tests. ( #9782 )
2017-05-03 17:33:29 -07:00
Chris Bracken
eacf793b35
Use default FlutterActivity in non-plugin examples ( #9770 )
...
Brings hello_world and flutter_gallery Android code in line with the
corresponding iOS code.
2017-05-03 14:20:17 -07:00
Chris Bracken
7f9d859e68
Pass package/activity in AndroidBackButtonMemoryTest ( #9738 )
...
Eliminates Gallery-specific hardcoding of app package and activity name
in the test.
Fixes breakage introduced with 1dc2d4eb43
due to main activity class now being MainActivity.
2017-05-02 15:44:03 -07:00
xster
1a4bf9b66d
Fix flutter view project's automated tests ( #9712 )
...
Remove checked in .lock, remove checked in cocoapods scripts in xcode project, let the automated test run pod install specifically for this test
2017-05-01 18:23:06 -07:00
Chris Bracken
ffa8483f3b
Update hello_world_memory_test package name ( #9704 )
...
Broken by 89af5ec8c7
.
2017-05-01 14:18:00 -07:00
Ian Hickson
f2e89681d9
Mark microbenchmarks_ios as flaky ( #9656 )
...
...because it clearly is.
2017-04-27 19:55:54 -07:00
Mikkel Nygaard Ravn
60bc1cfde7
Remove personal dev team from ios code sigining ( #9631 )
...
* Mark channels_integration_test_ios flaky
* Removed personal dev team from ios code siging
* Removed provisioning profile diffs against other samples
2017-04-27 11:07:52 +02:00
Mikkel Nygaard Ravn
70ff50f929
Integration test for channel communication ( #9621 )
2017-04-27 08:44:28 +02:00
Alexandre Ardhuin
35803c2297
comprehensive list of lints ( #9330 )
...
* comprehensive list of lints
* add comments to commented out lint
* fix unnecessary_this lints
* exclude prefer_final_fields
2017-04-20 09:38:57 +02:00
Ian Hickson
96d8a2a3ad
Mark some tests as flaky ( #9489 )
...
These tests have recently been turning the build red incorrectly. Until they are reliable, let's mark them flaky.
2017-04-20 00:11:31 -07:00
Phil Quitslund
fc58bd7679
IntelliJ metadata cleanup (flutter-intellij#914). ( #9427 )
...
Follow-up from #9422
2017-04-17 13:42:31 -07:00
Yegor
7e3bb94d5f
Mark complex_layout_scroll_perf__timeline_summary as flaky ( #9405 )
2017-04-14 17:15:34 -07:00
Adam Barth
ea71bdca20
Start using @immutable
annotations ( #9152 )
...
There are more places we can use this annotation, but this patch just gets us
started.
2017-04-14 10:38:58 -07:00
Devon Carew
9493df2da8
update the IntelliJ metadata files ( #9388 )
2017-04-14 08:55:26 -07:00
Yegor
9dfcc6ec79
Revert "temporarily mark iOS tests as flaky ( #9314 )" ( #9333 )
...
This reverts commit ff23a1ebfe
.
Our iOS lab hardware is back to normal.
2017-04-11 12:26:15 -07:00
Yegor
ff23a1ebfe
temporarily mark iOS tests as flaky ( #9314 )
2017-04-10 10:51:31 -07:00
Ian Hickson
3eb87830e9
Constants! Constants everywhere! ( #9286 )
...
Aggressively apply the const lint.
2017-04-07 12:24:32 -07:00
Yegor
d538c11486
update devicelab docs ( #9274 )
2017-04-06 16:27:29 -07:00
Yegor
57ca2b5ce8
obey custom timeout supplied by cocoon ( #9260 )
2017-04-06 10:48:45 -07:00
Michael Goderbauer
a559b8df5c
[Regression] Re-enable ANSI color support on Windows ( #9232 )
...
Also adds a test to make sure we don't break it again.
2017-04-05 15:44:22 -07:00
Ian Hickson
86a490ffe8
Tracked skipped tests in technical debt benchmark ( #9206 )
2017-04-05 12:23:21 -07:00
Alexandre Ardhuin
189028a958
Separate the 'if' expression from its statement ( #9177 )
2017-04-04 21:45:50 +02:00
Yegor
1182eb18c5
add "flaky" and "timeout_in_minutes" devicelab task options ( #9168 )
2017-04-04 10:46:07 -07:00
xster
4245bce545
Add full platform build speed instrumentations ( #9162 )
...
* Add new metric to size_tests instead
* Small lints
2017-04-04 01:05:53 -07:00
Chris Bracken
abfee824cd
Re-enable iOS transitions test in devicelab ( #9097 )
...
This reverts commit 326355f0f9
.
2017-03-29 19:19:57 -07:00
Yegor
e067041279
increase vmservice timeout; log stderr in microbenchmarks ( #9088 )
2017-03-29 15:40:17 -07:00
Ian Hickson
326355f0f9
Turn off this flaky test for now. ( #9065 )
...
cc @cbracken
2017-03-28 16:40:13 -07:00
Jason Simmons
f7d0aa03f8
Throw an exception if flutter run fails during a microbenchmark ( #9061 )
2017-03-28 15:46:53 -07:00
Yegor
0ec3ffb4bc
increase total task timeout; decrease individual benchmark timeout ( #9063 )
2017-03-28 15:42:06 -07:00
Michael Goderbauer
506aea0316
enable windows tests with workaround ( #9058 )
2017-03-28 14:22:03 -07:00
Collin Jackson
e2b49d64d6
Revert "Revert "Revert "Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity ( #9036 )"" ( #9046 )" ( #9047 )
...
Test is still failing with increased timeout.
This reverts commit 864b3c37c6
.
2017-03-27 19:16:58 -07:00
Collin Jackson
864b3c37c6
Revert "Revert "Include fragment support in Android build to allow use of FragmentActivity in FlutterActivity ( #9036 )"" ( #9046 )
...
Increased the time limit slightly to allow the microbenchmark test time to finish.
2017-03-27 18:12:14 -07:00
Michael Goderbauer
cea7c66dfd
Disable flaky WIndows test :( ( #9029 )
2017-03-27 14:04:50 -07:00
Sarah Zakarias
d274888be6
Rename platform_services to platform_channel ( #9018 )
...
* Rename platform_services to platform_channel
* rename in README
* renamed tests
* update modules.xml
2017-03-27 11:17:31 +02:00
Yegor
71690343fb
detailed error message re missing xcconfigs ( #9001 )
2017-03-24 10:35:21 -07:00
Sarah Zakarias
912279bf6f
Patch Debug/Release.xcconfig files in devicelab tests ( #9000 )
2017-03-24 15:57:06 +01:00
Sarah Zakarias
47fc81f14d
Revert "Remove flutter_view_ios__start_up.dart ( #8978 )" ( #8996 )
...
This reverts commit 38e4e48d06
.
2017-03-24 11:45:57 +01:00
Yegor
bc8cc80b9f
Xcode 8-compatible provisioning profiles in devicelab tests ( #8987 )
2017-03-23 17:35:04 -07:00
Sarah Zakarias
38e4e48d06
Remove flutter_view_ios__start_up.dart ( #8978 )
2017-03-23 16:06:09 +01:00
Sarah Zakarias
18db5a2e68
Add start-up test for flutter_view sample ( #8892 )
...
* Add start-up test for flutter_view sample
* add reportMetrics flag to startup test
* rewording in manifest.yaml
2017-03-23 13:20:00 +01:00
Sarah Zakarias
d1f73fd0ad
Add integration test for the Platform Services app ( #8826 )
2017-03-20 22:19:03 +01:00
Michael Goderbauer
9781f1aff0
make hot_mode_dev_cycle benchmark run in verbose mode ( #8862 )
2017-03-17 12:16:19 -07:00
Alexandre Ardhuin
a0769f2488
apply the upcoming rule unnecessary_this ( #8838 )
2017-03-17 08:05:42 +01:00
Ian Hickson
2bbe82ef30
Increase timeout and verbosity to diagnose devicelab failure ( #8832 )
2017-03-16 15:02:43 -07:00
Michael Goderbauer
79002c7453
add tasks for Windows bots in device lab ( #8827 )
2017-03-16 13:47:14 -07:00
Michael Goderbauer
d87f19817f
devicelab benchmarks run on Windows ( #8814 )
...
* devicelab benchmarks run on Windows
* fix analyzer issue
* fix test
* fix pubspec
2017-03-15 16:33:10 -07:00