Flutter iOS Embedder
MockEngine Class Reference
Inheritance diagram for MockEngine:

Properties

FlutterDartProjectproject
 

Detailed Description

A simple mock class for FlutterEngine.

OCMockClass can't be used for FlutterEngine sometimes because OCMock retains arguments to invocations and since the init for FlutterViewController calls a method on the FlutterEngine it creates a retain cycle that stops us from testing behaviors related to deleting FlutterViewControllers.

A simple mock class for FlutterEngine.

OCMClassMock can't be used for FlutterEngine sometimes because OCMock retains arguments to invocations and since the init for FlutterViewController calls a method on the FlutterEngine it creates a retain cycle that stops us from testing behaviors related to deleting FlutterViewControllers.

Used for testing deallocation.

Definition at line 52 of file FlutterKeyboardManagerTest.mm.

Property Documentation

◆ project

- (FlutterDartProject*) project
readwritenonatomicstrong

Definition at line 100 of file FlutterViewControllerTest.mm.


The documentation for this class was generated from the following files: