Commit Graph

16 Commits

Author SHA1 Message Date
gaaclarke 3c271bb942 Started asserting the FlutterEngine is running before communicating over channels. (#12469)
Started asserting the FlutterEngine is running before communicating
over channels.  This changes a null pointer exception to an
NSException that will provide some meaningful data to clients
incorrectly using the engine in an add-to-app situations.
2019-09-27 15:18:45 -07:00
gaaclarke 933f83e303 Added unit tests for method channels. (#12373)
Added unit tests for method channels.
2019-09-20 14:25:56 -07:00
Chinmay Garde ba51408257 Reference the Flutter framework instead of the dylib in iOS tests. (#11337) 2019-08-21 00:04:01 -07:00
Matt Carroll 5bb144ca8b Re-lands platform brightness support on iOS, plus platform contrast (#10791) 2019-08-15 14:51:07 -07:00
Chinmay Garde 7cfb3de69b Revert "Forwards iOS dark mode trait to the Flutter framework (#34441). (#9722)" (#10789)
This reverts commit 65fd5d4d62.
2019-08-08 17:15:06 -07:00
Matt Carroll 65fd5d4d62 Forwards iOS dark mode trait to the Flutter framework (#34441). (#9722) 2019-08-08 16:22:45 -07:00
gaaclarke 3d7f93a2e7 Removed logic from FlutterAppDelegate into FlutterPluginAppLifeCycleDelegate (#9893)
Removed logic from FlutterAppDelegate into
FlutterPluginAppLifeCycleDelegate.  This is a better place for
add-to-app since it doesn't require them to use our app delegate.
2019-07-19 10:58:39 -07:00
gaaclarke 3b944102a5 Un-deprecated FlutterViewController's binaryMessenger. (#9767)
Un-deprecated FlutterViewController's binaryMessenger.  Leaving it as
a valid convenience method and to help minimize a breaking change.
2019-07-11 10:04:26 -07:00
gaaclarke 50a8e73615 Has a binary messenger (#9419)
Made the engine and the view controllers have BinaryMessengers, not be
BinaryMessengers.  This allows us to break retain cycles and makes the
leaking channels we have not less dire.
2019-06-27 17:25:32 -07:00
gaaclarke 13145e90cd ios-unit-tests: Started using rsync instead of cp -R to copy frameworks. (#9471)
* Started using rsync instead of cp -R to copy frameworks.

* Removed stray input files for xcode script.
2019-06-25 08:59:19 -07:00
gaaclarke b7dd1cdce9 ios-unit-tests: Fixed ocmock system header search paths. (#9469) 2019-06-24 17:04:44 -07:00
gaaclarke a6e5b10f22 Forgot a usage of a variable in our script. (#9467) 2019-06-24 16:49:19 -07:00
gaaclarke 183a76b38d Added shebangs to ios unit test scripts. (#9464) 2019-06-24 14:02:38 -07:00
gaaclarke 52ebf4c429 Made sure that the run_tests script returns the right error code. (#9456) 2019-06-24 11:22:41 -07:00
gaaclarke f6389583f4 Ios unit tests choose engine (#9432)
* Split out the run_tests script to a build_and_run_tests script to make
it easier to run the tests on luci.

* Made build and run pass in its argument to run.
2019-06-21 16:43:35 -07:00
gaaclarke cd973f8aae Added unit tests for the ios code. (#9388)
* Added unit tests for the ios code.

* Moved the tests to live next to the source.

* Added mocking library.

* Fixed formatting and removed third_party from the format check.

* fixed formatting 2

* Removed ocmock from third_party.

* Added ocmock to third_party, compile from source.

* removed ocmock from license checking

* updated licenses_flutter

* updated tool_signature
2019-06-20 17:37:03 -07:00