Flutter Engine
 
Loading...
Searching...
No Matches
framework_common_swift_unittests.mm File Reference
import "flutter/shell/platform/darwin/common/framework_common_swift_unittests/framework_common_swift_unittests.h"
import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h"
import "flutter/shell/platform/darwin/common/framework/Source/FlutterTestUtils.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Functions

FLUTTER_ASSERT_ARC TEST (FrameworkCommonUnittestsSwift, Logger)
 

Function Documentation

◆ TEST()

FLUTTER_ASSERT_ARC TEST ( FrameworkCommonUnittestsSwift  ,
Logger   
)

Definition at line 13 of file framework_common_swift_unittests.mm.

13 {
14 ASSERT_FALSE(FLTThrowsObjcException(^{
15 [[LoggerTest alloc] runAllTests];
16 }));
17}
BOOL FLTThrowsObjcException(dispatch_block_t block)
Returns YES if the block throws an exception.

References FLTThrowsObjcException().