From b0c35a4acad4760036ee043e8f02834ed2f38891 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 23 Apr 2024 16:21:05 -0700 Subject: [PATCH] [macOS] Disable FlutterEngineTest.BackgroundColor (flutter/engine#52341) This was re-enabled in https://github.com/flutter/flutter/issues/124677 after fixing leaks in https://github.com/flutter/engine/pull/50832. Since this test involves an NSWindow, there are separate fixes that should be landed to reduce flakes related to lack of NSWindow close calls in the tests. See related AppKit bug report filed at http://www.openradar.me/FB13291861. Issue: https://github.com/flutter/flutter/issues/145728 Related issue: https://github.com/flutter/flutter/issues/124677 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- .../platform/darwin/macos/framework/Source/FlutterEngineTest.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm index ffb4d9b2ed..8bd661ef6c 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm @@ -223,7 +223,7 @@ TEST_F(FlutterEngineTest, CanLogToStdout) { EXPECT_TRUE(stdout_capture.GetOutput().find("Hello logging") != std::string::npos); } -TEST_F(FlutterEngineTest, BackgroundIsBlack) { +TEST_F(FlutterEngineTest, DISABLED_BackgroundIsBlack) { FlutterEngine* engine = GetFlutterEngine(); // Latch to ensure the entire layer tree has been generated and presented.