Skip to content

Commit 9ce2dcc

Browse files
committed
Wrap FPRCounterListTest in #ifdef UNSWIZZLE_AVAILABLE
1 parent 34d5eca commit 9ce2dcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#import "FirebasePerformance/Sources/Public/FirebasePerformance/FIRPerformance.h"
2020
#import "FirebasePerformance/Sources/Timer/FPRCounterList.h"
2121

22+
// This test requires the UNSWIZZLE_AVAILABLE preprocessor macro to be defined in order to complete
23+
// successfully. See FPRSelectorInstrumentor.m for more details.
24+
#ifdef UNSWIZZLE_AVAILABLE
25+
2226
@interface FPRCounterListTest : XCTestCase
2327

2428
@end
@@ -162,3 +166,5 @@ - (void)testCounterInitializeWithNegativeValue {
162166
}
163167

164168
@end
169+
170+
#endif // UNSWIZZLE_AVAILABLE

0 commit comments

Comments
 (0)