Skip to content

Commit a7f04f0

Browse files
committedJun 27, 2018
Fixed tests executing
1 parent 37abdf6 commit a7f04f0

20 files changed

+1065
-425
lines changed
 

‎Example/HDWallet.xcodeproj/project.pbxproj

+106-96
Large diffs are not rendered by default.

‎Example/HDWallet.xcodeproj/xcshareddata/xcschemes/HDWallet-Example.xcscheme

-115
This file was deleted.

‎Example/Tests/Tests.swift ‎Example/HDWalletKit_Tests/HDWalletKit_Tests.swift

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
//
2+
// HDWalletKit_Tests.swift
3+
// HDWalletKit_Tests
4+
//
5+
// Created by Pavlo Boiko on 27.06.18.
6+
// Copyright © 2018 CocoaPods. All rights reserved.
7+
//
8+
19
import XCTest
210
import HDWalletKit
311

4-
class WalletKitTests: XCTestCase {
12+
class HDWalletKit_Tests: XCTestCase {
13+
514
func testMenmonic() {
6-
let entropy = Data(hex: "000102030405060708090a0b0c0d0e0f")
15+
let entropy = Data.init(hex: "000102030405060708090a0b0c0d0e0f")
716
let mnemonic = Mnemonic.create(entropy: entropy)
817
XCTAssertEqual(
918
mnemonic,
@@ -210,4 +219,5 @@ class WalletKitTests: XCTestCase {
210219
let forthAddressBech32 = wallet.generateAddressBIP84(at: 3)
211220
XCTAssertEqual(forthAddressBech32, "bc1qntew983t8y752fn0tpex3dc5pu8ae2du6d8ghv")
212221
}
222+
213223
}

‎Example/Tests/Info.plist ‎Example/HDWalletKit_Tests/Info.plist

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleExecutable</key>
8-
<string>WalletKitTests</string>
8+
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
1010
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
@@ -16,8 +16,6 @@
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0</string>
19-
<key>CFBundleSignature</key>
20-
<string>????</string>
2119
<key>CFBundleVersion</key>
2220
<string>1</string>
2321
</dict>

‎Example/Podfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
platform :ios, '10.0'
12
use_frameworks!
3+
24
target 'HDWallet_Tests' do
35
pod 'HDWalletKit', :path => '../'
4-
5-
6+
end
7+
8+
target 'HDWalletKit_Tests' do
9+
pod 'HDWalletKit', :path => '../'
610
end

‎Example/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- CryptoSwift (0.10.0)
3-
- HDWalletKit (0.1.0):
3+
- HDWalletKit (0.1.1):
44
- CryptoSwift (~> 0.10.0)
55
- secp256k1.swift (~> 0.1.4)
66
- secp256k1.swift (0.1.4)
@@ -19,9 +19,9 @@ EXTERNAL SOURCES:
1919

2020
SPEC CHECKSUMS:
2121
CryptoSwift: 6c778d69282bed3b4e975ff97a79d074f20bb011
22-
HDWalletKit: 953662cab137b0692672a686eb799cf5a1468334
22+
HDWalletKit: 4ef0f2e5253141ce081e9aa74d535e366a68be06
2323
secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634
2424

25-
PODFILE CHECKSUM: e32a24da026843f5cef2bbee1dc7766367464eb1
25+
PODFILE CHECKSUM: 9bc63751e4779901868581f120058db2a538a08a
2626

27-
COCOAPODS: 1.5.2
27+
COCOAPODS: 1.5.3

‎Example/Pods/Local Podspecs/HDWalletKit.podspec.json

+6-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Manifest.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Pods.xcodeproj/project.pbxproj

+396-194
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/HDWalletKit/Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Info.plist

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-acknowledgements.markdown

+67
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-acknowledgements.plist

+111
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-dummy.m

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-frameworks.sh

+157
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-resources.sh

+118
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests-umbrella.h

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests.debug.xcconfig

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests.modulemap

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Example/Pods/Target Support Files/Pods-HDWalletKit_Tests/Pods-HDWalletKit_Tests.release.xcconfig

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.