Skip to content

Commit a19cd41

Browse files
committed
ref: Wrap SentryDispatchQueueWrapper in Swift
1 parent 2b02431 commit a19cd41

File tree

52 files changed

+83
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+83
-46
lines changed

Sentry.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@
10701070
FA67DD182DDBD4EA00896B02 /* UIImageHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA67DCED2DDBD4EA00896B02 /* UIImageHelper.swift */; };
10711071
FA67DD192DDBD4EA00896B02 /* SwizzleClassNameExclude.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA67DCD52DDBD4EA00896B02 /* SwizzleClassNameExclude.swift */; };
10721072
FA8A36182DEAA1EB0058D883 /* SentryThread+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = FA8A36172DEAA1EB0058D883 /* SentryThread+Private.h */; };
1073+
FA8E58F12E0AD4270049F69D /* SentryDispatchQueueWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */; };
10731074
FA90FAFD2E070A3B008CAAE8 /* SentryURLRequestFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */; };
10741075
FAEC270E2DF3526000878871 /* SentryUserFeedback.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAEC270D2DF3526000878871 /* SentryUserFeedback.swift */; };
10751076
FAEC273D2DF3933A00878871 /* NSData+Unzip.m in Sources */ = {isa = PBXBuildFile; fileRef = FAEC273C2DF3933200878871 /* NSData+Unzip.m */; };
@@ -2321,6 +2322,7 @@
23212322
FA67DCEF2DDBD4EA00896B02 /* URLSessionTaskHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionTaskHelper.swift; sourceTree = "<group>"; };
23222323
FA67DCF22DDBD4EA00896B02 /* SwiftDescriptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftDescriptor.swift; sourceTree = "<group>"; };
23232324
FA8A36172DEAA1EB0058D883 /* SentryThread+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryThread+Private.h"; path = "include/SentryThread+Private.h"; sourceTree = "<group>"; };
2325+
FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapper.swift; sourceTree = "<group>"; };
23242326
FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryURLRequestFactory.swift; sourceTree = "<group>"; };
23252327
FAEC270D2DF3526000878871 /* SentryUserFeedback.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryUserFeedback.swift; sourceTree = "<group>"; };
23262328
FAEC273C2DF3933200878871 /* NSData+Unzip.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSData+Unzip.m"; sourceTree = "<group>"; };
@@ -2456,6 +2458,7 @@
24562458
621D9F2D2B9B030E003D94DE /* Helper */ = {
24572459
isa = PBXGroup;
24582460
children = (
2461+
FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */,
24592462
84B0E0062CD963F9007FB332 /* SentryIconography.swift */,
24602463
621F61F02BEA073A005E654F /* SentryEnabledFeaturesBuilder.swift */,
24612464
);
@@ -5584,6 +5587,7 @@
55845587
D859697327BECDD20036A46E /* SentryCoreDataSwizzling.m in Sources */,
55855588
639889BD1EDED18400EA7442 /* SentrySwizzle.m in Sources */,
55865589
8453421228BE855D00C22EEC /* SentrySampleDecision.m in Sources */,
5590+
FA8E58F12E0AD4270049F69D /* SentryDispatchQueueWrapper.swift in Sources */,
55875591
7B7D872E2486482600D2ECFF /* SentryStacktraceBuilder.m in Sources */,
55885592
861265FA2404EC1500C4AFDE /* NSArray+SentrySanitize.m in Sources */,
55895593
D802994E2BA836EF000F0081 /* SentryOnDemandReplay.swift in Sources */,

SentryTestUtils/TestDispatchFactory.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import _SentryPrivate
22
import Foundation
3+
@testable import Sentry
34

45
public class TestDispatchFactory: SentryDispatchFactory {
56
public var vendedSourceHandler: ((TestDispatchSourceWrapper) -> Void)?

SentryTestUtilsTests/TestDispatchFactoryTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@testable import Sentry
12
@testable import SentryTestUtils
23
import XCTest
34

Sources/Sentry/Profiling/SentryContinuousProfiler.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#if SENTRY_TARGET_PROFILING_SUPPORTED
44

55
# import "SentryDependencyContainer.h"
6-
# import "SentryDispatchQueueWrapper.h"
76
# import "SentryLog.h"
87
# import "SentryMetricProfiler.h"
98
# import "SentryNSNotificationCenterWrapper.h"

Sources/Sentry/Profiling/SentryLaunchProfiling.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# import "SentryContinuousProfiler.h"
66
# import "SentryDependencyContainer.h"
7-
# import "SentryDispatchQueueWrapper.h"
87
# import "SentryFileManager.h"
98
# import "SentryInternalDefines.h"
109
# import "SentryLaunchProfiling.h"

Sources/Sentry/Profiling/SentryProfiledTracerConcurrency.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# include <mutex>
1212

1313
# import "SentryDependencyContainer.h"
14-
# import "SentryDispatchQueueWrapper.h"
1514
# import "SentryEvent+Private.h"
1615
# import "SentryHub+Private.h"
1716
# import "SentryInternalDefines.h"

Sources/Sentry/Profiling/SentryProfilerState.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# import "SentryAsyncSafeLog.h"
44
# import "SentryBacktrace.hpp"
55
# import "SentryDependencyContainer.h"
6-
# import "SentryDispatchQueueWrapper.h"
76
# import "SentryFormatter.h"
87
# import "SentryProfileTimeseries.h"
98
# import "SentrySample.h"

Sources/Sentry/Profiling/SentryTraceProfiler.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#if SENTRY_TARGET_PROFILING_SUPPORTED
44

55
# import "SentryDependencyContainer.h"
6-
# import "SentryDispatchQueueWrapper.h"
76
# import "SentryLog.h"
87
# import "SentryMetricProfiler.h"
98
# import "SentryNSTimerFactory.h"

Sources/Sentry/SentryANRTrackerV1.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#import "SentryANRTrackerV1.h"
22
#import "SentryCrashWrapper.h"
33
#import "SentryDependencyContainer.h"
4-
#import "SentryDispatchQueueWrapper.h"
54
#import "SentryLog.h"
65
#import "SentrySwift.h"
76
#import "SentryThreadWrapper.h"

Sources/Sentry/SentryANRTrackerV2.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# import "SentryCrashWrapper.h"
66
# import "SentryDependencyContainer.h"
7-
# import "SentryDispatchQueueWrapper.h"
87
# import "SentryFramesTracker.h"
98
# import "SentryLog.h"
109
# import "SentrySwift.h"

0 commit comments

Comments
 (0)