5#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterAppDelegate.h"
7#import "flutter/testing/testing.h"
8#include "third_party/googletest/googletest/include/gtest/gtest.h"
23- (
BOOL)handleOpenURLs:(NSArray<NSURL*>*)urls {
24 self.receivedURLs = [urls copy];
49 NSURL*
URL = [NSURL URLWithString:@"https://flutter.dev"];
51 NSArray<NSURL*>* URLs = @[
URL ];
66 NSURL*
URL = [NSURL URLWithString:@"https://flutter.dev"];
68 NSArray<NSURL*>* URLs = @[
URL ];
static void copy(void *dst, const uint8_t *src, int width, int bpp, int deltaSrc, int offset, const SkPMColor ctable[])
NSArray< NSURL * > * receivedURLs
void application:openURLs:(NSApplication *application, [openURLs] NSArray< NSURL * > *urls)
void addApplicationLifecycleDelegate:(NSObject< FlutterAppLifecycleDelegate > *delegate)
TEST(FlutterAppDelegateTest, OperURLsStopsAfterHandled)