Flutter iOS Embedder
framework_common_swift_unittests.mm
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 #import "flutter/shell/platform/darwin/common/framework_common_swift_unittests/framework_common_swift_unittests.h"
6 
9 #include "gtest/gtest.h"
10 
12 
13 TEST(FrameworkCommonUnittestsSwift, Logger) {
14  ASSERT_FALSE(FLTThrowsObjcException(^{
15  [[LoggerTest alloc] runAllTests];
16  }));
17 }
BOOL FLTThrowsObjcException(dispatch_block_t block)
Returns YES if the block throws an exception.
FLUTTER_ASSERT_ARC TEST(FrameworkCommonUnittestsSwift, Logger)