Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Aug 2, 2023
1 parent b0c9058 commit 8e0cb3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion Sources/Sentry/include/HybridPublic/PrivateSentrySDKOnly.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#import "SentryAppStartMeasurement.h"
#import "SentryEnvelope.h"
#import "SentryEnvelopeItemType.h"
#import "SentryProfilingConditionals.h"
#import "SentryScreenFrames.h"

@class SentryDebugMeta, SentryAppStartMeasurement, SentryScreenFrames, SentryOptions,
Expand Down
6 changes: 4 additions & 2 deletions Tests/SentryTests/PrivateSentrySDKOnlyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ class PrivateSentrySDKOnlyTests: XCTestCase {
XCTAssertEqual(PrivateSentrySDKOnly.options.enabled, true)
}

#if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)

#if !os(tvOS) && !os(watchOS)
/**
* Smoke Tests profiling via PrivateSentrySDKOnly. Actual profiling unit tests are done elsewhere.
*/
Expand Down Expand Up @@ -149,6 +148,9 @@ class PrivateSentrySDKOnlyTests: XCTestCase {
XCTAssertNotNil(profile?["stacks"])
XCTAssertNotNil(profile?["frames"])
}
#endif

#if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)

func testIsFramesTrackingRunning() {
XCTAssertFalse(PrivateSentrySDKOnly.isFramesTrackingRunning)
Expand Down

0 comments on commit 8e0cb3d

Please sign in to comment.