diff --git a/engine/src/flutter/shell/platform/windows/flutter_windows_unittests.cc b/engine/src/flutter/shell/platform/windows/flutter_windows_unittests.cc index e0b87dd7812..52676d3fd7f 100644 --- a/engine/src/flutter/shell/platform/windows/flutter_windows_unittests.cc +++ b/engine/src/flutter/shell/platform/windows/flutter_windows_unittests.cc @@ -9,6 +9,7 @@ #include "gtest/gtest.h" namespace flutter { +namespace testing { TEST(FlutterWindowsTest, GetTextureRegistrar) { FlutterDesktopEngineProperties properties; @@ -22,4 +23,5 @@ TEST(FlutterWindowsTest, GetTextureRegistrar) { FlutterDesktopEngineDestroy(engine); } +} // namespace testing } // namespace flutter diff --git a/engine/src/flutter/shell/platform/windows/keyboard_key_embedder_handler_unittests.cc b/engine/src/flutter/shell/platform/windows/keyboard_key_embedder_handler_unittests.cc index aee316a4e16..3c526d9ba65 100644 --- a/engine/src/flutter/shell/platform/windows/keyboard_key_embedder_handler_unittests.cc +++ b/engine/src/flutter/shell/platform/windows/keyboard_key_embedder_handler_unittests.cc @@ -14,6 +14,7 @@ #include "gtest/gtest.h" namespace flutter { +namespace testing { namespace { @@ -71,11 +72,6 @@ UINT DefaultMapVkToScan(UINT virtual_key, bool extended) { extended ? MAPVK_VK_TO_VSC_EX : MAPVK_VK_TO_VSC); } -} // namespace - -namespace testing { - -namespace { constexpr uint64_t kScanCodeKeyA = 0x1e; constexpr uint64_t kScanCodeAltLeft = 0x38; constexpr uint64_t kScanCodeNumpad1 = 0x4f; @@ -86,9 +82,10 @@ constexpr uint64_t kScanCodeShiftRight = 0x36; constexpr uint64_t kVirtualKeyA = 0x41; -using namespace ::flutter::testing::keycodes; } // namespace +using namespace ::flutter::testing::keycodes; + TEST(KeyboardKeyEmbedderHandlerTest, ConvertChar32ToUtf8) { std::string result;