Definition at line 41 of file FlutterViewTest.mm.
◆ testFlutterViewBackgroundColorIsNotNil
- (void) testFlutterViewBackgroundColorIsNotNil |
|
|
|
|
implementation |
Definition at line 13 of file FlutterViewTest.mm.
54 {
57 XCTAssertNotNil(view.backgroundColor);
58}
◆ testFlutterViewEnableSemanticsWhenIsAccessibilityElementIsCalled
- (void) testFlutterViewEnableSemanticsWhenIsAccessibilityElementIsCalled |
|
|
|
|
implementation |
◆ testIgnoreWideColorWithoutImpeller
- (void) testIgnoreWideColorWithoutImpeller |
|
|
|
|
implementation |
Definition at line 13 of file FlutterViewTest.mm.
60 {
65 XCTAssertTrue([view.layer isKindOfClass:NSClassFromString(@"CAMetalLayer")]);
66 CAMetalLayer* layer = (CAMetalLayer*)view.layer;
67 XCTAssertEqual(layer.pixelFormat, MTLPixelFormatBGRA8Unorm);
68}
◆ testLayerScalesMatchScreenAfterLayoutSubviews
- (void) testLayerScalesMatchScreenAfterLayoutSubviews |
|
|
|
|
implementation |
Definition at line 13 of file FlutterViewTest.mm.
70 {
73 view.layer.contentsScale = CGFloat(-99.0);
74 view.layer.rasterizationScale = CGFloat(-99.0);
75 UIScreen* screen = [view
screen];
76 XCTAssertNotEqual(view.layer.contentsScale, screen.scale);
77 XCTAssertNotEqual(view.layer.rasterizationScale, screen.scale);
79 XCTAssertEqual(view.layer.contentsScale, screen.scale);
80 XCTAssertEqual(view.layer.rasterizationScale, screen.scale);
81}
The documentation for this class was generated from the following file: