Flutter iOS Embedder
FlutterPlatformViewsTestHelper.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWSTESTHELPER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWSTESTHELPER_H_
7 
8 #import <Foundation/Foundation.h>
10 
12 
13 namespace flutter {
14 namespace testing {
15 
16 /**
17  * Returns a task runner mapped to the current message loop on this thread.
18  */
20 
21 /**
22  * Returns a task runners wrapper where all task runners map to the default test thread runner.
23  */
25 
26 /**
27  * Returns a FlutterPlatformViewsController pre-configured for testing with the default task runner.
28  */
30 
31 } // namespace testing
32 } // namespace flutter
33 
34 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWSTESTHELPER_H_
FlutterFMLTaskRunner * GetDefaultTaskRunner()
FlutterPlatformViewsController * CreateTestPlatformViewsController(NSString *label)
FlutterFMLTaskRunners * CreateTestTaskRunners(NSString *label)