mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
add unit tests for the new property
This commit is contained in:
@@ -394,6 +394,7 @@ class ProjectSpecTests: XCTestCase {
|
||||
configVariants: ["foo"],
|
||||
gatherCoverageData: true,
|
||||
disableMainThreadChecker: true,
|
||||
stopOnEveryMainThreadCheckerIssue: false,
|
||||
commandLineArguments: ["foo": true],
|
||||
environmentVariables: [XCScheme.EnvironmentVariable(variable: "environmentVariable",
|
||||
value: "bar",
|
||||
|
||||
@@ -712,6 +712,7 @@ class SpecLoadingTests: XCTestCase {
|
||||
"language": "en",
|
||||
"region": "US",
|
||||
"disableMainThreadChecker": true,
|
||||
"stopOnEveryMainThreadCheckerIssue": false,
|
||||
"environmentVariables": [
|
||||
"TEST_VAR": "TEST_VAL",
|
||||
],
|
||||
@@ -738,6 +739,7 @@ class SpecLoadingTests: XCTestCase {
|
||||
language: "en",
|
||||
region: "US",
|
||||
disableMainThreadChecker: true,
|
||||
stopOnEveryMainThreadCheckerIssue: false,
|
||||
commandLineArguments: ["ENV1": true],
|
||||
environmentVariables: [XCScheme.EnvironmentVariable(variable: "TEST_VAR", value: "TEST_VAL", enabled: true)],
|
||||
preActions: [.init(name: "Do Thing", script: "dothing", settingsTarget: "test")],
|
||||
@@ -782,6 +784,7 @@ class SpecLoadingTests: XCTestCase {
|
||||
],
|
||||
"gatherCoverageData": true,
|
||||
"disableMainThreadChecker": true,
|
||||
"stopOnEveryMainThreadCheckerIssue": false,
|
||||
],
|
||||
]
|
||||
let scheme = try Scheme(name: "Scheme", jsonDictionary: schemeDictionary)
|
||||
@@ -931,6 +934,7 @@ class SpecLoadingTests: XCTestCase {
|
||||
],
|
||||
"gatherCoverageData": true,
|
||||
"disableMainThreadChecker": true,
|
||||
"stopOnEveryMainThreadCheckerIssue": false,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user