| Flutter iOS Embedder |

Functions
FlutterTestUtils.mm File Reference
`#import "flutter/shell/platform/darwin/common/framework/Source/FlutterTestUtils.h"`
`#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h"`

Go to the source code of this file.

## Functions
FLUTTER_ASSERT_ARC BOOL | FLTThrowsObjcException (dispatch_block_t block)
| Returns YES if the block throws an exception. More...

## Function Documentation

## ◆ FLTThrowsObjcException()

FLUTTER_ASSERT_ARC BOOL FLTThrowsObjcException | ( | dispatch_block_t | block | ) |

Returns YES if the block throws an exception.

Definition at line 11 of file FlutterTestUtils.mm.

11 {
12 @try {
13 block();
14 } @catch (...) {
15 return YES;
16 }
17 return NO;
18 }

Referenced by TEST().