Flutter iOS Embedder
MockEngine Class Reference
Inheritance diagram for MockEngine:

Properties

FlutterDartProjectproject
 

Detailed Description

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 101 of file FlutterViewControllerTest.mm.

Property Documentation

◆ project

- (FlutterDartProject*) project
readwritenonatomicstrong

Definition at line 102 of file FlutterViewControllerTest.mm.


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