- 11 Jul, 2018 3 commits
-
-
jslavitz authored
* Fixed codesign error message width * Fixed mac_test * Removed snackbar code
-
Alexander Aprelev authored
Revert "Roll engine to fed2ea458ed49088d33eddabc546ba56d600c717 (includes dart roll) (#19044)" (#19276) This reverts commit f4a038da as it breaks microbenchmark tests.
-
Alexander Aprelev authored
* Roll engine to rolled dart Add connectionTimeout property to class that extends HttpOverrides. Upgrade packages. Add more type fixes. Update goldens hash. Add more type fixes. Upgrade packages. Fix tests. Remove strong-mode from analysis options yaml file. Increase dev/devicelab timeout from 2 to 10 seconds. Added getVM to waitForViews. Fix type errors in compileExpression. * Pick up engine revision with fix for microbenchmarks regression. Increase default timeout from 20/30 to 60s.
-
- 10 Jul, 2018 1 commit
-
-
Danny Tuppeny authored
* Rename util -> test_utils * Rename flutter_test_driver -> test_driver * Switch testWithContext -> test * Remove unused import * Move test project into a class to make it easier to have multiple of these Each "TestProject" class can contain its files and things like named breakpoint locations. * Split expression evaluation tests into own file * Include last response in error messages * Update expectations based on current bugs * Fix async-ness in tests * Fix incorrect expectation in test * Fix incorrect evaluations * Remove skips for tests that are now passing on master * Expect pass on Linux
♂️ * Call the code * Skip expression evaluation tests on Windows * Skip whole group, not just one test * Remove duplicated method from merge * Fix misplaced close of group * Remove code that was duplicated from test we copied Not sure how this ended up in here? * Re-fix typo
-
- 09 Jul, 2018 2 commits
-
-
Ralph Bergmann authored
-
Danny Tuppeny authored
* Add additional functionality to integration test driver * Typo * Remove delays we shouldn't need + comments * Fix typos
-
- 06 Jul, 2018 1 commit
-
-
abykov2 authored
* Adding a setup function for hot restart that can be overwritten to perform any necessary initialization before a restart is started. * Adding a test for setupHotRestart * Removing local pubspec change * Fixing some type annotation errors * Responding to comments
-
- 03 Jul, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 01 Jul, 2018 1 commit
-
-
Mark Fielbig authored
-
- 28 Jun, 2018 8 commits
-
-
Danny Tuppeny authored
This test was designed to ensure flutter_tester keeps running (previously it would quit immediately). However it's turned out ot be rather flaky and we have new tests on the way that supersede this by actually testing real things (debug stepping, reloading, expression evaluation).
-
Danny Tuppeny authored
* Remove the 'app' domain from flutter daemon By default the daemon won't register the "app" domain, you need to opt-in (which the 'run' command does, as well as the tests for the app functionality). Fixes #6658. * Tweak text * Put restart/callServiceExtension/stop back into daemon mode * Add a comment about removing discoverApps
-
Sigurd Meldgaard authored
Add iOS module template This will enable integration of flutter-views into existing iOS project.
-
Sigurd Meldgaard authored
This reverts commit 8be198d8 that broke the build.
-
Danny Tuppeny authored
After landing the un-skip this test failed with a timeout. It then passed on the next build (!). I think it's too flaky to leave running until we can better diagnose what's happening.
-
Sigurd Meldgaard authored
Add iOS module template This will enable integration of flutter-views into existing iOS project.
-
Danny Tuppeny authored
* Add process output for flutter_tester test and unskip * Add a comment about this potential flake
-
Danny Tuppeny authored
* Add --create option to flutter emulators * Tweaks to error message * Simplify emulator search logic * Make name optional * Add a note about this option being used with --create * Tweaks to help information * Switch to processManager for easier testing * Don't crash on missing files or missing properties in Android Emulator * Move name suffixing into emulator manager This allows it to be tested in the EmulatorManager tests and also used by daemon later if desired. * Pass the context's android SDK through so it can be mocked by tests * Misc fixes * Add tests around emulator creation Process calls are mocked to avoid needing a real SDK (and to be fast). Full integration tests may be useful, but may require ensuring all build environments etc. are set up correctly. * Simplify avdManagerPath Previous changes were to emulatorPath! * Fix lint errors * Fix incorrect file exgtension for Windows * Fix an issue where no system images would crash reduce throws on an empty collection. * Fix "null" appearing in error messages The name we attempted to use will now always be returned, even in the case of failure. * Add additional info to missing-system-image failure message On Windows after installing Andriod Studio I didn't have any of these and got this message. Installing with sdkmanager fixed the issue. * Fix thrown errors runResult had a toString() but we moved to ProcessResult when switching to ProcessManager to this ended up throwing "Instance of ProcessResult". * Fix package import * Fix more package imports * Move mock implementation into Mock class There seemed to be issues using Lists in args with Mockito that I couldn't figure out (docs say to use typed() but I couldn't make this compile with these lists still).. * Rename method that's ambigious now we have create * Handle where there's no avd path * Add another toList() :( * Remove comment that was rewritten * Fix forbidden import * Make optional arg more obviously optional * Reformat doc * Note that we create a pixel device in help text * Make this a named arg
-
- 27 Jun, 2018 6 commits
-
-
Ian Hickson authored
This is an attempt to reland #18488 with less breakage on macOS.
-
Danny Tuppeny authored
This reverts commit 5d8ea59d.
-
Danny Tuppeny authored
-
Danny Tuppeny authored
* Improve update checking This change emables pinging the server to check for updates regardless of whether the local version is "out of date". The server code already has a 7-day cache so the result is that we can now ping the server once every 7 days instead of waiting for the local install to be 4 weeks out of date before pinging. The original 4 week period is still used for when we'll start warning the user they're out of date if we could not confirm with the server whether there's a new version. * Improve message when we know there's a new version available * Fix bnullable bool checks * Switch nullable bool to enum * Fix casing of enum values * Remove stale comment The names are now descriptive so doesn't need additional explanation. * Improve name of function * Remove note: * Rename kPauseToLetUserReadTheMessage -> timeToPauseToLetUserReadTheMessage * Change kVersionAgeConsideredUpToDate to 5 weeks from 4 * Inline the isNewerFrameworkVersionAvailable check * Fix indenting (?) * Fix more indenting * Rename function to be clearer it's getting the commit date * Formating tweaks * Update stamp when connection failed, and reduce time before we'll try again Previously we would hit the server on every command if we thought we might be out of date and we never successfully connected (eg. if you're offline). This makes the stamp update even when there's a conneciton failure so that this won't happen, but reduces the time till we check again from 7 days to 3 days to compensate a little in case it was a one-off. https://github.com/flutter/flutter/pull/18193#issuecomment-399222269 * Fix comment * Don't perform update checks if not on an official channel
-
Danny Tuppeny authored
This test is failing on mac_bot (but passing elsewhere) because flutter-tester is apparently quitting earlier than expected. Locally it fails with an even weirder error and almost all tests are failing with "Compilation failed" (this isn't happening on the builds, so something is bad on my MacBook). Marking as skip to fix build while investigating; there's no real impact of this test not running; it's testing a tool that its itself used for testing (and not currently in any way that should be affected by this failure).
-
Danny Tuppeny authored
-
- 25 Jun, 2018 2 commits
-
-
Florian Loitsch authored
Add `flutter attach` command. This command allows Flutter to connect to applications that haven't been launched using `flutter run`.
-
Sarah Zakarias authored
-
- 22 Jun, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 21 Jun, 2018 2 commits
-
-
Sam Rawlins authored
* Bump mockito to 3.0.0-beta * Few fixes * fix test * Bump image * Fix * New packages update * With matcher pinned * No more typed
-
Alexander Aprelev authored
* Serialize compilation requests.
-
- 20 Jun, 2018 2 commits
-
-
Yegor authored
-
Ian Hickson authored
The new matcher package deprecates isInstanceOf which seems eggregious.
-
- 19 Jun, 2018 1 commit
-
-
Greg Spencer authored
-
- 15 Jun, 2018 3 commits
-
-
Ian Hickson authored
This reverts commit 77508722.
-
Ian Hickson authored
-
Stanislav Baranov authored
Add flutter tool support for creating app-specific VM snapshots.
-
- 14 Jun, 2018 1 commit
-
-
Danny Tuppeny authored
-
- 13 Jun, 2018 1 commit
-
-
Chris Bracken authored
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly from source, flutter_platform.dart automatically runs a kernel compile when operating in Dart 2 mode, but this assumes a functional Dart SDK is available in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts directory with an empty temp dir. Remaining work is: 1. Get the frontend server building as a dependency on Fuchsia. 2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server. This also reverts migration to Dart 2 typedef syntax. This reverts commit 6c56bb24. (#18362) This reverts commit 3daebd05. (#18316)
-
- 11 Jun, 2018 2 commits
-
-
Greg Spencer authored
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax. Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml. No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
-
Mehmet Fidanboylu authored
-
- 09 Jun, 2018 1 commit
-
-
Chris Bracken authored
Fingerprinter.doesFingerprintMatch() now returns false rather than throwing if a depfile is malformed.
-
- 08 Jun, 2018 1 commit
-
-
Chris Bracken authored
* It's time to #deleteDart1 (#18293) Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1 benchmarks. All commands now run in Dart 1 mode only. Eliminates --preview-dart-2 / --no-preview-dart-2 support. * Fix indentation, remove no longer necessary .toList() * Only push udpated kernel if >0 invalidated srcs
-