- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 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
-
- 21 Jun, 2018 1 commit
-
-
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
-
- 05 Jun, 2018 1 commit
-
-
Keerti Parthasarathy authored
-
- 04 Jun, 2018 1 commit
-
-
Ian Hickson authored
Now that we have thousands of tests, it doesn't make sense to display a separate line for each test. The result is just megabytes of logs that you have to scrub through to find error messages.
-
- 14 May, 2018 1 commit
-
-
Vyacheslav Egorov authored
* Search for a suitable ARM sysroot instead of hardcoding it; * Add facility to explain why NDK was not found;
-
- 01 Mar, 2018 1 commit
-
-
jcollins-g authored
-
- 28 Feb, 2018 1 commit
-
-
jcollins-g authored
* Revert "Revert "Add android license verification to doctor and some refactoring" (#14727)" This reverts commit d2602947. * Add tests, fix sdkManagerEnv and use it consistently, and rearrange Status object model * AnsiSpinner needs to leave the cursor where it found it. * fix tests * Const constructor warning only shows up on windows...? * Avoid crash if we can't find the home directory * Make pathVarSeparator return a string in the mock * Implement review comments * Fix out-of-order problem on stop
-
- 25 Jan, 2018 1 commit
-
-
Chris Bracken authored
AndroidSdk and AndroidStudio depends relatively heavily on filesystem access to locate installed tools. Testing code that relies on either of these classes benefits from a utility method to generate a legitimate-looking Android SDK directory layout for testing.
-
- 24 Jan, 2018 1 commit
-
-
Chris Bracken authored
Convenience getters for the the path to the Android SDK manager and the currently installed version of the tool. Pre-factoring to support better checks around the --android-licenses command, which uses a feature of the SDK manager that is unsupported in older versions of the tool.
-
- 21 Nov, 2017 1 commit
-
-
Martin Kustermann authored
* Add support for NDK discovery and add --prefer-shared-library option We would like to be able to use native tools (e.g. simpleperf, gdb) with precompiled flutter apps. The native tools work much better with *.so files instead of the custom formats the Dart VM uses by default. The reason for using blobs / instruction snapshots is that we do not want to force flutter users to install the Android NDK. This CL adds a `--prefer-shared-library` flag to e.g. `flutter build apk` which will use the NDK compiler (if available) to turn the precompiled app assembly file to an `*.so` file. If the NDK compiler is not available it will default to the default behavior. * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag * Use InMemoryFileSystem for test * Remove unused import * Address some analyzer warnings
-
- 17 Nov, 2017 1 commit
-
-
Todd Volkert authored
Previously, we were mapping certain named platforms (e.g. `android-stable`) to their corresponding version. this had two problems: 1. The version could become out of date. For instance, we had mapped `android-stable` to version 24, but the stable version is now 27. 2. The list of possible named versions wasn't comprehensive. Some Android SDKs just list the platform as `stable`, or `experimental`, etc. This change updates the platform version detection to use the `build.prop` file that exists in the platform directory (only for cases where the version number is not encoded into the directory name).
-
- 12 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 07 Mar, 2017 1 commit
-
-
John McCutchan authored
* Request the user upgrade if the Android SDK version is 24 * Update android_sdk_test.dart * Update android_sdk.dart
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 14 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 07 Jan, 2017 1 commit
-
-
Todd Volkert authored
This removes direct file access from within flutter_tools in favor of using `package:file` via a `FileSystem` that's accessed via the `ApplicationContext`. This lays the groundwork for us to be able to easily swap out the underlying file system when running Flutter tools, which will be used to provide a record/replay file system, analogous to what we have for process invocations.
-
- 17 Mar, 2016 1 commit
-
-
Devon Carew authored
-