Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Identifier to inverted snapshot tests #55

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fixup! Update PR from comments
  • Loading branch information
Josh Samuels committed Apr 30, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c65b9d21053f3cebf44d97280e29d25635042cf1
17 changes: 0 additions & 17 deletions Example/SnapshotTests/InvertColorsTests.swift
Original file line number Diff line number Diff line change
@@ -29,23 +29,6 @@ final class InvertColorsTests: SnapshotTestCase {
}

func testInvertColorsWithIdentifier() {
// let label = UILabel(frame: .zero)
// label.text = "Hello World"
// label.sizeToFit()
//
// let view = UIView(frame: UIScreen.main.bounds)
// view.backgroundColor = .lightGray
// view.addSubview(label)
//
// label.center = view.center
//
// FBSnapshotVerifyView(view, identifier: "someIdentifier")
//// FBSnapshotVerifyView(view.colorInvert(), identifier: "invertedColors")
// SnapshotVerifyWithInvertedColors(view, identifier: "invertedColors")
//
// // Ensures the view has not been modified after calling SnapshotVerifyWithInvertedColors
// FBSnapshotVerifyView(view, identifier: "someIdentifier")

let viewController = InvertColorsViewController()
viewController.view.frame = UIScreen.main.bounds

Binary file removed ...Tests.IdentifierTests/[email protected]
Binary file not shown.