Skip to content

Commit b3e837a

Browse files
committed
Remove deprecation tags
1 parent c17a7db commit b3e837a

File tree

7 files changed

+0
-85
lines changed

7 files changed

+0
-85
lines changed

Tests/SentryTests/Integrations/SessionReplay/SentrySessionReplayIntegrationTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import XCTest
55

66
#if os(iOS) || os(tvOS)
77

8-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
98
class SentrySessionReplayIntegrationTests: XCTestCase {
109

1110
private var uiApplication: TestSentryUIApplication!

Tests/SentryTests/Integrations/ViewHierarchy/SentryViewHierarchyIntegrationTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
3636
clearTestState()
3737
}
3838

39-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
4039
func test_attachViewHierarchy() {
4140
SentrySDK.start {
4241
$0.removeAllIntegrations()
@@ -46,7 +45,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
4645
XCTAssertFalse(sentrycrash_hasSaveViewHierarchyCallback())
4746
}
4847

49-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
5048
func test_attachViewHierarchy_enabled() {
5149
SentrySDK.start {
5250
$0.removeAllIntegrations()
@@ -56,7 +54,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
5654
XCTAssertTrue(sentrycrash_hasSaveViewHierarchyCallback())
5755
}
5856

59-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
6057
func test_uninstall() {
6158
SentrySDK.start {
6259
$0.removeAllIntegrations()
@@ -67,7 +64,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
6764
XCTAssertFalse(sentrycrash_hasSaveViewHierarchyCallback())
6865
}
6966

70-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
7167
func test_integrationAddFileName() {
7268
SentrySDK.start {
7369
$0.removeAllIntegrations()
@@ -173,7 +169,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
173169
wait(for: [ex], timeout: 1)
174170
}
175171

176-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
177172
func testReportAccessibilityIdentifierTrue() {
178173
SentrySDK.start {
179174
$0.removeAllIntegrations()
@@ -182,7 +177,6 @@ class SentryViewHierarchyIntegrationTests: XCTestCase {
182177
XCTAssertTrue(SentryDependencyContainer.sharedInstance().viewHierarchyProvider.reportAccessibilityIdentifier)
183178
}
184179

185-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
186180
func testReportAccessibilityIdentifierFalse() {
187181
SentrySDK.start {
188182
$0.removeAllIntegrations()

Tests/SentryTests/SentryClientTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import XCTest
55
// swiftlint:disable file_length
66
// We are aware that the client has a lot of logic and we should maybe
77
// move some of it to other classes.
8-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
98
class SentryClientTests: XCTestCase {
109

1110
private static let dsn = TestConstants.dsnAsString(username: "SentryClientTest")
@@ -2231,7 +2230,6 @@ class SentryClientTests: XCTestCase {
22312230
}
22322231
}
22332232

2234-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
22352233
private extension SentryClientTests {
22362234
private func givenEventWithDebugMeta() -> Event {
22372235
let event = Event(level: SentryLevel.fatal)

Tests/SentryTests/SentryCrash/SentryCrashInstallationReporterTests.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class SentryCrashInstallationReporterTests: XCTestCase {
1414
sut.uninstall()
1515
}
1616

17-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
1817
func testReportIsSentAndDeleted() throws {
1918
givenSutWithStartedSDK()
2019

@@ -31,7 +30,6 @@ class SentryCrashInstallationReporterTests: XCTestCase {
3130
/**
3231
* Validates that handling a crash report with the removed fields total_storage and free_storage works.
3332
*/
34-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
3533
func testShouldCaptureCrashReportWithLegacyStorageInfo() throws {
3634
givenSutWithStartedSDK()
3735

@@ -50,7 +48,6 @@ class SentryCrashInstallationReporterTests: XCTestCase {
5048
XCTAssertEqual(event?.context?["device"]?["storage_size"] as? Int, 994_662_584_320)
5149
}
5250

53-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
5451
func testShouldCaptureCrashReportWithoutDeviceContext() throws {
5552
givenSutWithStartedSDK()
5653

@@ -68,7 +65,6 @@ class SentryCrashInstallationReporterTests: XCTestCase {
6865
XCTAssertEqual(event?.context?["app"]?["app_name"] as? String, "iOS-Swift")
6966
}
7067

71-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
7268
func testFaultyReportIsNotSentAndDeleted() throws {
7369
givenSutWithStartedSDK()
7470

@@ -82,7 +78,6 @@ class SentryCrashInstallationReporterTests: XCTestCase {
8278
XCTAssertEqual(sentrycrash_getReportCount(), 0)
8379
}
8480

85-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
8681
private func givenSutWithStartedSDK() {
8782
let options = Options()
8883
options.dsn = TestConstants.dsnAsString(username: "SentryCrashInstallationReporterTests")

Tests/SentryTests/SentryCrash/SentryStacktraceBuilderTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ class SentryStacktraceBuilderTests: XCTestCase {
7676
)
7777
}
7878

79-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
8079
func testConcurrentStacktraces() throws {
8180
guard #available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) else {
8281
throw XCTSkip("Not available for earlier platform versions")
@@ -102,7 +101,6 @@ class SentryStacktraceBuilderTests: XCTestCase {
102101
wait(for: [waitForAsyncToRun], timeout: 10)
103102
}
104103

105-
@available(*, deprecated, message: "This is deprecated because SentryOptions integrations is deprecated")
106104
func testConcurrentStacktraces_noStitching() throws {
107105
guard #available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) else {
108106
throw XCTSkip("Not available for earlier platform versions")

0 commit comments

Comments
 (0)