Todd Volkert
5d29737a04
Bump mockito to version 2.0.2 ( #8713 )
2017-03-10 13:53:22 -08:00
Chris Bracken
7a09316cd0
Declare locals final where not reassigned (flutter_tools) ( #8570 )
2017-03-03 17:50:46 -08:00
Yegor
bfef36f710
add waitUntilNoTransientCallbacks to driver API ( #8475 )
2017-02-28 15:58:28 -08:00
Dan Rubel
34e466f1fd
Refactor flutter command exit code - part 3 of 3 ( #6838 )
...
* Remove the workaround that pinned args to v0.13.6
This reverts most of the changes in commit 6331b6c8b5
* 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
2016-11-14 14:21:30 -05:00
pq
79d1d3a7c4
Prefer implict equals
matcher in test expectations.
...
@Hixie: as per our conversation, a little more concise.
2016-05-04 13:58:45 -07:00
Devon Carew
c9010c91f6
fix analysis errors ( #3677 )
...
* fix analysis errors
* review comments; fix test
* re-add an export for debugPrint
2016-05-03 09:09:00 -07:00
Devon Carew
5ad6a57007
remove some references to DeviceStore
2016-03-11 11:25:03 -08:00
Hixie
c7339de6bc
Enable always_declare_return_types lint
...
And fix a zillion omissions this uncovered.
2016-03-09 17:57:39 -08:00
Devon Carew
022047f5eb
remove the isConnected() method from device
2016-02-26 13:23:48 -08:00
Devon Carew
37290d866e
additional validation for device commands
2016-02-24 11:11:23 -08:00
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00
Devon Carew
2dbceafbc6
introduce globals scoped to the app's context
2016-02-09 22:03:13 -08:00
Devon Carew
d7fbf5302d
use status(), error(), and trace() for logging
...
rename to printTrace(), printStatus(), and printError()
2016-01-28 12:44:17 -08:00
Adam Barth
da0a12c611
Rename sky_tools to flutter_tools
2015-11-10 13:20:35 -08:00
Adam Barth
8df5e9f738
Polish up some error handling
...
This patch improves the error handling for several arbitrary issues I
encountered while experimenting with the tool this evening.
2015-10-12 00:55:13 -07:00
Adam Barth
bdd20661d7
Teach sky_tools about prebuilt artifacts
...
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.
2015-10-12 00:03:55 -07:00
Ian Fischer
a6a3f212ee
IOSSimulator implementation.
...
Also fixes some minor bugs with iOS and Android interactions.
2015-10-11 19:36:06 -07:00
Adam Barth
287817f224
Move Command subclasses into commands directory
...
I'm trying to get a feel for the code by writing some simple cleanup patches.
2015-10-09 23:22:20 -07:00
Ian Fischer
12192d00c1
Beginning implementation of IOSDevice. Implements list and install.
...
Also update tests to be compatible with the presence of iOS and add tests for list and install.
2015-10-06 11:46:29 -07:00
Ian Fischer
cae053c353
Refactor all the commands to be Commands from the Args package. Also use CommandRunner for the top-level command.
2015-09-24 15:51:23 -07:00
Ian Fischer
0cc758d24e
Set up plumbing for getting relevant paths to the right places without too much global state.
...
`dart bin/sky_tools.dart --debug --sky-src-path=/path/to/sky/src/ install` now works.
2015-09-22 11:17:39 -07:00
Ian Fischer
c5ea40980a
Most of the infrastructure needed to install an APK on Android.
2015-09-16 12:56:10 -07:00
Devon Carew
e6b45c5023
use mokito in the init tests
2015-09-11 16:12:27 -07:00
Ian Fischer
ab441685e2
Test install command
2015-09-11 15:26:55 -07:00