enable crash reporting in flutter_tools (#9039)

* enable crash reporting in flutter_tools

* fix analytics text; use relative paths

* fix test
This commit is contained in:
Yegor
2017-03-28 15:16:38 -07:00
committed by GitHub
parent ab6df3af40
commit 3ef9909237
5 changed files with 62 additions and 34 deletions

View File

@@ -170,6 +170,9 @@ class MockSimControl extends Mock implements SimControl {
class MockOperatingSystemUtils extends Mock implements OperatingSystemUtils {
@override
List<File> whichAll(String execName) => <File>[];
@override
String get name => 'fake OS name and version';
}
class MockIOSSimulatorUtils extends Mock implements IOSSimulatorUtils {}
@@ -190,6 +193,9 @@ class MockUsage implements Usage {
@override
set enabled(bool value) { }
@override
String get clientId => '00000000-0000-4000-0000-000000000000';
@override
void sendCommand(String command) { }