diff --git a/Sources/Layout/LayoutItem.swift b/Sources/Layout/LayoutItem.swift index 2c4c0717..cc4811f4 100644 --- a/Sources/Layout/LayoutItem.swift +++ b/Sources/Layout/LayoutItem.swift @@ -402,106 +402,6 @@ extension LayoutItem { } } - /// Constrains the edges to the superview's safeAreaGuide with `insets` - /// - /// - Postcondition: - /// Device must be running iOS 11 or higher - /// - Parameters: - /// - insets: (optional) insets of view - /// - priority: (optional) priority of constraint - public func toSafeArea( - insets: NSDirectionalEdgeInsets = .zero, - priority: UILayoutPriority = .required - ) -> LayoutItem { - self - .toSafeArea(.top, insets.top, priority: priority) - .toSafeArea(.trailing, -insets.trailing, priority: priority) - .toSafeArea(.bottom, -insets.bottom, priority: priority) - .toSafeArea(.leading, insets.leading, priority: priority) - } - - /// Constrains the edges to the superview's safeAreaGuide with an `inset` - /// - /// - Postcondition: - /// Device must be running iOS 11 or higher - /// - Parameters: - /// - inset: inset of view - /// - priority: (optional) priority of constraint - public func toSafeArea( - _ inset: CGFloat, - priority: UILayoutPriority = .required - ) -> LayoutItem { - toSafeArea(insets: NSDirectionalEdgeInsets(top: inset, leading: inset, bottom: inset, trailing: inset), - priority: priority) - } - - /// Constrains the `attribute` to the superview's corresponding safeAreaGuide `attribute` - /// - /// - Postcondition: - /// Device must be running iOS 11 or higher - /// - Note: - /// Equation: view.attribute = superview.attribute + constant - /// - Parameters: - /// - attribute: attribute to constrain - /// - constant: (optional) constant - /// - priority: (optional) priority of constraint - public func toSafeArea( - _ attribute: XAxisAttribute, - _ constant: CGFloat = 0, - priority: UILayoutPriority = .required - ) -> LayoutItem { - toSafeAreaAttribute(attribute, constant, priority: priority) - } - - /// Constrains the `attribute` to the superview's corresponding safeAreaGuide `attribute` - /// - /// - Postcondition: - /// Device must be running iOS 11 or higher - /// - Note: - /// Equation: view.attribute = superview.attribute + constant - /// - Parameters: - /// - attribute: attribute to constrain - /// - constant: (optional) constant - /// - priority: (optional) priority of constraint - public func toSafeArea( - _ attribute: YAxisAttribute, - _ constant: CGFloat = 0, - priority: UILayoutPriority = .required - ) -> LayoutItem { - toSafeAreaAttribute(attribute, constant, priority: priority) - } - - /// Constrains the `attribute` to the superview's corresponding safeAreaGuide `attribute` - /// - /// - Postcondition: - /// Device must be running iOS 11 or higher - /// - Note: - /// Equation: view.attribute = superview.attribute + constant - /// - Parameters: - /// - attribute: attribute to constrain - /// - constant: (optional) constant - /// - priority: (optional) priority of constraint - public func toSafeArea( - _ attribute: DimensionAttribute, - _ constant: CGFloat = 0, - priority: UILayoutPriority = .required - ) -> LayoutItem { - toSafeAreaAttribute(attribute, constant, priority: priority) - } - - private func toSafeAreaAttribute( - _ attribute: T, - _ constant: CGFloat = 0, - priority: UILayoutPriority = .required - ) -> LayoutItem { - addingSuperviewConstraints { - if let safeAnchor = $0.safeAreaGuide?.anchor(for: attribute) { - let viewAnchor: NSLayoutAnchor = $0.layoutItemView.anchor(for: attribute) - viewAnchor.constraint(equalTo: safeAnchor, constant: constant).withPriority(priority) - } - } - } - // swiftlint:enable anonymous_argument_in_multiline_closure private func constraint( diff --git a/Tests/LayoutTests/LayoutItemTests.swift b/Tests/LayoutTests/LayoutItemTests.swift index 67948d64..542a5778 100644 --- a/Tests/LayoutTests/LayoutItemTests.swift +++ b/Tests/LayoutTests/LayoutItemTests.swift @@ -456,206 +456,6 @@ final class LayoutItemTests: XCTestCase { } } - func testToSafeAreaInsetZero() { - assertLayout { view in - view.layout(pinkView.toSafeArea(0)) - } - } - - func testToSafeAreaInsetTen() { - assertLayout { view in - view.layout(pinkView.toSafeArea(10)) - } - } - - func testToSafeAreaInsetPriority() { - assertLayout { view in - view.layout { - pinkView - .toSafeArea(10, priority: .low) - .toSafeArea(0, priority: .high) - blueView - .toSafeArea(0, priority: .low) - .toSafeArea(10, priority: .high) - } - } - } - - func testToSafeArea() { - assertLayout { view in - view.layout(pinkView.toSafeArea()) - } - } - - func testToSafeAreaInsets() { - - // GIVEN - - let insets: NSDirectionalEdgeInsets = .init(top: 10, leading: 10, bottom: 10, trailing: 10) - - // THEN - - assertLayout { view in - view.layout(pinkView.toSafeArea(insets: insets)) - } - } - - func testToSafeAreaInsetsPriority() { - - // GIVEN - - let insets: NSDirectionalEdgeInsets = .init(top: 10, leading: 10, bottom: 10, trailing: 10) - - // THEN - - assertLayout { view in - view.layout { - pinkView - .toSafeArea(insets: insets, priority: .low) - .toSafeArea(priority: .high) - blueView - .toSafeArea(priority: .low) - .toSafeArea(insets: insets, priority: .high) - } - } - } - - func testToSafeArea_andWithInsets_andWithPriority() { - - // GIVEN - - let smallInsets: NSDirectionalEdgeInsets = .init(top: 25, leading: 25, bottom: 25, trailing: 25) - let largeInsets: NSDirectionalEdgeInsets = .init(top: 50, leading: 50, bottom: 50, trailing: 50) - - // THEN - - assertLayout { view in - view.layout { - - // To Safe Area - - pinkView - .toSafeArea() - - // To Safe Area with Insets - - yellowView - .toSafeArea(insets: smallInsets) - - // To Safe Area with Priority - - blueView - .toSafeArea(insets: smallInsets, priority: .low) - .toSafeArea(insets: largeInsets, priority: .high) - } - } - } - - func testToSafeAreaWithInset_andWithPriority() { - assertLayout { view in - view.layout { - - // To Safe Area Inset - - pinkView - .toSafeArea(25) - - // To Safe Area Inset with Priority - - yellowView - .toSafeArea(25, priority: .low) - .toSafeArea(50, priority: .high) - } - } - } - - func testToSafeAreaWithXAttribute_andWithConstant_andWithPriority() { - assertLayout { view in - view.layout { - - // To Safe Area XAttribute - - pinkView - .size(width: 100, height: 100) - .to(.top) - .toSafeArea(.leading) - - // To Safe Area XAttribute with Constant - - yellowView - .size(width: 100, height: 100) - .to(.top) - .toSafeArea(.trailing, -100) - - // To Safe Area XAttribute with Priority - - blueView - .size(width: 100, height: 100) - .to(.bottom) - .toSafeArea(.leading, 50, priority: .low) - .toSafeArea(.leading, 100, priority: .high) - } - } - } - - func testToSafeAreaWithYAttribute_andWithConstant_andWithPriority() { - assertLayout { view in - view.layout { - - // To Safe Area YAttribute - - pinkView - .size(width: 100, height: 100) - .to(.leading) - .toSafeArea(.top) - - // To Safe Area YAttribute with Constant - - yellowView - .size(width: 100, height: 100) - .to(.trailing) - .toSafeArea(.top, 100) - - // To Safe Area YAttribute with Priority - - blueView - .size(width: 100, height: 100) - .to(.leading) - .toSafeArea(.bottom, -50, priority: .low) - .toSafeArea(.bottom, -100, priority: .high) - } - } - } - - func testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority() { - assertLayout { view in - view.layout { - - // To Safe Area DimensionAttribute - - pinkView - .size(width: 50) - .to([.leading, .bottom]) - .toSafeArea(.height) - - // To Safe Area DimensionAttribute with Constant - - yellowView - .size(height: 50) - .to([.top, .leading]) - .toSafeArea(.width, -50) - - // To Safe Area DimensionAttribute with Priority - - blueView - .size(width: 50) - .to([.trailing, .bottom]) - .toSafeArea(.height, -250, priority: .low) - .toSafeArea(.height, -50, priority: .high) - } - } - } - func testViewLayoutItemLayoutAnchoring() { // GIVEN diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.png deleted file mode 100644 index fade8715..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.txt deleted file mode 100644 index 2fa6e7d3..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.png deleted file mode 100644 index b01fc2c5..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.txt deleted file mode 100644 index 471bcbde..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-13-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.png deleted file mode 100644 index 7598d786..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.txt deleted file mode 100644 index 866ad41c..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-8-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.png deleted file mode 100644 index d9ed7243..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.txt deleted file mode 100644 index 3091e4d8..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-SE-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.png deleted file mode 100644 index 5a930c16..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.txt deleted file mode 100644 index c81aff4d..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea.iPhone-X-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index 1fd467ed..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index d8483559..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.png deleted file mode 100644 index 40237ac9..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.txt deleted file mode 100644 index c03705a2..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.png deleted file mode 100644 index 1e466576..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.txt deleted file mode 100644 index 755e342c..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.png deleted file mode 100644 index 12d5ec40..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.txt deleted file mode 100644 index 277db433..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.png deleted file mode 100644 index 3cc24406..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.txt deleted file mode 100644 index 1ee88a89..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.png deleted file mode 100644 index c2f4c0dd..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.txt deleted file mode 100644 index cd4a707b..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.png deleted file mode 100644 index 0afee3e8..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.txt deleted file mode 100644 index 73317797..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-13-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.png deleted file mode 100644 index 495087d0..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.txt deleted file mode 100644 index d7253658..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-8-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.png deleted file mode 100644 index cc124502..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.txt deleted file mode 100644 index 6fa36fc4..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-SE-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.png deleted file mode 100644 index abcebf28..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.txt deleted file mode 100644 index 76632552..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetTen.iPhone-X-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.png deleted file mode 100644 index fade8715..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.txt deleted file mode 100644 index 2fa6e7d3..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.png deleted file mode 100644 index b01fc2c5..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.txt deleted file mode 100644 index 471bcbde..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-13-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.png deleted file mode 100644 index 7598d786..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.txt deleted file mode 100644 index 866ad41c..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-8-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.png deleted file mode 100644 index d9ed7243..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.txt deleted file mode 100644 index 3091e4d8..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-SE-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.png deleted file mode 100644 index 5a930c16..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.txt deleted file mode 100644 index c81aff4d..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetZero.iPhone-X-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.png deleted file mode 100644 index c2f4c0dd..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.txt deleted file mode 100644 index cd4a707b..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.png deleted file mode 100644 index 0afee3e8..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.txt deleted file mode 100644 index 73317797..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-13-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.png deleted file mode 100644 index 495087d0..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.txt deleted file mode 100644 index d7253658..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-8-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.png deleted file mode 100644 index cc124502..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.txt deleted file mode 100644 index 6fa36fc4..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-SE-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.png deleted file mode 100644 index abcebf28..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.txt deleted file mode 100644 index 76632552..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsets.iPhone-X-portrait.txt +++ /dev/null @@ -1,2 +0,0 @@ -> - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index 1fd467ed..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index d8483559..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.png deleted file mode 100644 index 40237ac9..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.txt deleted file mode 100644 index c03705a2..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.png deleted file mode 100644 index 1e466576..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.txt deleted file mode 100644 index 755e342c..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.png deleted file mode 100644 index 12d5ec40..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.txt deleted file mode 100644 index 277db433..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.png deleted file mode 100644 index 3cc24406..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.txt deleted file mode 100644 index 1ee88a89..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaInsetsPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index 42a164a5..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index d508ab58..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png deleted file mode 100644 index 1980a818..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt deleted file mode 100644 index 4e783fb0..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png deleted file mode 100644 index 1fef5942..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt deleted file mode 100644 index 1d68c343..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png deleted file mode 100644 index 5087a8f7..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt deleted file mode 100644 index df625000..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png deleted file mode 100644 index d3fa08a2..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt deleted file mode 100644 index f36e96fc..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithDimensionAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index 0f27f018..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index cc80668b..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.png deleted file mode 100644 index 23e5fca7..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.txt deleted file mode 100644 index f829fcf3..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.png deleted file mode 100644 index 5843fe38..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.txt deleted file mode 100644 index e26d0583..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.png deleted file mode 100644 index fd42b39c..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.txt deleted file mode 100644 index 49edb5a2..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.png deleted file mode 100644 index e84ec254..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.txt deleted file mode 100644 index eb19c5d9..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithInset_andWithPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,3 +0,0 @@ -> - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index dcb8c85c..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index 8bcdad8f..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png deleted file mode 100644 index bfa0f24e..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt deleted file mode 100644 index ce0d2d9c..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png deleted file mode 100644 index 17791a21..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt deleted file mode 100644 index 550e39eb..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png deleted file mode 100644 index 24ae8d8e..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt deleted file mode 100644 index 6e3b61a5..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png deleted file mode 100644 index dcb8c85c..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt deleted file mode 100644 index 8bcdad8f..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithXAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index de0716c3..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index f327bab4..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png deleted file mode 100644 index 9ed425ff..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt deleted file mode 100644 index a9340248..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png deleted file mode 100644 index d578b970..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt deleted file mode 100644 index f3964905..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png deleted file mode 100644 index ab754f36..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt deleted file mode 100644 index 9170d0dc..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png deleted file mode 100644 index 38d9f8d7..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt deleted file mode 100644 index 4efd30af..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeAreaWithYAttribute_andWithConstant_andWithPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.png deleted file mode 100644 index e8f36c1c..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.txt deleted file mode 100644 index dab3bf10..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-mini-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.png deleted file mode 100644 index 57115381..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.txt deleted file mode 100644 index 65442825..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-13-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.png deleted file mode 100644 index 6f7aa921..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.txt deleted file mode 100644 index d348f293..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-8-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.png deleted file mode 100644 index 6e910989..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.txt deleted file mode 100644 index c0c7091b..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-SE-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.png b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.png deleted file mode 100644 index 5627d244..00000000 Binary files a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.png and /dev/null differ diff --git a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.txt b/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.txt deleted file mode 100644 index 07d8e27a..00000000 --- a/Tests/LayoutTests/__Snapshots__/LayoutItemTests/testToSafeArea_andWithInsets_andWithPriority.iPhone-X-portrait.txt +++ /dev/null @@ -1,4 +0,0 @@ -> - | > - | > - | > \ No newline at end of file