Skip to content

Commit 4f1e41a

Browse files
authored
Merge branch 'develop' into release/2.20.0
2 parents abf5174 + 6e2de51 commit 4f1e41a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

β€Ž.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Unit Tests (iOS):
103103
script:
104104
- ./tools/runner-setup.sh --xcode "$DEFAULT_XCODE"
105105
- make clean repo-setup ENV=ci
106-
- make test-ios-all OS="$DEFAULT_IOS_OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE" USE_TEST_VISIBILITY=0
106+
- make test-ios-all OS="$DEFAULT_IOS_OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE" USE_TEST_VISIBILITY=1
107107

108108
Unit Tests (tvOS):
109109
stage: test
@@ -116,7 +116,7 @@ Unit Tests (tvOS):
116116
script:
117117
- ./tools/runner-setup.sh --xcode "$DEFAULT_XCODE"
118118
- make clean repo-setup ENV=ci
119-
- make test-tvos-all OS="$DEFAULT_TVOS_OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE" USE_TEST_VISIBILITY=0
119+
- make test-tvos-all OS="$DEFAULT_TVOS_OS" PLATFORM="$PLATFORM" DEVICE="$DEVICE" USE_TEST_VISIBILITY=1
120120

121121
UI Tests:
122122
stage: ui-test

β€ŽDatadogCore/Tests/Datadog/Mocks/DirectoriesMock.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ extension Directory {
7070
do {
7171
try FileManager.default.createDirectory(at: url, withIntermediateDirectories: true, attributes: attributes)
7272
let initialFilesCount = try files().count
73-
XCTAssert(initialFilesCount == 0, "πŸ”₯ `TestsDirectory` is not empty: \(url)", file: file, line: line)
73+
XCTAssert(initialFilesCount == 0, "πŸ”₯ `Directory` is not empty: \(url)", file: file, line: line)
7474
} catch {
75-
XCTFail("πŸ”₯ Failed to create `TestsDirectory`: \(error)", file: file, line: line)
75+
XCTFail("πŸ”₯ `Directory.create()` failed: \(error)", file: file, line: line)
7676
}
7777
return self
7878
}
@@ -83,7 +83,7 @@ extension Directory {
8383
do {
8484
try FileManager.default.removeItem(at: url)
8585
} catch {
86-
XCTFail("πŸ”₯ Failed to delete `TestsDirectory`: \(error)", file: file, line: line)
86+
XCTFail("πŸ”₯ `Directory.delete()` failed: \(error)", file: file, line: line)
8787
}
8888
}
8989
}

β€ŽTestUtilities/Helpers/TestsDirectory.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public func CreateTemporaryDirectory(attributes: [FileAttributeKey: Any]? = nil,
3030
try FileManager.default.createDirectory(at: temporaryDirectory, withIntermediateDirectories: true, attributes: attributes)
3131
let files = try FileManager.default
3232
.contentsOfDirectory(at: temporaryDirectory, includingPropertiesForKeys: [.isRegularFileKey, .canonicalPathKey])
33-
XCTAssert(files.count == 0, "πŸ”₯ `TestsDirectory` is not empty: \(temporaryDirectory)", file: file, line: line)
33+
XCTAssert(files.count == 0, "πŸ”₯ `temporaryDirectory` is not empty: \(temporaryDirectory)", file: file, line: line)
3434
} catch {
35-
XCTFail("πŸ”₯ Failed to create `TestsDirectory`: \(error)", file: file, line: line)
35+
XCTFail("πŸ”₯ `CreateTemporaryDirectory()` failed: \(error)", file: file, line: line)
3636
}
3737
}
3838

@@ -43,7 +43,7 @@ public func DeleteTemporaryDirectory(file: StaticString = #file, line: UInt = #l
4343
do {
4444
try FileManager.default.removeItem(at: temporaryDirectory)
4545
} catch {
46-
XCTFail("πŸ”₯ Failed to delete `TestsDirectory`: \(error)", file: file, line: line)
46+
XCTFail("πŸ”₯ `DeleteTemporaryDirectory()` failed: \(error)", file: file, line: line)
4747
}
4848
}
4949
}

0 commit comments

Comments
Β (0)