| Flutter iOS Embedder |

Classes | Functions
FlutterBinaryMessengerRelayTest.mm File Reference
`#import "flutter/shell/platform/darwin/common/framework/Source/FlutterBinaryMessengerRelay.h"`
`#import <OCMock/OCMock.h>`
`#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h"`
`#import "flutter/shell/platform/darwin/common/framework/Source/FlutterTestUtils.h"`
`#import "flutter/testing/testing.h"`
`#include "gtest/gtest.h"`

Go to the source code of this file.

## Classes
protocol | <FlutterTaskQueue>
class | FlutterBinaryMessengerRelayTest

## Functions
| TEST (FlutterBinaryMessengerRelayTest, Create)
| TEST (FlutterBinaryMessengerRelayTest, PassesCallOn)
| TEST (FlutterBinaryMessengerRelayTest, DoesntPassCallOn)
| TEST (FlutterBinaryMessengerRelayTest, SetMessageHandlerWithTaskQueue)
| TEST (FlutterBinaryMessengerRelayTest, SetMakeBackgroundTaskQueue)

## Function Documentation

## ◆ TEST() [1/5]

TEST | ( | FlutterBinaryMessengerRelayTest | ,
|  | Create |
| ) |  |

Definition at line 78 of file FlutterBinaryMessengerRelayTest.mm.

78 {
79 ASSERT_FALSE(FLTThrowsObjcException(^{
80 [[FlutterBinaryMessengerRelayTest alloc] testCreate];
81 }));
82 }

References FLTThrowsObjcException().

## ◆ TEST() [2/5]

TEST | ( | FlutterBinaryMessengerRelayTest | ,
|  | DoesntPassCallOn |
| ) |  |

Definition at line 90 of file FlutterBinaryMessengerRelayTest.mm.

90 {
91 ASSERT_FALSE(FLTThrowsObjcException(^{
92 [[FlutterBinaryMessengerRelayTest alloc] testDoesntPassCallOn];
93 }));
94 }

References FLTThrowsObjcException().

## ◆ TEST() [3/5]

TEST | ( | FlutterBinaryMessengerRelayTest | ,
|  | PassesCallOn |
| ) |  |

Definition at line 84 of file FlutterBinaryMessengerRelayTest.mm.

84 {
85 ASSERT_FALSE(FLTThrowsObjcException(^{
86 [[FlutterBinaryMessengerRelayTest alloc] testPassesCallOn];
87 }));
88 }

References FLTThrowsObjcException().

## ◆ TEST() [4/5]

TEST | ( | FlutterBinaryMessengerRelayTest | ,
|  | SetMakeBackgroundTaskQueue |
| ) |  |

Definition at line 102 of file FlutterBinaryMessengerRelayTest.mm.

102 {
103 ASSERT_FALSE(FLTThrowsObjcException(^{
104 [[FlutterBinaryMessengerRelayTest alloc] testMakeBackgroundTaskQueue];
105 }));
106 }

References FLTThrowsObjcException().

## ◆ TEST() [5/5]

TEST | ( | FlutterBinaryMessengerRelayTest | ,
|  | SetMessageHandlerWithTaskQueue |
| ) |  |

Definition at line 96 of file FlutterBinaryMessengerRelayTest.mm.

96 {
97 ASSERT_FALSE(FLTThrowsObjcException(^{
98 [[FlutterBinaryMessengerRelayTest alloc] testSetMessageHandlerWithTaskQueue];
99 }));
100 }

References FLTThrowsObjcException().

FlutterBinaryMessengerRelayTest
Definition: FlutterBinaryMessengerRelayTest.mm:19
FLTThrowsObjcException
BOOL FLTThrowsObjcException(dispatch_block_t block)
Returns YES if the block throws an exception.
Definition: FlutterTestUtils.mm:11