Siva
f496595773
Use the new service protocol message names ( #35482 )
...
* Use the new service protocol message names
clearVMTimeline
setVMTimelineFlags
getVMTimeline
getVMTimelineFlags
* Fix clearTimeline at another spot.
2019-07-02 16:10:04 -07:00
Dan Field
3eb40925e5
Always test semantics ( #35110 )
...
Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
2019-06-28 12:40:23 -07:00
Michael Goderbauer
4f5d901395
Add Driver command to get diagnostics tree ( #34440 )
2019-06-18 18:31:21 -07:00
Michael Goderbauer
b37c3be0fa
Add ancestor and descendant finders to Driver ( #32410 )
2019-05-10 18:21:19 +02:00
Michael Goderbauer
8cf65526e7
everything const ( #32380 )
2019-05-10 13:29:03 +02:00
Michael Goderbauer
ff1dbcdeb6
Add geometry getters to Flutter Driver ( #32302 )
2019-05-09 09:50:02 +02:00
done
d53115ab2e
fix FlutterDriver timeout ( #31824 )
2019-05-04 06:13:25 -07:00
Alexandre Ardhuin
bfa1d25bf9
some formatting of map, parameters and spaces ( #29760 )
2019-03-23 00:02:21 +01:00
Alexandre Ardhuin
a6af422874
some spaces formatting ( #29452 )
...
* some space formattings
* always use blocks in if-else if a block is used
* format spaces in for and while
* allow multiline if conditions
* fix missing space
2019-03-20 23:23:31 +01:00
Dan Field
5e27ebbe8d
Add semantic label finders ( #29342 )
...
* Add semantic label finders
2019-03-18 20:32:03 -07:00
Alexandre Ardhuin
440ce8fde6
Fix indentations of statements in BlockFunctionBody ( #28933 )
...
* fix indentof statements in BlockFunctionBody
* fix indentof statements in BlockFunctionBody in tests
2019-03-07 21:09:28 +01:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
liyuqian
7390cc5cdb
Increase our build budget to 16ms ( #27709 )
...
Because we now have 2 separate GPU and UI threads.
2019-02-15 16:12:36 -08:00
Ian Hickson
31a9626c48
[O] Removing all timeouts (mark II) ( #26736 )
...
These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
2019-01-19 00:31:05 -08:00
Ian Hickson
8426910a19
Revert "[O] Remove many timeouts. ( #23531 )" ( #25646 )
...
This reverts commit 76f70810e4
.
2018-12-20 18:46:36 -08:00
Ian Hickson
76f70810e4
[O] Remove many timeouts. ( #23531 )
...
* Remove many timeouts.
These are essentially self-inflicted race conditions. Instead of timeouts we're going to try a more verbose logging mechanism that points out when things are taking a long time.
* Get the attach tests to pass.
* Apply review comments from Todd
* More review comment fixes
* Put back the extended timeouts here now that I know why we have them...
2018-12-20 17:10:40 -08:00
Alexandre Ardhuin
32d65fef1c
fix some formatting issues ( #25474 )
2018-12-18 10:05:12 +01:00
Yegor
9c3754d92f
FlutterDriver: allow customizing timeouts using a multiplier ( #24066 )
...
FlutterDriver: allow customizing timeouts using a multiplier
2018-11-14 17:15:00 -08:00
Jonah Williams
a43e3a4a2f
Retry remove package:test from flutter ( #24007 )
2018-11-06 10:48:34 -08:00
Jonah Williams
23a7535a39
Revert "Remove package:test dependency from flutter_test ( #23755 )" ( #24004 )
...
This reverts commit 71e9bd6f25
.
2018-11-06 09:12:48 -08:00
Jonah Williams
71e9bd6f25
Remove package:test dependency from flutter_test ( #23755 )
2018-11-06 08:39:27 -08:00
Alexandre Ardhuin
0fb84e96c7
Prefer void to null ( #22977 )
...
* Future<void> main
* Future<void>.delayed
* prefer_void_to_Null
* address review comments
2018-10-16 22:03:06 +02:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
Alexandre Ardhuin
e2d0b062d9
remove unnecessary ignore prefer_const_constructors ( #21934 )
2018-09-18 05:54:03 +02:00
liyuqian
872eba2d4c
Track 90th, 99th percentile instead of missed_frame_build_budget_count ( #21754 )
...
See https://github.com/flutter/flutter/pull/19121#issuecomment-419520765
2018-09-14 13:24:13 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Ian Hickson
53b635817c
Re-enable missing_return ( #20844 )
2018-08-28 11:22:57 -07:00
Ian Hickson
3dec6a6930
Clean up usage of temporary directories ( #20682 )
...
All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
2018-08-17 13:17:23 -07:00
Ian Hickson
686d8f8a22
Shim package:test to avoid matcher issues ( #20602 )
...
* Upgrade everything except matcher.
* Roll matcher (and test)
* Adjust tests that depend on flutter:test directly to depend on a shim
* Require use of package:test shim and remove other references to package:test
2018-08-14 20:33:58 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const ( #20103 )
2018-08-02 12:02:32 +02:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 ( #19861 )
...
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Alexandre Ardhuin
27018359d2
re-enable lint unnecessary_const ( #19592 )
...
* re-enable lint unnecessary_const
* remove trailling whitespaces
* remove unnecessary const (after merge)
2018-07-23 08:31:48 +02:00
Greg Spencer
1cc036519c
Removes trailing whitespace from source files. ( #19329 )
2018-07-19 23:03:58 -07:00
Ian Hickson
f630f90d6d
Revert "enable lint unnecessary_const ( #19342 )" ( #19423 )
...
This reverts commit cc1cf13eec
.
2018-07-16 13:30:27 -07:00
Alexandre Ardhuin
cc1cf13eec
enable lint unnecessary_const ( #19342 )
2018-07-16 21:43:48 +02:00
Jonah Williams
2f0b4158ab
Add option to silence driver extension errors ( #19247 )
2018-07-13 19:13:10 -07:00
Jonah Williams
7dd265ff18
Add getSemanticsId command to flutter_driver ( #19047 )
2018-07-09 15:22:59 -07:00
liyuqian
a4faa2e067
Nit: add space after for ( #18954 )
2018-07-02 16:35:43 -07:00
liyuqian
34da4a5ffd
Throw instead of return null if durations is empty ( #18957 )
...
See https://github.com/flutter/flutter/pull/18881#discussion_r199285256
2018-07-02 13:30:02 -07:00
liyuqian
35e8cd83d0
Add 90th and 99th percentile frame rasterize time for timeline_summary ( #18881 )
...
Our first step towards https://github.com/flutter/flutter/issues/18727
2018-06-28 11:27:22 -07:00
Sam Rawlins
9f8a70be4c
Bump mockito to 3.0.0-beta ( #18462 )
...
* Bump mockito to 3.0.0-beta
* Few fixes
* fix test
* Bump image
* Fix
* New packages update
* With matcher pinned
* No more typed
2018-06-21 16:23:47 -07:00
Ian Hickson
6599271bf5
Revert matcher package ( #18614 )
...
The new matcher package deprecates isInstanceOf which seems eggregious.
2018-06-19 17:22:56 -07:00
Greg Spencer
08d1ec36de
Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 ( #18575 )
2018-06-19 09:58:20 +02:00
Alexandre Ardhuin
09276bea25
enable lint prefer_equal_for_default_values ( #18156 )
2018-06-05 08:50:40 +02:00
Alexander Aprelev
bffae21571
Again move mockito to 300plus2 ( #15981 )
...
* Revert "Revert "Move mockito to 3.0.0-alpha. (#15949 )" (#15979 )"
This reverts commit e59651f925
.
* More thenReturn to thenAnswer when mocking Futures
* Revert "More thenReturn to thenAnswer when mocking Futures"
This reverts commit 194d2cf417
as we are reverting engine roll.
* Revert "Revert "More thenReturn to thenAnswer when mocking Futures""
This reverts commit 52c9e96b30
.
* Add dependency override
* Fix issue
2018-03-28 12:07:12 -07:00
Chris Bracken
39eeec47d6
Apply Mockito-related type fixes ( #16002 )
...
Type-related fixes in flutter_driver and fuchsia_remote_debug_protocol
tests.
2018-03-27 15:27:24 -07:00
Chris Bracken
49c87d010c
Revert "Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab ( #15885 )" ( #15980 )
...
This caused a test failure in the integration_ui_ios devicelab test.
```
stdout: [ +3 ms] 00:02 [32m+0[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size[0m
stdout: [+8129 ms] 00:11 [32m+0[0m[31m -1[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size [1m[31m[E][0m[0m
stdout: [ +5 ms] DriverError: Failed to fulfill Tap: Flutter application not responding
stdout: [ ] Original error: TimeoutException after 0:00:07.500000: Future not completed
stdout: [ ] Original stack trace:
stdout: [ ] #0 FlutterDriver._sendCommand (package:flutter_driver/src/driver/driver.dart:324:18)
stdout: [ ]
stdout: [ ] #1 FlutterDriver.tap (package:flutter_driver/src/driver/driver.dart:368:11)
stdout: [ ]
stdout: [ ] #2 main.. (file:///[... snip ...]/flutter/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart:34:20)
```
This reverts commit 067be92ae8
.
2018-03-27 10:57:50 -07:00
Siva
067be92ae8
Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab ( #15885 )
...
Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab
2018-03-26 22:16:48 -07:00
Jason Simmons
466d15433f
Use Dart 2 camel case constants ( #15360 )
2018-03-12 11:06:32 -07:00