forked from element-hq/element-x-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baf9f39
commit 7f76e4a
Showing
9 changed files
with
149 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
54 changes: 54 additions & 0 deletions
54
TchapX/PreviewTests/SupportingFiles/PreviewTests.xctestplan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"configurations" : [ | ||
{ | ||
"id" : "D789E5F1-30B8-4A23-B20E-281ACE05CFD6", | ||
"name" : "Français", | ||
"options" : { | ||
"language" : "fr", | ||
"locationScenario" : { | ||
"identifier" : "Paris, France", | ||
"referenceType" : "built-in" | ||
}, | ||
"region" : "FR" | ||
} | ||
}, | ||
{ | ||
"id" : "059C4F1C-EAB6-4D96-BA8F-30DF92A365E9", | ||
"name" : "Pseudolanguage", | ||
"options" : { | ||
"language" : "en", | ||
"locationScenario" : { | ||
"identifier" : "London, England", | ||
"referenceType" : "built-in" | ||
}, | ||
"region" : "GB" | ||
} | ||
} | ||
], | ||
"defaultOptions" : { | ||
"defaultTestExecutionTimeAllowance" : 60, | ||
"environmentVariableEntries" : [ | ||
{ | ||
"key" : "IS_RUNNING_UNIT_TESTS", | ||
"value" : "1" | ||
}, | ||
{ | ||
"enabled" : false, | ||
"key" : "RECORD_FAILURES", | ||
"value" : "true" | ||
} | ||
], | ||
"testExecutionOrdering" : "random", | ||
"testTimeoutsEnabled" : true | ||
}, | ||
"testTargets" : [ | ||
{ | ||
"target" : { | ||
"containerPath" : "container:TchapX.xcodeproj", | ||
"identifier" : "CB69E71180645F7FC67A7031", | ||
"name" : "TchapX-PreviewTests" | ||
} | ||
} | ||
], | ||
"version" : 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: TchapX-PreviewTests | ||
|
||
schemes: | ||
TchapX-PreviewTests: | ||
analyze: | ||
config: Debug | ||
archive: | ||
config: Release | ||
build: | ||
targets: | ||
TchapX-PreviewTests: all | ||
profile: | ||
config: Release | ||
run: | ||
config: Debug | ||
disableMainThreadChecker: false | ||
test: | ||
config: Debug | ||
disableMainThreadChecker: false | ||
gatherCoverageData: true | ||
coverageTargets: | ||
- TchapX-Production | ||
testPlans: | ||
- path: ../PreviewTests/SupportingFiles/PreviewTests.xctestplan | ||
# Don't set it as defaultPlan to avoid conflict with ElementX defaultPlan. | ||
defaultPlan: false | ||
|
||
targets: | ||
TchapX-PreviewTests: | ||
type: bundle.unit-test | ||
platform: iOS | ||
|
||
dependencies: | ||
- target: TchapX-Production | ||
- package: MatrixRustSDK | ||
- package: SnapshotTesting | ||
|
||
info: | ||
path: ../PreviewTests/SupportingFiles/Info.plist | ||
|
||
settings: | ||
base: | ||
BASE_BUNDLE_IDENTIFIER: fr.gouv.tchapx | ||
BASE_APP_GROUP_IDENTIFIER: fr.gouv.tchapx | ||
APP_GROUP_IDENTIFIER: group.$(BASE_APP_GROUP_IDENTIFIER) | ||
APP_DISPLAY_NAME: TchapX # The name used in the application. | ||
PRODUCT_NAME: PreviewTests | ||
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.preview.tests | ||
debug: | ||
release: | ||
|
||
sources: | ||
- path: ../../PreviewTests/Sources | ||
excludes: | ||
- "**/__Snapshots__/**" | ||
- path: ../SupportingFiles | ||
- path: ../../ElementX/Sources/Other/Extensions/XCTestCase.swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters