#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
#import <Metal/Metal.h>
#import "flutter/testing/testing.h"
Go to the source code of this file.
◆ TEST()
TEST |
( |
FlutterView |
, |
|
|
ShouldInheritContentsScaleReturnsYes |
|
|
) |
| |
Definition at line 24 of file FlutterViewTest.mm.
25 id<MTLDevice> device = MTLCreateSystemDefaultDevice();
26 id<MTLCommandQueue> queue = [device newCommandQueue];
31 reshapeListener:listener
32 threadSynchronizer:threadSynchronizer
34 EXPECT_EQ([view layer:view.layer shouldInheritContentsScale:3.0 fromWindow:view.window], YES);
◆ kImplicitViewId
constexpr int64_t kImplicitViewId = 0ll |
|
constexpr |