Skip to content

Commit

Permalink
Added unit test protocol comment for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jtung-apple committed Sep 21, 2023
1 parent c1fa475 commit 0c07fd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,12 @@ @interface MTRDevice ()

@end

// Declaring selector so compiler won't complain about testing and calling it in _handleReportEnd
#ifdef DEBUG
@protocol MTRDeviceUnitTestDelegate <MTRDeviceDelegate>
- (void)unitTestReportEndForDevice:(MTRDevice *)device;
@end
#endif

@implementation MTRDevice

Expand Down

0 comments on commit 0c07fd4

Please sign in to comment.