// Copyright 2018 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// TODO(dnfield): This belongs in the engine repo.#import <Flutter/Flutter.h>#import <XCTest/XCTest.h>@interfaceViewControllerRelease:XCTestCase@end@implementationViewControllerRelease-(void)testReleaseFlutterViewController{__weakFlutterEngine*weakEngine;@autoreleasepool{FlutterViewController*viewController=[[FlutterViewControlleralloc]init];weakEngine=viewController.engine;[viewControllerviewWillAppear:NO];[viewControllerviewDidDisappear:NO];}