Benign repos Download

flutter_view_unittests.cc

imports flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view.himports flutter/shell/platform/windows/client_wrapper/testing/stub_flutter_windows_api.h
SHA-256027125abef9c0736fa8f020a296fbd316b0824b33090bbe41af00710d1889f6d

Evidence

imports flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view.h lines 1–17
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#include <memory>
6#include <string>
7
8#include "flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_view.h"
9#include "flutter/shell/platform/windows/client_wrapper/testing/stub_flutter_windows_api.h"
10#include "gtest/gtest.h"
11
12namespace flutter {
⋯5 lines
C/C++ unit-test EXPECT_EQ marker lines 31–36
31:3… FlutterView view(reinterpret_cast<FlutterDesktopViewRef>(2));
32 EXPECT_EQ(view.GetNativeWindow(), reinterpret_cast<HWND>(7));
33}
34
35TEST(FlutterViewTest, GraphicsAdapterAccessPassesThrough) {
36 testing::S …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.