Skip to content

Commit 3ddfaf0

Browse files
generatedunixname1460021352335069meta-codesync[bot]
authored andcommitted
Libraries/MobileUI/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__
Differential Revision: D108387733 fbshipit-source-id: e2427d64fb941f08dda8db132e441752846b30a2
1 parent 5221e7a commit 3ddfaf0

19 files changed

Lines changed: 25 additions & 25 deletions

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/LayoutPriorityServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class LayoutPriorityServerSnaposhTests: FBServerSnapshotTestCase {
13+
final class LayoutPriorityServerSnaposhTests: FBServerSnapshotTestCase {
1414

1515
func testWithoutLayoutPriorities() {
1616

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/ListCellServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class ListCellItemViewServerSnaposhTests: FBServerSnapshotTestCase {
13+
final class ListCellItemViewServerSnaposhTests: FBServerSnapshotTestCase {
1414

1515
private func runTest(
1616
title: String,

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/NestedStacksServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class NestedStacksServerSnapshotTests: FBServerSnapshotTestCase {
13+
final class NestedStacksServerSnapshotTests: FBServerSnapshotTestCase {
1414

1515
private func runTest(on views: (UIView, UIView?)) {
1616
takeSnapshot(

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/NestedViewsWithIntrinsizeSizeRangeImplementationServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private final class QuickIntrinsicSizeRangeView: UIView {
2424
}
2525

2626
@MainActor
27-
class NestedViewsWithIntrinsizeSizeRangeImplementationServerSnapshotTests: FBServerSnapshotTestCase {
27+
final class NestedViewsWithIntrinsizeSizeRangeImplementationServerSnapshotTests: FBServerSnapshotTestCase {
2828

2929
func testWithNestedViewsThaContainsLayoutWithHStacks() {
3030

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/NestedViewsWithoutIntrinsizeSizeRangeImplementationServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private final class QuickIntrinsicSizeRangeNotProvidedView: UIView {
2424
}
2525

2626
@MainActor
27-
class NestedViewsWithoutIntrinsizeSizeRangeImplementationServerSnapshotTests: FBServerSnapshotTestCase {
27+
final class NestedViewsWithoutIntrinsizeSizeRangeImplementationServerSnapshotTests: FBServerSnapshotTestCase {
2828

2929
/// The reference layout.
3030
func testWithoutNestedViews() {

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/NewsFeedItemWithFlatHeirarchyViewServerSnaposhTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class NewsFeedItemWithFlatHeirarchyViewServerSnaposhTests: FBServerSnapshotTestCase {
13+
final class NewsFeedItemWithFlatHeirarchyViewServerSnaposhTests: FBServerSnapshotTestCase {
1414

1515
private func runTest(content: TestNewsFeedView.Content) {
1616
let view = TestNewsFeedView()

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/OffsetServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import QuickLayoutBridge
1010
import XCTest
1111

1212
@MainActor
13-
class OffsetServerSnapshotTests: FBServerSnapshotTestCase {
13+
final class OffsetServerSnapshotTests: FBServerSnapshotTestCase {
1414

1515
func testOffset() {
1616

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/PaddingServerSnapshotTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class PaddingServerSnaposhTests: FBServerSnapshotTestCase {
13+
final class PaddingServerSnaposhTests: FBServerSnapshotTestCase {
1414

1515
func testPaddingAll() {
1616

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/QuicklyInvalidSizesServerSnapshotTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FBTestImageGenerator
1010
import QuickLayoutBridge
1111

1212
@MainActor
13-
class QuicklyInvalidSizesServerSnapshotTests: FBServerSnapshotTestCase {
13+
final class QuicklyInvalidSizesServerSnapshotTests: FBServerSnapshotTestCase {
1414

1515
func testProposeZero() {
1616
let view1 = UIView()
@@ -487,7 +487,7 @@ class QuicklyInvalidSizesServerSnapshotTests: FBServerSnapshotTestCase {
487487
}
488488
}
489489

490-
private class View: UIView {
490+
private final class View: UIView {
491491

492492
var mockedSize: CGSize = .zero
493493

Sources/QuickLayout/QuickLayoutBridge/__server_snapshot_tests__/QuicklyTestHelpers.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ final class TestView: UIView {
8888
}
8989
}
9090

91-
class ViewWithSize: UIView {
91+
final class ViewWithSize: UIView {
9292

9393
let customSize: CGSize
9494
var proposedSizes = [CGSize]()
@@ -126,7 +126,7 @@ func generateTestImage(with text: String, size: CGSize, backgroundColor: UIColor
126126
return image
127127
}
128128

129-
class TestPlaceholderView: UIView {
129+
final class TestPlaceholderView: UIView {
130130

131131
private let lineColor: UIColor
132132
private let lineWidth: CGFloat
@@ -172,7 +172,7 @@ class TestPlaceholderView: UIView {
172172
}
173173
}
174174

175-
class ColorView: UIView {
175+
final class ColorView: UIView {
176176

177177
private let text: String?
178178

@@ -206,7 +206,7 @@ class ColorView: UIView {
206206
}
207207
}
208208

209-
class BorderView: UIView {
209+
final class BorderView: UIView {
210210
init() {
211211
super.init(frame: .zero)
212212
self.layer.borderColor = UIColor.black.cgColor

0 commit comments

Comments
 (0)