- 06 Mar, 2020 1 commit
-
-
Jonah Williams authored
-
- 05 Mar, 2020 2 commits
-
-
Jonah Williams authored
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714)" (#52041) This reverts commit ee60eeea.
-
Jonah Williams authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 06 Aug, 2019 1 commit
-
-
sjindel-google authored
This PR contains the tests for flutter/engine#10186.
-
- 06 Feb, 2019 1 commit
-
-
Greg Spencer authored
Before this, we had several places where an isReleaseMode was defined, all with the same definition. This just makes it more broadly visible to allow our users to use it, as well as creating debug and profile versions, and adding a device lab test for it. Since this is a const value, this makes it possible for a developer to easily mark blocks that can be removed at AOT compile time.
-
- 17 Oct, 2018 1 commit
-
-
Jacob Richman authored
Dispatch a Flutter.Navigation event each time navigation occurs.
-
- 25 Sep, 2018 3 commits
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 21 Aug, 2018 1 commit
-
-
Ian Hickson authored
Fixes the pattern for some TODOs to match our style guide. (Also, a couple of minor code order fixes.)
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 16 Jul, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit cc1cf13e.
-
Alexandre Ardhuin authored
-
- 15 Jun, 2018 1 commit
-
-
Michael Goderbauer authored
Fixes #10826. Also in this PR: If you focus a text field, scroll it out of view and then start typing it will scroll back into view.
-
- 07 May, 2018 1 commit
-
-
Chris Bracken authored
This test fails consistently on mac2 and mac3 with the attached Moto G4 devices but passes consistently on other machines. Adding a delay of 1s right after driver.connect() in setUpAll() causes it to pass on the machines in question, which suggests a race condition. Specifically it looks like connect returns the moment Flutter Driver identifies that the isolate is up and running, but empirically it looks like we start running the first test before the UI is actually up. This triggers a failure wherein we start looking for elements before they're onstage. Link to viewport.dart:213 at HEAD: https://github.com/flutter/flutter/blob/b2b46659262c66ff13abc2b8016a94a47646eaad/packages/flutter/lib/src/widgets/viewport.dart#L213 Stack trace: FlutterDriver waitFor should find text "present" ``` DriverError: Error in Flutter application: Uncaught extension error while executing waitFor: NoSuchMethodError: The getter 'visible' was called on null. Receiver: null Tried calling: visible #0 Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:46:5) #1 _ViewportElement.debugVisitOnstageChildren. (package:flutter/src/widgets/viewport.dart:213:36) #2 WhereIterator.moveNext (dart:_internal/iterable.dart:439:11) #3 Iterable.forEach (dart:core/iterable.dart) #4 _ViewportElement.debugVisitOnstageChildren (package:flutter/src/widgets/viewport.dart:214:8) #5 _DepthFirstChildIterator._reverseChildrenOf (package:flutter_test/src/all_elements.dart:54:15) #6 _DepthFirstChildIterator.moveNext (package:flutter_test/src/all_elements.dart:45:19) #7 CachingIterable._fillNext (package:flutter/src/foundation/basic_types.dart:252:27) #8 _LazyListIterator.moveNext (package:flutter/src/foundation/basic_types.dart:279:21) #9 WhereIterator.moveNext (dart:_internal/iterable.dart:438:22) #10 CachingIterable._fillNext (package:flutter/src/foundation/basic_types.dart:252:27) #11 _LazyListIterator.moveNext (package:flutter/src/foundation/basic_types.dart:279:21) #12 Iterable.isEmpty (dart:core/iterable.dart:449:33) #13 Iterable.isNotEmpty (dart:core/iterable.dart:456:27) #14 FlutterDriverExtension._waitForElement. (package:flutter_driver/src/extension/extension.dart:215:51) #15 FlutterDriverExtension._waitUntilFrame (package:flutter_driver/src/extension/extension.dart:197:19) #16 FlutterDriverExtension._waitForElement (package:flutter_driver/src/extension/extension.dart:215:11) #17 FlutterDriverExtension._waitFor (package:flutter_driver/src/extension/extension.dart:286:11) #18 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:168:51) #19 BindingBase.registerServiceExtension. (package:flutter/src/foundation/binding.dart:370:32) ``` Removes a previous hack that no longer appears to help (adding a 1 second delay in setUpAll() does seem to work around this issue though).
-
- 11 Jan, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Dec, 2017 1 commit
-
-
Yegor authored
* Emulate text entry in FlutterDriver * document enterText behavior * remove the unnecessary composint TextRange
-
- 07 Nov, 2017 1 commit
-
-
Yegor authored
* delay taking screenshot to allow GPU thread to render the frame * address comments
-
- 02 Oct, 2017 1 commit
-
-
Adam Barth authored
Alignment will eventually replace FractionalOffset.
-
- 11 Sep, 2017 1 commit
-
-
Yegor authored
* only tap on widgets reachable by hit testing * use FractionalOffset * added tests * check finder finds correct widget * undo unintentional changes * address comments * style fix * add Directionality in test * fix analysis warning
-
- 01 Sep, 2017 1 commit
-
-
Alexandre Ardhuin authored
* enable lint prefer_final_fields * enable lint recursive_getters * enable lint unnecessary_overrides
-
- 22 Aug, 2017 1 commit
-
-
Carlo Bernaschina authored
The flakiness of commands_test is generally visible via: ``` drive:stdout: Expected: 'log: paint' drive:stdout: Actual: '' drive:stdout: Which: is different. Both strings start the same, but the actual value is missing the following trailing characters: log: paint ... ``` By returning the name of the test we will be able to understand if another test is running by reading the `Actual` value
-
- 01 Aug, 2017 2 commits
-
-
Ian Hickson authored
This reverts commit 5d9db106.
-
Ian Hickson authored
* Revert "Make plugins add their repos to projects in the consuming app (#11447)" This reverts commit abe1e252. * Revert "Support for custom build types on Android (#11354)" This reverts commit 87eec719. * Revert "add a profile() method (#11443)" This reverts commit 561d17a8. * Revert "Fix documentation based on dartdoc's warnings (#11428)" This reverts commit 6655074b. * Revert "Improve some docs around WillPopScope. (#11429)" This reverts commit 58a28a29. * Revert "temporarily disable broken driver test in integration_ui (#11440)" This reverts commit 764515ec. * Revert "style fix" This reverts commit 00bfc866. * Revert "tests for waitFor/waitForAbsent" This reverts commit 31d2ee9c. * Revert "Always evaluate the finder in `driver.waitFor()` and `driver.waitForAbsent()`" This reverts commit 11d7c79b.
-
- 28 Jul, 2017 1 commit
-
-
Yegor Jbanov authored
-
- 19 Jul, 2017 1 commit
-
-
Ian Hickson authored
-
- 23 Jun, 2017 1 commit
-
-
Ian Hickson authored
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.
-
- 29 May, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 12 May, 2017 1 commit
-
-
Jason Simmons authored
-
- 11 May, 2017 1 commit
-
-
Chris Bracken authored
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
-