| Flutter macOS Embedder |

FlutterViewControllerTestUtils.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_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_
7
8 #import <Foundation/NSString.h>
9 #import <OCMock/OCMock.h>
10
11 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDartProject_Internal.h"
12 #import "flutter/shell/platform/darwin/macos/framework/Source/FlutterViewController_Internal.h"
13 #import "flutter/testing/testing.h"
14
15 namespace flutter::testing {
16
17 // Returns a mock FlutterViewController.
18 id CreateMockViewController();
19
20 } // namespace flutter::testing
21
22 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWCONTROLLERTESTUTILS_H_
flutter::testing::CreateMockViewController
id CreateMockViewController()
Definition: FlutterViewControllerTestUtils.mm:9
flutter::testing
Definition: AccessibilityBridgeMacTest.mm:13
FlutterDartProject_Internal.h
FlutterViewController_Internal.h