Skip to content

Commit

Permalink
Wrap FPRCounterListTest in #ifdef UNSWIZZLE_AVAILABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Nov 19, 2024
1 parent 34d5eca commit 9ce2dcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
#import "FirebasePerformance/Sources/Public/FirebasePerformance/FIRPerformance.h"
#import "FirebasePerformance/Sources/Timer/FPRCounterList.h"

// This test requires the UNSWIZZLE_AVAILABLE preprocessor macro to be defined in order to complete
// successfully. See FPRSelectorInstrumentor.m for more details.
#ifdef UNSWIZZLE_AVAILABLE

@interface FPRCounterListTest : XCTestCase

@end
Expand Down Expand Up @@ -162,3 +166,5 @@ - (void)testCounterInitializeWithNegativeValue {
}

@end

#endif // UNSWIZZLE_AVAILABLE

0 comments on commit 9ce2dcc

Please sign in to comment.