Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9a8d741

Browse files
committed
autoformat
1 parent fb80ad7 commit 9a8d741

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

testing/scenario_app/ios/Scenarios/ScenariosUITests/BogusFontTextTest.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
4+
55
#import <Flutter/Flutter.h>
66
#import <XCTest/XCTest.h>
77
#import "GoldenTestManager.h"
@@ -20,9 +20,8 @@ - (void)testFontRenderingWhenSuppliedWithBogusFont {
2020
XCUIApplication* application = [[XCUIApplication alloc] init];
2121
application.launchArguments = @[ @"--bogus-font-text" ];
2222
[application launch];
23-
24-
GoldenTestManager* manager =
25-
[[GoldenTestManager alloc] initWithLaunchArg:@"--bogus-font-text"];
23+
24+
GoldenTestManager* manager = [[GoldenTestManager alloc] initWithLaunchArg:@"--bogus-font-text"];
2625
[manager checkGoldenForTest:self];
2726
}
2827

testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
2020
@property(nonatomic, strong) XCUIApplication* application;
2121

2222
// Initialize with a `GoldenTestManager`.
23-
- (instancetype)initWithManager:(GoldenTestManager*)manager
24-
invocation:(NSInvocation*)invocation;
23+
- (instancetype)initWithManager:(GoldenTestManager*)manager invocation:(NSInvocation*)invocation;
2524

2625
// Take a sceenshot of the test app and check it has the same pixels with goldenImage inside the
2726
// `GoldenTestManager`.

testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ @interface GoldenPlatformViewTests ()
1919

2020
@implementation GoldenPlatformViewTests
2121

22-
- (instancetype)initWithManager:(GoldenTestManager*)manager
23-
invocation:(NSInvocation*)invocation {
22+
- (instancetype)initWithManager:(GoldenTestManager*)manager invocation:(NSInvocation*)invocation {
2423
self = [super initWithInvocation:invocation];
2524
_manager = manager;
2625
return self;

testing/scenario_app/ios/Scenarios/ScenariosUITests/PlatformViewUITests.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ @interface PlatformViewUITests : GoldenPlatformViewTests
1111
@implementation PlatformViewUITests
1212

1313
- (instancetype)initWithInvocation:(NSInvocation*)invocation {
14-
GoldenTestManager* manager =
15-
[[GoldenTestManager alloc] initWithLaunchArg:@"--platform-view"];
14+
GoldenTestManager* manager = [[GoldenTestManager alloc] initWithLaunchArg:@"--platform-view"];
1615
return [super initWithManager:manager invocation:invocation];
1716
}
1817

testing/scenario_app/lib/src/bogus_font_text.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class BogusFontText extends Scenario {
3333
..pop();
3434
final Paragraph paragraph = paragraphBuilder.build();
3535

36-
// Fill half the screen.
3736
paragraph.layout(ParagraphConstraints(width: _screenWidth));
3837

3938
canvas.drawParagraph(paragraph, const Offset(50, 80));

0 commit comments

Comments
 (0)