- 17 Aug, 2018 1 commit
-
-
Ian Hickson authored
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.
-
- 15 Aug, 2018 1 commit
-
-
Ian Hickson authored
* 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
-
- 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
-
- 20 Jun, 2018 1 commit
-
-
Ian Hickson authored
The new matcher package deprecates isInstanceOf which seems eggregious.
-
- 19 Jun, 2018 1 commit
-
-
Greg Spencer authored
-
- 17 Feb, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 10 Feb, 2018 2 commits
-
-
Chris Bracken authored
In getFlutterRoot(), scripts loaded via data: URIs are URI encoded. getFlutterRoot() scans the contents of the data for the file:// URI path of the Flutter SDK, which itself is URI-encoded. The end result is that if the SDK path contains a space, the embedded file:// URI will contain a %20. When this is encoded in a data: URI, the contents are URI-encoded, resulting in %2520, since the % is encoded to %25. This patch decodes the data: URI before extracting the SDK file:// URI.
-
Chris Bracken authored
The Flutter engine now supports package: and file: imports that resolve to paths on disk that include spaces and other URI-escaped characters. This patch eliminates the restriction that Dart source paths not include %20 (or other URI-escaped characters) in their paths in flutter_tool tests.
-
- 18 Dec, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 10 Nov, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 12 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 08 May, 2017 1 commit
-
-
Michael Goderbauer authored
* Enforce valid package names on flutter create Fixes #9564 * refactor * fix other tests
-
- 10 Mar, 2017 1 commit
-
-
Todd Volkert authored
`all.dart` is no longer needed. Furthermore, it causes tests to be skipped, or to silently fail to run anything. Fixes #7941
-
- 06 Mar, 2017 1 commit
-
-
Todd Volkert authored
1. Add matchers for the `ProcessExit` exception class 2. Add ability to control the setup of the `AppContext` we use in `testUsingContext()` 3. Clean up the code that figures out the location of `Cache.flutterRoot` such that it works with `pub run test`. It previously only worked when the tests were invoked with standalone `dart` `#3` above will also help unblock #7941
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 21 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
This enables us to run more tests on Windows.
-
- 18 Feb, 2017 1 commit
-
-
Todd Volkert authored
-
- 04 Feb, 2017 1 commit
-
-
Chris Bracken authored
Allows for better testing of functions that throw ToolExit to bail out.
-
- 24 Jan, 2017 1 commit
-
-
Todd Volkert authored
-
- 23 Jan, 2017 1 commit
-
-
Todd Volkert authored
-
- 15 Dec, 2016 1 commit
-
-
John McCutchan authored
- [x] Introduce DependencyChecker which can determine if any dependencies have been modified. - [x] Move the DartDependencyBuilder into a separate file. - [x] Add unit tests for DartDependencyBuilder. - [x] Add unit tets for DependencyChecker Part of #7014
-
- 14 Nov, 2016 1 commit
-
-
Dan Rubel authored
* Remove the workaround that pinned args to v0.13.6 This reverts most of the changes in commit 6331b6c8 * throw exception if exit code is not an integer * rework command infrastructure to throw ToolExit when non-zero exitCode * convert commands to return Future<Null> * cleanup remaining commands to use throwToolExit for non-zero exit code * remove isUnusual exception message * add type annotations for updated args package
-
- 19 May, 2016 1 commit
-
-
Devon Carew authored
-
- 13 Feb, 2016 1 commit
-
-
Devon Carew authored
-
- 12 Oct, 2015 2 commits
-
-
Adam Barth authored
This patch makes `flutter start` work without a clone of the engine git repository. Making this work pulled a relatively large refactor of how the commands interact with application packages and devices. Now commands that want to interact with application packages or devices inherit from a common base class that holds stores of those objects as members. In production, the commands download and connect to devices based on the build configuration stored on the FlutterCommandRunner. In testing, these fields are used to mock out the real application package and devices.
-
Ian Fischer authored
Also fixes some minor bugs with iOS and Android interactions.
-
- 06 Oct, 2015 1 commit
-
-
Ian Fischer authored
Also update tests to be compatible with the presence of iOS and add tests for list and install.
-
- 24 Sep, 2015 1 commit
-
-
Ian Fischer authored
Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command.
-
- 16 Sep, 2015 1 commit
-
-
Ian Fischer authored
-
- 11 Sep, 2015 1 commit
-
-
Devon Carew authored
-