import FBSnapshotTestCase as test only target

pull/414/head
James Sangalli 7 years ago
parent 80cc96cbde
commit 79449efb47
  1. 3
      AlphaWallet.xcodeproj/project.pbxproj
  2. BIN
      AlphaWalletTests/Snapshots/ReferenceImage_64/AlphaWalletTests.TransferTicketsQuantitySelectionViewControllerTests/testTransferTicketQuantitySelectionViewControllerCanBeCreated_iPhone11_2_375x812@3x.png
  3. 4
      AlphaWalletTests/Transfer/ViewControllers/TransferTicketsQuantitySelectionViewControllerTests.swift
  4. 6
      Podfile
  5. 9
      Podfile.lock

@ -3037,9 +3037,12 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-AlphaWalletTests/Pods-AlphaWalletTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/iOSSnapshotTestCase/FBSnapshotTestCase.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSnapshotTestCase.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;

@ -1,4 +1,4 @@
// Copyright © 2018 Stormbird PTE. LTD.
//Copyright © 2018 Stormbird PTE. LTD.
//import FBSnapshotTestCase
//@testable import Trust
@ -14,7 +14,7 @@
// func testTransferTicketQuantitySelectionViewControllerCanBeCreated() {
// let token = TokenObject()
// let type = PaymentFlow.send(type: .stormBird(token))
// let ticket = Ticket(id: "1", index: 1, city: "", name: "", venue: "", match: 1, date: Date(), seatId: 1, category: "MATCH CLUB", countryA: "", countryB: "", timeZoneIdentifier: nil)
// let ticket = Ticket(id: "1", index: 1, city: "", name: "", venue: "", match: 1, date: Date(timeIntervalSince1970: TimeInterval(exactly: 152102122)!), seatId: 1, category: "MATCH CLUB", countryA: "", countryB: "", timeZoneIdentifier: nil)
// let ticketHolder = TicketHolder(tickets: [ticket], status: .available)
// let controller = TransferTicketsQuantitySelectionViewController(paymentFlow: type)
// let viewModel = TransferTicketsQuantitySelectionViewModel(token: TokenObject(), ticketHolder: ticketHolder)

@ -28,10 +28,10 @@ target 'AlphaWallet' do
pod 'SwiftyJSON'
# pod 'web3swift', :git=>'https://github.com/BANKEX/web3swift', :branch=>'master'
pod 'SAMKeychain'
target 'AlphaWalletTests' do
inherit! :search_paths
# Pods for testing
inherit! :search_paths
# Pods for testing
pod 'iOSSnapshotTestCase'
end
target 'AlphaWalletUITests' do

@ -7,6 +7,11 @@ PODS:
- BonMot (5.0)
- CryptoSwift (0.8.0)
- Eureka (4.0.1)
- iOSSnapshotTestCase (3.0.0):
- iOSSnapshotTestCase/SwiftSupport (= 3.0.0)
- iOSSnapshotTestCase/Core (3.0.0)
- iOSSnapshotTestCase/SwiftSupport (3.0.0):
- iOSSnapshotTestCase/Core
- JavaScriptKit (1.0.0):
- Result (~> 3.1)
- JSONRPCKit (2.0.0):
@ -51,6 +56,7 @@ DEPENDENCIES:
- BonMot (~> 5.0)
- CryptoSwift (from `https://github.com/krzyzanowskim/CryptoSwift`, branch `master`)
- Eureka (~> 4.0.1)
- iOSSnapshotTestCase
- JavaScriptKit
- JSONRPCKit (from `https://github.com/bricklife/JSONRPCKit.git`)
- KeychainSwift
@ -108,6 +114,7 @@ SPEC CHECKSUMS:
BonMot: 3ff354572f2aa9295d3760947f7578490cb810be
CryptoSwift: 475ae2a25439f52412686d68b854c0ca724c8dfd
Eureka: c8bd5cc07143b6f66268c208d28a246c99b41955
iOSSnapshotTestCase: 23984ffe05289728d646cbb6a7a10b4fb1c93440
JavaScriptKit: 9ff565209e6efe21bcb9c6d6ca3e863a67a8ecf7
JSONRPCKit: 22132c575ba2dc6f2f4ae72fda4943a63efca686
KeychainSwift: f9f7910449a0c0fd2cabc889121530dd2c477c33
@ -132,6 +139,6 @@ SPEC CHECKSUMS:
TrezorCrypto: 7f87a2296cf13872b21565c29fd9f7882dd00803
TrustKeystore: 381590c561f58fe0948abbd9cb626cbc08d75ff8
PODFILE CHECKSUM: 8ec98a2785c926cccd6b52ca3d983eec5ae7cdb6
PODFILE CHECKSUM: dc960cbe2982896a6394007a3103b58f68ceff97
COCOAPODS: 1.3.1

Loading…
Cancel
Save