flutter/packages/flutter_tools/test/android
Danny Tuppeny a74f591d0c
Change asset_bundle_package_font_test to memory file system (#21114)
* Change assert_bundle_package_font_test to memory file system

This is to work towards being able to run the tests without `-j1` (#21113). These tests were using the real filesystem and setting/relying on fs.currentDirectory. There was a comment about this being because the memory provider didnt' support POSIX and Windows, however that seems to have changed since (and many other asset tests already do something similar to this).

* Trim trailing whitespace

* Add a workaround for Windows path slash directions

Strictly this is correct, but the real FS can tolerate either path. The in-memory file system is more strict (see https://github.com/google/file.dart/issues/112).

* Extract a helper for writing schema files in tests

* Missed file when saving!

* Remove redundant comment

* Rename writeBasicSchema -> writeEmptySchema

* Use the file we already have to write contents

* Make comments more descriptive

* Remove another dupe of writeSchema to use the shared one

* Rename schema -> pubspec_schema

* Trim whitespace
2018-09-04 17:12:24 +01:00
..
android_device_test.dart Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00
android_emulator_test.dart Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00
android_sdk_test.dart Clean up usage of temporary directories (#20682) 2018-08-17 13:17:23 -07:00
android_workflow_test.dart Clean up usage of temporary directories (#20682) 2018-08-17 13:17:23 -07:00
gradle_test.dart Change asset_bundle_package_font_test to memory file system (#21114) 2018-09-04 17:12:24 +01:00