Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit d274417

Browse files
authored
clean up test targets and schemes (#820)
1 parent 896f7da commit d274417

16 files changed

+266
-48
lines changed

AtbUITests/Info.plist

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>

DuckDuckGo.xcodeproj/project.pbxproj

+156-22
Large diffs are not rendered by default.

DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
"repositoryURL": "https://github.com/duckduckgo/TrackerRadarKit.git",
6161
"state": {
6262
"branch": null,
63-
"revision": "03748273a5b7cec12df5116794152b7090d179b5",
64-
"version": "1.0.1"
63+
"revision": "a11e97e591273845519b6b06ddbb6ba88eab2195",
64+
"version": "1.0.2"
6565
}
6666
}
6767
]

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/AdhocDebug.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@
6464
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
6565
</BuildableReference>
6666
</TestableReference>
67+
<TestableReference
68+
skipped = "NO">
69+
<BuildableReference
70+
BuildableIdentifier = "primary"
71+
BlueprintIdentifier = "85D33F5B25C9793A002B91A6"
72+
BuildableName = "IntegrationTests.xctest"
73+
BlueprintName = "IntegrationTests"
74+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
75+
</BuildableReference>
76+
</TestableReference>
6777
</Testables>
6878
</TestAction>
6979
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/IntegrationTests.xcscheme DuckDuckGo.xcodeproj/xcshareddata/xcschemes/AtbUITests.xcscheme

+13-12
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,21 @@
1717
<BuildableReference
1818
BuildableIdentifier = "primary"
1919
BlueprintIdentifier = "85F21DAC210F5E32002631A6"
20-
BuildableName = "IntegrationTests.xctest"
21-
BlueprintName = "IntegrationTests"
22-
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
23-
</BuildableReference>
24-
</TestableReference>
25-
<TestableReference
26-
skipped = "NO">
27-
<BuildableReference
28-
BuildableIdentifier = "primary"
29-
BlueprintIdentifier = "025CCFE12582601C001CD5BB"
30-
BuildableName = "FingerprintingUITests.xctest"
31-
BlueprintName = "FingerprintingUITests"
20+
BuildableName = "AtbUITests.xctest"
21+
BlueprintName = "AtbUITests"
3222
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
3323
</BuildableReference>
24+
<SkippedTests>
25+
<Test
26+
Identifier = "AtbServerTests">
27+
</Test>
28+
<Test
29+
Identifier = "ContentBlockingRulesTests">
30+
</Test>
31+
<Test
32+
Identifier = "TrackerRadarIntegrationTests">
33+
</Test>
34+
</SkippedTests>
3435
</TestableReference>
3536
</Testables>
3637
</TestAction>

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/BookmarksTodayExtension.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@
6262
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
6363
</BuildableReference>
6464
</TestableReference>
65+
<TestableReference
66+
skipped = "NO">
67+
<BuildableReference
68+
BuildableIdentifier = "primary"
69+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
70+
BuildableName = "IntegrationTests.xctest"
71+
BlueprintName = "IntegrationTests"
72+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
73+
</BuildableReference>
74+
</TestableReference>
6575
</Testables>
6676
</TestAction>
6777
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/DuckDuckGo.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@
5454
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
5555
</BuildableReference>
5656
</TestableReference>
57+
<TestableReference
58+
skipped = "NO">
59+
<BuildableReference
60+
BuildableIdentifier = "primary"
61+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
62+
BuildableName = "IntegrationTests.xctest"
63+
BlueprintName = "IntegrationTests"
64+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
65+
</BuildableReference>
66+
</TestableReference>
5767
</Testables>
5868
</TestAction>
5969
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/FingerprintingUITests.xcscheme

-9
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@
5151
savedToolIdentifier = ""
5252
useCustomWorkingDirectory = "NO"
5353
debugDocumentVersioning = "YES">
54-
<MacroExpansion>
55-
<BuildableReference
56-
BuildableIdentifier = "primary"
57-
BlueprintIdentifier = "84E341911E2F7EFB00BDBA6F"
58-
BuildableName = "DuckDuckGo.app"
59-
BlueprintName = "DuckDuckGo"
60-
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
61-
</BuildableReference>
62-
</MacroExpansion>
6354
</ProfileAction>
6455
<AnalyzeAction
6556
buildConfiguration = "Debug">

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/OpenAction.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@
5353
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
5454
</BuildableReference>
5555
</TestableReference>
56+
<TestableReference
57+
skipped = "NO">
58+
<BuildableReference
59+
BuildableIdentifier = "primary"
60+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
61+
BuildableName = "IntegrationTests.xctest"
62+
BlueprintName = "IntegrationTests"
63+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
64+
</BuildableReference>
65+
</TestableReference>
5666
</Testables>
5767
</TestAction>
5868
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/QuickActionsTodayExtension.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@
6262
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
6363
</BuildableReference>
6464
</TestableReference>
65+
<TestableReference
66+
skipped = "NO">
67+
<BuildableReference
68+
BuildableIdentifier = "primary"
69+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
70+
BuildableName = "IntegrationTests.xctest"
71+
BlueprintName = "IntegrationTests"
72+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
73+
</BuildableReference>
74+
</TestableReference>
6575
</Testables>
6676
</TestAction>
6777
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/ShareExtension.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@
6262
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
6363
</BuildableReference>
6464
</TestableReference>
65+
<TestableReference
66+
skipped = "NO">
67+
<BuildableReference
68+
BuildableIdentifier = "primary"
69+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
70+
BuildableName = "IntegrationTests.xctest"
71+
BlueprintName = "IntegrationTests"
72+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
73+
</BuildableReference>
74+
</TestableReference>
6575
</Testables>
6676
</TestAction>
6777
<LaunchAction

DuckDuckGo.xcodeproj/xcshareddata/xcschemes/UnitTests.xcscheme

+10
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@
3333
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
3434
</BuildableReference>
3535
</TestableReference>
36+
<TestableReference
37+
skipped = "NO">
38+
<BuildableReference
39+
BuildableIdentifier = "primary"
40+
BlueprintIdentifier = "85D33FCA25C97B6E002B91A6"
41+
BuildableName = "IntegrationTests.xctest"
42+
BlueprintName = "IntegrationTests"
43+
ReferencedContainer = "container:DuckDuckGo.xcodeproj">
44+
</BuildableReference>
45+
</TestableReference>
3646
</Testables>
3747
</TestAction>
3848
<LaunchAction

IntegrationTests/AtbServerTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AtbServerTests: XCTestCase {
3131

3232
override func setUp() {
3333
super.setUp()
34-
34+
3535
store = MockStatisticsStore()
3636
loader = StatisticsLoader(statisticsStore: store)
3737

IntegrationTests/ContentBlockingRulesTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//
1919

2020
import XCTest
21-
import TrackerRadarKit
21+
@testable import TrackerRadarKit
2222
@testable import Core
2323

2424
class ContentBlockingRulesTests: XCTestCase {

IntegrationTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleName</key>
1414
<string>$(PRODUCT_NAME)</string>
1515
<key>CFBundlePackageType</key>
16-
<string>BNDL</string>
16+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0</string>
1919
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)