Flutter Engine
MockEngine Class Reference
Inheritance diagram for MockEngine:

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 50 of file FlutterKeyboardManagerTest.mm.


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