Skip to content

Commit f6dbcc8

Browse files
vivekvichareneakor
authored andcommitted
Added unit test support inside NeedleFoundation code. (#293)
* Added unit test support inside NeedleFoundation code. Addresses issue: #281 * Deleted code commented to reflect updates related to BootStrapComponent * Updated per review comments * - Repeated project changes using Xcode 10.1 - Shared NeedleFoundationTest schemes * travis sim ios version 12.1 to 11.4 * added 11.4 sim locally. regenerated project using SPM. * Added unit test support inside NeedleFoundation code. Addresses issue: #281 * Updated travis to rely on default device * Updated based on possible fixes for travis errors * Updated TicTacToe deployment target to 12.1 * Updated deployment target to 12.1 * Updated destination OS version for two targets. * Updated per PR comments * deleted outdated headerdoc. * Deleted property.
1 parent 5f8ea22 commit f6dbcc8

File tree

13 files changed

+1038
-154
lines changed

13 files changed

+1038
-154
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,27 @@ before_script:
55
matrix:
66
include:
77
- name: "NeedleFoundationTests"
8-
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundationTests -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
8+
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundationTests -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
9+
- name: "NeedleFoundationTestTests"
10+
script: xcodebuild test -project NeedleFoundation.xcodeproj -scheme NeedleFoundationTestTests -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
911
- name: "NeedleGeneratorTests"
1012
script: cd Generator && swift test -Xswiftc -DDEBUG
1113
- name: "NeedleGeneratorBinary"
1214
script: cd Generator && swift build -c release -Xswiftc -static-stdlib
1315
- name: "NeedleSampleMVCApp"
1416
install: cd Sample/MVC && carthage update --platform ios
15-
script: xcodebuild build -project ../../Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
17+
script: xcodebuild build -project ../../Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
1618
- name: "NeedleSampleMVCTests"
1719
install: cd Sample/MVC && carthage update --platform ios
18-
script: xcodebuild test -project ../../Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
20+
script: xcodebuild test -project ../../Sample/MVC/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeTests -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
1921
- name: "NeedleSamplePluginizedApp"
2022
install: cd Sample/Pluginized && carthage update --platform ios
21-
script: xcodebuild build -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
23+
script: xcodebuild build -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToe -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
2224
- name: "NeedleSamplePluginizedScoreSheetTests"
2325
install: cd Sample/Pluginized && carthage update --platform ios
24-
script: xcodebuild test -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
26+
script: xcodebuild test -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme ScoreSheetTests -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
2527
- name: "NeedleSamplePluginizedTicTacToeCoreTests"
2628
install: cd Sample/Pluginized && carthage update --platform ios
27-
script: xcodebuild test -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=11.4,name=iPhone X'
29+
script: xcodebuild test -project ../../Sample/Pluginized/TicTacToe/TicTacToe.xcodeproj -scheme TicTacToeCoreTests -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'
2830
script:
29-
- fossa
31+
- fossa
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>BNDL</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>FMWK</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>

0 commit comments

Comments
 (0)