40 Commits

Author SHA1 Message Date
Jenn Magder
ef50866478 Unskip iOS launch URL tests (flutter/engine#27854) 2021-08-04 18:37:05 -07:00
Greg Spencer
185d8601c5 Hardware Keyboard: iOS (flutter/engine#25961)
Implement new keyboard event system for iOS.
2021-07-07 16:52:04 -07:00
gaaclarke
78b1abc9c4 Turned no malloc scribble and randomized the tests. (flutter/engine#23014) 2020-12-17 15:14:15 -08:00
Kaushik Iska
5fe332317b Reland [ios] Refactor IOSSurface factory and unify surface creation (flutter/engine#22016) 2020-10-29 11:58:03 -07:00
Dan Field
1c9b3e2299 Ocmock dylib (flutter/engine#21786)
- Build OCMock as a dylib for iOS tests
- Set install_name for ios_flutter_test and ocmock dylibs
- Copy and sign dylibs during build process
2020-10-13 09:36:29 -07:00
xster
8e3ed9ca9f Delete unused iOS test scripts after LUCI change (flutter/engine#18712)
This deletes old LUCI build scripts that have been unused since
https://flutter-review.googlesource.com/c/recipes/+/3160
2020-09-09 18:22:45 -07:00
Mehmet Fidanboylu
fd10b885d8 Enable iOS plumbing for network security and add tests (flutter/engine#20492) 2020-08-16 21:20:26 -07:00
Dan Field
4d8aaaa337 Make sure ios tests fail if they fail (flutter/engine#20518)
* Make sure ios tests fail if they fail

* explain
2020-08-14 10:11:37 -07:00
xster
5ac78f5be6 Refactor initial route code take 2 (flutter/engine#20468) 2020-08-13 14:18:11 -07:00
gaaclarke
232d6c4fca Revert "Refactor initial route code (#19684)" (flutter/engine#20450)
This reverts commit 21404b56c6c183a829d9c758bec2330155e2d86d.
2020-08-12 12:43:08 -07:00
xster
21404b56c6 Refactor initial route code (flutter/engine#19684) 2020-08-11 19:52:04 -07:00
Jenn Magder
1aa5f8cd66 Turn off failing XCTest attachment collection (flutter/engine#19668) 2020-07-14 09:06:03 -07:00
Jenn Magder
51ef62b895 Remove xcpretty from unit tests to see full output on test failures (flutter/engine#19667) 2020-07-13 15:48:42 -07:00
xster
410947a88e Make the testing process on different platforms more consistent (flutter/engine#18660) 2020-05-29 18:11:26 -07:00
Kaushik Iska
686b4af73f Update the observatory thread name for profiling thread (flutter/engine#18199) 2020-05-15 12:28:10 -07:00
Kaushik Iska
834cfb021e Add ocmock to iOS unit tests xcode project (flutter/engine#18396) 2020-05-14 19:42:02 -07:00
xster
664700007c Fix accessibility focus loss when first focusing on text field (flutter/engine#17803) 2020-04-24 15:44:54 -07:00
gaaclarke
43dffbd739 Added some tests after the fact for #17499 (flutter/engine#17714) 2020-04-15 11:52:52 -07:00
gaaclarke
3849b114d4 Made it so unit tests can be written against all ios engine code. (flutter/engine#17624) 2020-04-13 12:34:54 -07:00
gaaclarke
bbae0c06d4 Enabled hiding the home indicator with SystemChrome.setEnabledSystemUIOverlays (flutter/engine#17574) 2020-04-09 09:43:38 -07:00
LongCatIsLooong
d6d4f376a1 iOS UITextInput autocorrection prompt (flutter/engine#13959) 2020-04-07 14:45:59 -07:00
LongCatIsLooong
530cf1c010 Reland "Bump simulator version in IosUnitTests & scenario app in preparation for luci xcode 11 migration (#15316)", Reverted in #15313
This reverts commit e1c106dc703463880013285c0c137540dc3ceec4.
2020-01-08 12:06:15 -08:00
LongCatIsLooong
e1c106dc70 Revert "Bump simulator version in IosUnitTests & scenario app in preparation for luci xcode 11 migration (#15154)" (flutter/engine#15313)
This reverts commit ea4661f61bf51848c6436777c0feb0c7c4bd00fa.
2020-01-08 10:43:32 -08:00
LongCatIsLooong
ea4661f61b Bump simulator version in IosUnitTests & scenario app in preparation for luci xcode 11 migration (flutter/engine#15154) 2020-01-08 10:05:56 -08:00
gaaclarke
2aea717b71 Started asserting the FlutterEngine is running before communicating over channels. (flutter/engine#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
1cad708800 Added unit tests for method channels. (flutter/engine#12373)
Added unit tests for method channels.
2019-09-20 14:25:56 -07:00
Chinmay Garde
9326ee2551 Reference the Flutter framework instead of the dylib in iOS tests. (flutter/engine#11337) 2019-08-21 00:04:01 -07:00
Matt Carroll
b4d4a675d4 Re-lands platform brightness support on iOS, plus platform contrast (flutter/engine#10791) 2019-08-15 14:51:07 -07:00
Chinmay Garde
158315caf9 Revert "Forwards iOS dark mode trait to the Flutter framework (#34441). (#9722)" (flutter/engine#10789)
This reverts commit 51904fc4bda988cb0719fcf19efada85d844fc86.
2019-08-08 17:15:06 -07:00
Matt Carroll
51904fc4bd Forwards iOS dark mode trait to the Flutter framework (#34441). (flutter/engine#9722) 2019-08-08 16:22:45 -07:00
gaaclarke
e7720142ef Removed logic from FlutterAppDelegate into FlutterPluginAppLifeCycleDelegate (flutter/engine#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
5b09d678cf Un-deprecated FlutterViewController's binaryMessenger. (flutter/engine#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
67ef386e9f Has a binary messenger (flutter/engine#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
d747d4146a ios-unit-tests: Started using rsync instead of cp -R to copy frameworks. (flutter/engine#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
f205d9e6e0 ios-unit-tests: Fixed ocmock system header search paths. (flutter/engine#9469) 2019-06-24 17:04:44 -07:00
gaaclarke
ba5e0f9c6e Forgot a usage of a variable in our script. (flutter/engine#9467) 2019-06-24 16:49:19 -07:00
gaaclarke
7490ffddf1 Added shebangs to ios unit test scripts. (flutter/engine#9464) 2019-06-24 14:02:38 -07:00
gaaclarke
47658b3bb5 Made sure that the run_tests script returns the right error code. (flutter/engine#9456) 2019-06-24 11:22:41 -07:00
gaaclarke
b4532b93f2 Ios unit tests choose engine (flutter/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
5ff4512832 Added unit tests for the ios code. (flutter/engine#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